agentleFS
tonmoy007tonmoy007/forge-plugins/skills/forge-srs-pro/SKILL.md

forge-srs-pro

Skill2 starsChanged 5 months agoMITView on GitHub

Run Stage 1 of the Forge pipeline — Requirements Engineering (Pro tier). Use when the user invokes /forge:srs-pro, wants the enterprise-grade requirements workflow, create or refine an SRS, or begin a new Forge project with the Pro persona set. Orchestrates the Requirements Analyst Pro persona.

The file

Show its rules and text

We split this skill into the rules it gives an agent

23 rules. About 0 are common, 19 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈19

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not duplicate responsibilities across these components.

    line 55
  2. Distinctive:

    Before loading the persona, verify that Stage 1 may execute:

    line 63
  3. Distinctive:

    If the command exits non-zero, display the returned message verbatim, stop execution, and do not adopt the persona.

    line 69
  4. Distinctive:

    If the current project is already beyond Stage 1, inform the user that Stage 1 has already been completed.

    line 75
  5. Distinctive:

    Never overwrite existing Stage 1 artifacts without confirmation.

    line 77
  6. Distinctive:

    If the project is already in Stage 1, continue in refinement mode.

    line 79
  7. Very specific:

    Read agents/requirements-analyst-pro.md, adopt the Requirements Analyst Pro persona, and follow its Reference Loading Protocol exactly.

    line 99
  8. Distinctive:

    If an existing SRS exists, perform an incremental refinement unless the user explicitly requested complete regeneration.

    line 119
  9. Distinctive:

    Before advancing the pipeline, verify the generated artifacts.

    line 125
  10. Very specific:

    Verify pipeline/01-srs/srs.md and pipeline/01-srs/requirements-traceability.md exist.

    line 129
  11. Very specific:

    If generated, verify stakeholder-map.md, glossary.md, domain-model.md.

    line 133
  12. Distinctive:

    Verify the generated SRS satisfies the Output Contract defined by the Requirements Analyst.

    line 137
  13. Distinctive:

    Verify unique identifiers exist for: BG, REQ-F, REQ-NF, REQ-RULE, CON, ASM, DEP, RISK, Q.

    line 143
  14. Distinctive:

    Verify every Business Goal owns one or more Requirements.

    line 151
  15. Distinctive:

    Verify Stage 1 contains only business artifacts.

    line 161
  16. Distinctive:

    If implementation artifacts are detected, fail verification.

    line 165
  17. Distinctive:

    If verification fails: report the failures, identify affected artifacts, do not advance the pipeline, request additional user input only if …

    line 171
  18. Distinctive:

    If advancement fails, display the returned message verbatim and stop execution.

    line 183
  19. Very specific:

    Verify pipeline/01-srs/srs.md exists.

    line 189
  20. Distinctive:

    Do not summarize the SRS unless requested.

    line 197
  21. Distinctive:

    Before leaving Stage 1, verify that Stage 2 has every required input.

    line 203
  22. Distinctive:

    If required artifacts are missing, block progression.

    line 209
  23. Distinctive:

    Never hardcode stage transitions.

    line 215

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/forge:srs-pro — Requirements Engineering (Pro)

Aliases

  • /forge:srs-pro
  • /forge:requirements-pro (informal alias some users may type)

Purpose

This skill orchestrates Stage 1 of the Forge SDLC pipeline.

It is responsible only for: Pipeline validation, Stage gating, Project profile loading, Persona loading, Persona execution, Artifact verification, Pipeline state progression, Next-stage guidance.

This skill does not perform requirements analysis itself. All business analysis, requirement elicitation, clarification, validation, traceability, prioritization, and SRS generation are owned exclusively by agents/requirements-analyst-pro.md.


When to Use

Invoke this skill when:

  • The user enters /forge:srs-pro
  • The user wants to define software requirements, refine an SRS, or describe what should be built
  • The user is starting a new Forge project
  • The current project is at Stage 0 or Stage 1

Stage Responsibilities

ComponentOwns
This skillOrchestration
Requirements AnalystBusiness knowledge
VerifierArtifact validation
State ManagerPipeline progression

Do not duplicate responsibilities across these components.


Pre-flight Check

Entry Gate

Before loading the persona, verify that Stage 1 may execute:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py preflight --stage 1

If the command exits non-zero, display the returned message verbatim, stop execution, and do not adopt the persona.


Existing Stage Handling

If the current project is already beyond Stage 1, inform the user that Stage 1 has already been completed. Ask whether they want to revise, regenerate, or leave unchanged.

Never overwrite existing Stage 1 artifacts without confirmation.

If the project is already in Stage 1, continue in refinement mode.


Load Project Profile

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/load-profile.py --cwd . --stage 1

Load any project-type overrides (additional requirement categories, validation rules, artifacts, skipped sections, domain-specific concerns, compliance requirements).

These overrides extend the Requirements Analyst. They never replace it.


Execute Stage

Load Persona

Read agents/requirements-analyst-pro.md, adopt the Requirements Analyst Pro persona, and follow its Reference Loading Protocol exactly. The following files are mandatory agent instructions:

references/srs/01-foundation.md
references/srs/02-requirement-elicitation.md
references/srs/03-quality-constraints-risk.md
references/srs/04-traceability-validation.md
references/srs/05-workflow-governance.md

Load each reference when the agent requires it and load all five before final validation or completion. Do not omit, summarize away, substitute, or weaken a reference instruction.


Execute Persona

Execute the persona exactly as written. The persona is the authoritative definition of clarification, business analysis, requirement extraction, validation, prioritization, traceability, artifact generation, and web research.

Apply any project profile overrides loaded during pre-flight.

If an existing SRS exists, perform an incremental refinement unless the user explicitly requested complete regeneration.


Verification

Before advancing the pipeline, verify the generated artifacts.

Required Artifacts

Verify pipeline/01-srs/srs.md and pipeline/01-srs/requirements-traceability.md exist.

Optional Artifacts

If generated, verify stakeholder-map.md, glossary.md, domain-model.md.

Artifact Validation

Verify the generated SRS satisfies the Output Contract defined by the Requirements Analyst. At minimum verify: Business Goals, Functional Requirements, Non-functional Requirements, Business Rules, Constraints, Assumptions, Dependencies, Risks, Success Criteria, Open Questions, Requirement Priorities, Requirements Traceability Summary.


Identifier Validation

Verify unique identifiers exist for: BG, REQ-F, REQ-NF, REQ-RULE, CON, ASM, DEP, RISK, Q.

Identifiers shall be unique, sequential, and deterministic.


Traceability Validation

Verify every Business Goal owns one or more Requirements. Every Requirement references one or more Business Goals.

Verify pipeline/01-srs/requirements-traceability.md exists.

Fail verification if orphan Business Goals exist, orphan Requirements exist, duplicate mappings exist, or invalid mappings exist.


Stage Ownership Validation

Verify Stage 1 contains only business artifacts.

Stage 1 SHALL NOT generate: user stories, epics, capabilities, features, user flows, screens, components, APIs, database schemas, architectures, technical specifications, source code.

If implementation artifacts are detected, fail verification.


Validation Result

If verification fails: report the failures, identify affected artifacts, do not advance the pipeline, request additional user input only if required.


Advance Pipeline State

Advance only after successful verification:

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py advance --to 1

If advancement fails, display the returned message verbatim and stop execution.


Final Validation

Verify pipeline/01-srs/srs.md exists. Verify pipeline/01-srs/requirements-traceability.md exists. Verify pipeline/state.md shows current_stage: 1.


Completion Report

Provide a concise completion report including: Business Goals, Functional Requirements, Non-functional Requirements, Business Rules, Constraints, Assumptions, Dependencies, Risks, Open Questions, Validation Result, Traceability Result, Optional Artifacts Generated.

Do not summarize the SRS unless requested.


Next Stage Readiness

Before leaving Stage 1, verify that Stage 2 has every required input.

Required: pipeline/01-srs/srs.md, pipeline/01-srs/requirements-traceability.md

Optional: stakeholder-map.md, glossary.md, domain-model.md

If required artifacts are missing, block progression.


Next Step

Never hardcode stage transitions.

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/state-manager.py next-hint --stage 1

Present the command output verbatim.


Orchestration Rules

This skill SHALL: orchestrate Stage 1 only, use the Requirements Analyst as the single source of truth, honor project profile overrides, preserve existing identifiers during refinement, verify artifact ownership, verify traceability, verify required artifacts, block progression on validation failure, preserve incremental updates where possible.

This skill SHALL NOT: redefine business requirements, duplicate the Requirements Analyst workflow, invent requirements, bypass validation, advance the pipeline on failure, overwrite existing artifacts without confirmation, generate implementation artifacts.

The Requirements Analyst remains the authoritative definition of Requirements Engineering. This skill exists solely to orchestrate its execution.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.