/tecnologia-morelos-workflow:spec [project-name]from tecnologia-morelos-workflow
Generate specification documents for a project: PRD, Functional Spec, Quality Requirements, Privacy Impact Assessment, and Definition of Done (draft). Requires an approved Discovery Report (Gate 1 prerequisite).
Ships in tecnologia-morelos-workflow. 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.
Use kb-read to:
If it doesn't exist, inform the user:
"The Discovery Report for [project] doesn't exist yet. Run the discover skill first to complete Gate 1 prerequisites."
Read the Discovery Report to extract:
Also read:
Generate each document using the corresponding template as structural reference. All content must be derived from the Discovery Report findings.
Template: templates/prd.md
Translate discovery findings into product requirements. Each requirement must trace back to a finding or stakeholder need.
Template: templates/functional-spec.md
Detail how the system will behave. Use cases must cover the scope defined in the PRD. Include error scenarios.
Template: templates/quality-requirements.md
Define non-functional requirements based on the project context. Be specific with measurable targets (e.g., "response time < 2s for 95th percentile").
Template: templates/privacy-impact-assessment.md
Only generate if the project handles personal data. If it doesn't, note this in the output and skip.
Must reference LGPDPPSO (Ley General de Protección de Datos Personales en Posesión de Sujetos Obligados) and applicable state regulations.
Template: templates/definition-of-done.md
Generate a draft DoD. This will be finalized in Phase 2 after architecture decisions are made.
Present all generated documents to the user. For each document, ask:
Present documents one at a time or as a batch, based on user preference.
Do NOT publish until the user explicitly approves.
After approval, delegate publishing to the kb-publish skill:
| Document | Location in TM | Type |
|---|---|---|
| PRD | [KB]/Fase 1 — Discovery & Spec/PRD | PAGE |
| Functional Spec | [KB]/Fase 1 — Discovery & Spec/Functional Spec | PAGE |
| Quality Requirements | [KB]/Fase 1 — Discovery & Spec/Quality Requirements | PAGE |
| Privacy Impact Assessment | [KB]/Fase 1 — Discovery & Spec/Privacy Impact Assessment | PAGE |
| Definition of Done (draft) | [KB]/Fase 1 — Discovery & Spec/Definition of Done (draft) | PAGE |
What SKILL.md sets; muted values are Claude Code's defaults
User says 'write specs', 'create PRD', 'requirements document', 'functional spec'
Other plugins' skills for the same job
14 skills in this plugin
/adrCreate Architecture Decision Records (ADRs) for any project decision. Can be invoked at any gate or phase. Assigns sequential numbers, categorizes decisions, and publishes to TM under the ADRs/ folder.
/charterGate 0 skill. Generates the three foundational documents for a new project: Project Charter, Statement of Work (SOW), and Acerca de (About page). Checks TM for existing documents before creating, presents drafts for human review, and publishes to TM after approval.
/discoverInvestigate a project to produce a Discovery Report and draft Glossary. Researches context, stakeholders, systems, and risks. Outputs go into the "Fase 1 — Discovery & Spec" folder in TM.
npx claudepluginhub atd-morelos/tecnologia-morelos-workflow --plugin tecnologia-morelos-workflow