/sdlc-documentation:01-initialize-srsfrom sdlc-documentation
Creates an IEEE-structured SRS workspace for a business system or module, including identifiers, source context, and Royce's canonical documentation plan. Use when starting a new Waterfall requirements specification.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
[MISSING FILE FALLBACK] This skill references auxiliary files (
logic.prompt, Python scripts) for automated execution. If those files are unavailable in your environment, Claude can execute this skill directly:
- Read all files in
projects/<ProjectName>/_context/- Follow the step-by-step instructions in the Manual Execution section below (or ask Claude to generate the relevant SRS section by describing the context inline)
- Write output to
projects/<ProjectName>/02-requirements-engineering/01-srs/<section-file>.mdThis skill is fully executable without Python or logic.prompt by providing context directly to Claude.
Royce's original paper explicitly states the basic sequential waterfall (analysis → design → coding → testing) "is risky and invites failure." His real contribution was five corrective steps that all must be present for waterfall to succeed. Consultants must verify all five are planned before proceeding.
| Step | Requirement | Status Check |
|---|---|---|
| 1. Design First | Preliminary program design (storage, timing, interfaces) must exist BEFORE analysis begins | _context/ must include architecture constraints in tech_stack.md |
| 2. Document Everything | Documentation IS the design. "If the documentation does not yet exist there is as yet no design." | All 6 Royce canonical docs must be planned |
| 3. Do It Twice | Build a pilot/prototype first. Delivered version should be the second version | Pilot plan should exist in 01-strategic-vision/ |
| 4. Plan Testing Early | Test planning starts at Program Design phase, not at the testing phase | Test Strategy should be initiated during Phase 03 Design |
| 5. Involve the Customer | Three formal review gates: PSR (after prelim design), CSR (during design), FSAR (after testing) | Review gate dates must be in project schedule |
Royce's 6 Canonical Documents (all must exist at delivery):
SRS_Draft.docx (this pipeline)HLD.docx (Phase 03)APISpec.docx + DatabaseDesign.docx (Phase 03)LLD.docx updated after coding (Phase 03/04)TestPlan.docx + TestReport.docx (Phase 05)UserManual.docx + DeploymentGuide.docx (Phase 06/08)Initialised SRS workspace and manifest is the next lifecycle deliverable.context-engineering when that neighbouring route owns the decision or deliverable.| Artefact | Source or provider | Required? | Behaviour when missing |
|---|---|---|---|
| Project brief, methodology decision, context files, standards profile, and repository path | Sponsor, project context, and methodology selection | Yes | Stop the affected step, name the missing source, and return only a qualified gap record. |
Initialised SRS workspace and manifest.| Artefact | Consumer | Acceptance condition |
|---|---|---|
| Initialised SRS workspace and manifest | Context engineering and requirements authors | Required sections are populated, source links resolve, and every material requirement or decision has an observable review or test oracle. |
| Evidence | Reviewer | Acceptance condition |
|---|---|---|
Source, decision, trace, and validation record for Initialised SRS workspace and manifest | Requirements quality reviewer | Inputs used, decisions made, checks run, failures, and unassessed items are explicit. |
Read and search are required. Editing is allowed only when the request authorises creation or repair of the named requirements artefact. Publishing, production mutation, destructive action, spending, and certification require explicit authority.
Fallback: if a required file, reviewer, standard source, network check, renderer, or execution capability is unavailable, return the narrowest useful qualified result and mark the affected check not assessed; never convert an unassessed check into a pass.
| Choice or condition | Action | Failure or risk avoided |
|---|---|---|
| The methodology, project identity, or source-of-truth path is unresolved | Stop initialisation and record the missing decision. | An SRS created in the wrong structure or project. |
| Required inputs and test oracles are complete | Continue through the existing workflow and record evidence. | A deliverable whose acceptance cannot be reproduced. |
| A mandatory source or owner is missing | Stop the affected branch and issue a qualified gap record. | Fabricated context or unauthorised decisions. |
Initialised SRS workspace and manifest and its acceptance checks.Initialised SRS workspace and manifest from assumed context. Fix: cite the project source or mark the scope blocked.context-engineering without routing the decision. Fix: hand off the named input and preserve trace links.not assessed and state the release consequence._context/business_rules.md with a TODO for the document type register (section 3) and the glossary with its terms (section 2).Use this skill to bootstrap the parent project with industrial templates that capture vision, features, technology constraints, business rules, quality standards, and glossary definitions before running any other SRS skills. The skill provides an automation script plus template guidance so Claude can reliably seed projects/<ProjectName>/_context/ and projects/<ProjectName>/<phase>/<document>/.
projects/<ProjectName>/_context/ with six templates (vision, features, tech stack, business rules, quality standards, glossary).projects/<ProjectName>/<phase>/<document>/ exists before downstream IEEE/ISO skills execute.CRITICAL: Do NOT generate, invent, or assume any requirements, stakeholder names, features, or system behaviors that are not explicitly present in the
_context/files. If a context file is empty or a required field is missing, halt and prompt the consultant to fill it in rather than making assumptions. Flag every gap with[CONTEXT-GAP: <file> is missing <field>]. This engine is a grounding tool, not a generation tool — all content must trace to stakeholder-provided context. (Derived from hallucination mitigation guidance: Kodukula & Vinueza, 2024)
python init_skill.py from this directory or call the logic.prompt via your skill runner.projects/<ProjectName>/_context/. Offer Maintenance Mode (add missing templates) or Clean (delete and reseed). Maintenance Mode must never overwrite user edits.projects/<ProjectName>/<phase>/<document>/ if missing so downstream skills always find a writeable folder.templates/. Each template embeds Expert Guidance comments, SHALL/MUST phrasing, and aligned Markdown tables. Log every directory action and template copy/skip with explicit paths (e.g., projects/<ProjectName>/_context/vision.md).README.md: Skill description, ISO/IEC alignment, template list, and references.init_skill.py: Python automation that handles directory checks, Maintenance/Clean mode, template copying, and logging.logic.prompt: LLM instructions describing the desired behavior, standards references, and logging needs.templates/: Six industrial templates (vision.md, features.md, tech_stack.md, business_rules.md, quality_standards.md, glossary.md). Each contains Expert Guidance comments and placeholders for measurable data.quality_standards.md or glossary definitions undermines ISO/IEC alignment; keep those sections updated with traceable references.examples/representative/README.md (opens in a new tab)examples/representative/expected-output/0-skeleton.md (opens in a new tab)examples/representative/inputs/stakeholders.md (opens in a new tab)examples/representative/inputs/vision.md (opens in a new tab)init_skill.py (opens in a new tab)templates/features.md (opens in a new tab)templates/glossary.md (opens in a new tab)templates/quality_standards.md (opens in a new tab)templates/vision.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-prd-generationUse when converting approved discovery evidence into a traceable PRD with objectives, prioritised features, success measures, constraints, and release scope; use vision-statement for the strategic north star and lean-canvas while assumptions still need testing.Other plugins' skills for the same job