From tecnologia-morelos-workflow
Gate 2 skill. Generates architecture and technical documentation based on Phase 1 outputs (PRD, Functional Spec). Uses arc42 as framework. Produces: Architecture Overview, Crosscutting Concepts, Security/Threat Model, Testing Strategy, Risks & Technical Debt, Measurement/KPIs, API Reference, and Definition of Done (final). Publishes to TM after approval.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tecnologia-morelos-workflow:documentThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- User asks to document the architecture of a project
kb-read → documentTemplates are in templates/ as reference. Generate content adapted to the
specific project — do not copy templates verbatim.
kb-read: search for "[Project Name]" in TM
→ Verify "Fase 1 — Discovery & Spec" folder exists
→ Verify PRD and Functional Spec exist
→ If missing, inform user and stop
Read these documents from TM for context:
Generate each document using the corresponding template as structure reference. Order matters — later documents reference earlier ones:
Architecture Overview (templates/architecture-overview.md)
Crosscutting Concepts (templates/crosscutting-concepts.md)
Security / Threat Model (templates/security-threat-model.md)
Testing Strategy (templates/testing-strategy.md)
Risks & Technical Debt (templates/risks-technical-debt.md)
Measurement / KPIs (templates/measurement-kpis.md)
API Reference (templates/api-reference.md)
Definition of Done (final) (base template: ../spec/templates/definition-of-done.md)
Present all documents to the user. Ask:
Do NOT publish until the user explicitly approves.
After approval:
PAGE for all except API Reference (API_REFERENCE)| Document | Location in TM | Type |
|---|---|---|
| Architecture Overview | [KB]/Fase 2 — Design & Plan/Architecture Overview | PAGE |
| Crosscutting Concepts | [KB]/Fase 2 — Design & Plan/Crosscutting Concepts | PAGE |
| Security / Threat Model | [KB]/Fase 2 — Design & Plan/Security / Threat Model | PAGE |
| Testing Strategy | [KB]/Fase 2 — Design & Plan/Testing Strategy | PAGE |
| Risks & Technical Debt | [KB]/Fase 2 — Design & Plan/Risks & Technical Debt | PAGE |
| Measurement / KPIs | [KB]/Fase 2 — Design & Plan/Measurement / KPIs | PAGE |
| API Reference | [KB]/Fase 2 — Design & Plan/API Reference | API_REFERENCE |
| Definition of Done (final) | [KB]/Fase 2 — Design & Plan/Definition of Done (final) | PAGE |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub atd-morelos/tecnologia-morelos-workflow --plugin tecnologia-morelos-workflow