Skip to content

v0.1 — Methodological SDLC Documentation Framework

Latest

Choose a tag to compare

@arousi arousi released this 04 Dec 20:27
3edda2a

v0.1 — Methodological SDLC Documentation Framework

Initial release of Awesome SWE Methodology Docs (awesome-metho-docs), a self-contained, traceable software engineering documentation framework and repository template spanning the full Software Development Life Cycle (SDLC).


Architecture: Two-Axis Repository Layout

Every project documented with this template is organized along two complementary axes:

  1. 7-Phase SDLC Directory Hierarchy (0-planning/ – 6-testing/) — phase registries and cross-cutting governance artifacts:
    • 0-planning/: Project Charter.md, Stakeholders.md, Milestones.md, Risks.md, Decisions.md, and Issues.md.
    • 1-analysis/: Analysis.md — intake & normalization, candidate classification (FR / UC / NFR / Gap / Entity), ambiguity log, MoSCoW + INVEST checks, and traceability preview.
    • 2-requirements/: FRs.md (FRs.ods), UCs.md (UCs.ods), NFRs.md (NFR-1..NFR-9 project catalog), and README.md.
    • 3-ux/: Screens.md (UI registry), Personas.md, UserFlows.md, DesignSystem.md, Accessibility.md, UsabilityTests.md, and Wireframes/.
    • 4-design/: Entities.md (cross-module DDT registry), Full-DB-Schema.md, and Diagrams/ (ERD, sequence, state, activity, architecture + render-check.sh).
    • 5-implementation/: Traceability.md — roll-up mapping from Approved requirements to design components, implementing code/PR references, and test cases.
    • 6-testing/: TestCases.md — verification registry (TC-<Area>-NNN) linked back to FR, UC, and UI IDs.
  2. Module Detail Folders (modules/<Module>/) — cohesive per-module specifications (FR-*.md, UC-*.md, UI-*.md, and Entities.md) linked directly from the phase registries.
  3. Worked Example (example/) — complete Identity & Billing sample project demonstrating end-to-end linkage across FR-ID-001, FR-ID-002, FR-BI-001, UC-ID-Login, UC-BI-ViewInvoice, UI-ID-001, ENT-ID-001, ENT-ID-002, and TC-Login-001..003.

Traceability Spine & Canonical Schema (SCHEMA.md, LIFECYCLE.md)

  • Reciprocal End-to-End Traceability:
    Charter Scope -> Analysis Candidate (AN-*) -> FR / UC (+ NFR refs) -> Screen (UI-*) -> Entity / Diagram (ENT-*) -> Design Component / Code & PR Ref -> Test Case (TC-*)
  • Strict File-to-ID Alignment: One major artifact per file with matching filenames (FR-<DomainCode>-NNN.md, UC-<DomainCode>-NNN.md, UI-<DomainCode>-NNN.md) and append-only IDs.
  • Canonical Vocabulary:
    • Status: Draft | In Review | Approved | Deprecated (implementation progress is tracked via traceability links, never an Implemented status).
    • Priority: Must | Should | Could.
  • Structured Acceptance Criteria: Given/When/Then tables grounded in Equivalence Partitioning (EP), Boundary Value Analysis (BVA), Robustness Testing, and Decision Tables.

UML, ERD & Modeling Standards (ENTITY-GUIDE.md, 4-design/Diagrams/)

  • Entity Elicitation & Classification: Domain vs. non-domain elicitation gate, per-module Core / Column / Complementary classification, and attribute-level Data Dictionary Tables (Key (PK/FK/-), Data Type, Not Null (Y/N), Length, FK Table, Description).
  • Diagramming Conventions:
    • Crow's Foot ERDs (4-design/Diagrams/ERD/README.md) and explicit PlantUML relationship arrowheads (Association, Aggregation, Composition, Dependency, Generalization).
    • Mandatory companion UML state diagrams for status-bearing entities and 5-step sequence diagram derivation from Use Cases.
    • .puml / ASCII Separation + Render Gate: PlantUML sources live strictly in .puml files while Markdown documents carry human-readable ASCII diagrams; 4-design/Diagrams/render-check.sh validates every .puml via plantuml/plantuml CLI and fails if any .md contains inline @startuml blocks.

Standards Grounding, Workflow Guides & Automation

  • Engineering Standards (STANDARDS-REFERENCE.md, ANALYSIS-STANDARD.md, UX-STANDARD.md, QUALITY-GUIDE.md): Grounded in SWEBOK v4, ISO/IEC/IEEE 29148, ISO/IEC/IEEE 12207, ISO/IEC 25010, Cockburn Use Case templates, Shneiderman's Eight Golden Rules, Jakob's Law, and Fagan Inspection workflows.
  • Operational Playbooks (WORKFLOWS.md, PROMPTS.md, AGENTS.md, CLAUDE.md): Step-by-step guides for requirement intake, FR/UC authoring, entity modeling, gap analysis, and prompt patterns.
  • AI Agent Skills & CI Quality Gate:
    • .claude/skills/ (document-software-project orchestrator + doc-planning through doc-testing) and .claude/agents/ (9 phase & quality-review subagents).
    • .github/agents/ (16 domain & architecture agents), .github/prompts/, and .github/workflows/docs-quality.yml (Markdown lint + automated canonical Status/Priority and reciprocal FR <-> UC reference verification on PRs to main).