مفتوح المصدر · مفتوح المصدر · 2026
awesome-metho-docs
إطار توثيق منهجي لهندسة البرمجيات يحفظ المتطلبات ومخططات UML بجانب الشيفرة
SDLC · UML / ERD · Shell · Markdown

نظرة عامة والمشكلة الهندسية
يفشل التوثيق البرمجي غالباً لأحد سببين: إما أن تُحفظ المواصفات في ملفات منفصلة عن الشيفرة فتتقادم فور بدء التطوير، أو يتخلى الفريق عن كتابة المتطلبات والنمذجة نهائياً. وفي الحالتين تنقطع سلسلة التتبع بين أهداف العمل والمعمارية واختبارات القبول.
يعالج مشروع awesome-metho-docs هذه المشكلة عبر توفير إطار توثيق منهجي لهندسة البرمجيات يعيش داخل مستودع التحكم بالإصدارات جنباً إلى جنب مع الشيفرة المصدرية، جامعاً المتطلبات الوظيفية وحالات الاستخدام ومخططات UML/ERD ومصفوفات التتبع الإداري (PM Traceability).
المعمارية والقرارات التقنية
صُمم الإطار استناداً إلى المعايير الهندسية المعتمدة بدلاً من القوالب العشوائية:
- توثيق مبني على Markdown: كتابة مواصفات المتطلبات وحالات الاستخدام ومعايير القبول بصيغة نصية واضحة تضمن عدم الاحتكار، وسهولة تتبع الفروقات في Git، وتوافقاً تاماً مع أدوات سطر الأوامر والذكاء الاصطناعي.
- النمذجة المرئية (UML / ERD): دمج مخططات علاقات الكيانات والتسلسل والحالات والأنشطة بجانب معرفات المتطلبات لضمان وضوح المعمارية قبل البرمجة.
- أتمتة عبر Shell: توفير سكربتات Shell لتهيئة البنية التوثيقية والتحقق من اتساق الملفات عبر المشاريع دون الحاجة لمنصات ثقيلة.
- التتبع ثنائي الاتجاه مع إدارة المشاريع: ربط احتياجات العمل وحالات الاستخدام بالتصميم والاختبارات لمنع المتطلبات المهملة أو غير المختبرة.
دورة حياة البرمجيات وممارسات الجودة
يجسّد awesome-metho-docs مبدأ «المعمارية قبل الشيفرة» في هيكل مستودع جاهز للتطبيق:
- استمرارية من التحليل إلى التحقق: توحيد رحلة المتطلب من الاكتشاف والنمذجة حتى معايير القبول في مسار واحد واضح.
- قابلية المراجعة والتدقيق: كل تعديل على المتطلبات أو القرارات المعمارية يرتبط بسجل Git وتاريخ واضح للمراحل.
- إتاحة مفتوحة المصدر: منشور للعموم عبر arousi/awesome-metho-docs لمساعدة الفرق على تبنّي الصرامة الهندسية بتكلفة أدوات منخفضة.
التقنيات والمخرجات
| الطبقة | التقنية / المعيار | الوظيفة |
|---|---|---|
| صيغة التأليف | Markdown | وثائق SRS وحالات الاستخدام وجداول التتبع النصية |
| النمذجة الهندسية | UML / ERD | مخططات الكيانات والتسلسل وسير الأنظمة |
| الأتمتة | Shell | توليد الهياكل التوثيقية وفحص اتساق المستودع |
| المنهجية | SDLC (ISO 29148 / SWEBOK / PMBOK) | حوكمة هندسية وإدارية قائمة على المعايير |
أحدث إصدار: 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:
- 7-Phase SDLC Directory Hierarchy (
0-planning/–6-testing/) — phase registries and cross-cutting governance artifacts:0-planning/: ProjectCharter.md,Stakeholders.md,Milestones.md,Risks.md,Decisions.md, andIssues.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-9project catalog), andREADME.md.3-ux/:Screens.md(UI registry),Personas.md,UserFlows.md,DesignSystem.md,Accessibility.md,UsabilityTests.md, andWireframes/.4-design/:Entities.md(cross-module DDT registry),Full-DB-Schema.md, andDiagrams/(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 toFR,UC, andUIIDs.
- Module Detail Folders (
modules/<Module>/) — cohesive per-module specifications (FR-*.md,UC-*.md,UI-*.md, andEntities.md) linked directly from the phase registries. - Worked Example (
example/) — complete Identity & Billing sample project demonstrating end-to-end linkage acrossFR-ID-001,FR-ID-002,FR-BI-001,UC-ID-Login,UC-BI-ViewInvoice,UI-ID-001,ENT-ID-001,ENT-ID-002, andTC-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 anImplementedstatus). - Priority:
Must | Should | Could.
- Status:
- 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 / Complementaryclassification, 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.pumlfiles while Markdown documents carry human-readable ASCII diagrams;4-design/Diagrams/render-check.shvalidates every.pumlviaplantuml/plantumlCLI and fails if any.mdcontains inline@startumlblocks.
- Crow's Foot ERDs (
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-projectorchestrator +doc-planningthroughdoc-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 reciprocalFR <-> UCreference verification on PRs tomain).