OSS · OPEN SOURCE · 2026

awesome-metho-docs

Methodological SWE documentation framework keeping requirements and UML next to code

SDLC · UML / ERD · Shell · Markdown

GitHub | Release v0.1

awesome-metho-docs v0.1 two-axis SDLC pipeline, traceability matrix, and ERD showcase

Overview / Engineering Problem

Software documentation routinely fails in one of two ways: either specifications live in disconnected office files that rot the moment coding begins, or teams abandon formal requirements and modeling altogether. Both failure modes sever traceability between business intent, system architecture, and verification tests.

awesome-metho-docs solves this with a methodological software engineering documentation framework built to live directly inside version control alongside application code. It keeps functional requirements, use cases, UML/ERD diagrams, and project management (PM) traceability co-located, diffable, and reviewable in Git.

Docs-as-Code Philosophy: Treating specifications, diagrams, and traceability matrices as first-class repository artifacts allows documentation to evolve under the same pull-request discipline as production code.

Architecture & Technical Decisions

The framework is structured around standard engineering bodies of knowledge rather than ad-hoc templates:

  • Markdown-First Specification Structure: Authoring functional requirements, use cases, and acceptance criteria in plain Markdown ensures zero vendor lock-in, clean Git diffs, and effortless AI/CLI tooling integration.
  • Visual Modeling Integration (UML / ERD): Embeds Entity-Relationship, Sequence, State-Transition, and Activity modeling conventions directly next to requirement IDs so architectural intent precedes implementation.
  • Shell Automation Utilities: Includes Shell scripting to scaffold, validate, and maintain consistent documentation structures across repositories without heavyweight proprietary platforms.
  • Bidirectional PM Traceability: Connects business requirements, use cases, architectural models, and verification artifacts so nothing is orphaned or untracked.
Standards Grounding: Aligns with established engineering references—PMBOK, SWEBOK, ISO/IEC/IEEE 29148, OMG UML 2.5, MoSCoW/INVEST prioritization, and Given/When/Then acceptance criteria.

SDLC & Quality Practices

awesome-metho-docs codifies the "architecture before code" standard into a repeatable repository layout:

  1. Discovery to Verification Continuity: Bridges stakeholder requirements, domain modeling, and acceptance testing within one unified directory convention.
  2. Auditability & Reviewability: Every requirement edit or architectural decision leaves an explicit Git history tied to commits and milestones.
  3. Open-Source Reusability: Published openly at arousi/awesome-metho-docs for engineering teams seeking structured SDLC rigor without tooling overhead.

Stack & Deliverables

Layer Technology / Standard Role
Authoring Format Markdown Plain-text SRS, use cases, and traceability tables
Modeling UML / ERD Structural, behavioral, and relational system blueprints
Automation Shell Repository scaffolding and structure consistency checks
Methodology SDLC (ISO 29148 / SWEBOK / PMBOK) Standards-based engineering and PM governance

Latest Release: v0.1 — Methodological SDLC Documentation Framework (v0.1)

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).