From tecnologia-morelos-workflow
Create 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tecnologia-morelos-workflow:adrThis 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 wants to record an important decision about the project
ADRs/ folder (or it will be created)| Category | When to use |
|---|---|
[negocio] | Business decisions, scope, priorities, stakeholder agreements |
[arquitectura] | Technical architecture, patterns, technology choices |
[seguridad] | Security decisions, auth, encryption, compliance |
[proceso] | Process decisions, workflow, team conventions |
Ask the user:
If the user provides only a brief description, ask clarifying questions to fill in the template completely.
Read the ADRs/ folder in the project KB to find existing ADRs:
1. Navigate to project KB
2. Find or create the ADRs/ folder
3. List children to see existing ADR numbers
4. Assign next sequential number (ADR-001, ADR-002, etc.)
If no ADRs/ folder exists, create it and start with ADR-001.
Based on the content, assign one of the categories:
[negocio] — business decisions[arquitectura] — technical decisions[seguridad] — security decisions[proceso] — process decisionsPresent the category to the user for confirmation.
Use the adr-template.md template to generate the ADR content:
Show the complete ADR to the user:
Wait for user approval before publishing.
After approval:
ADRs/ folder:
create_knowledge_node({
knowledgeBaseId: "<kb_id>",
title: "ADR-NNN: [Título]",
documentType: "PAGE",
content: "<adr_content>",
parentId: "<adrs_folder_id>"
})
If an ADR Index page exists in the KB, update it with the new entry:
When a new decision replaces an old one:
acceptedsuperseded by ADR-NNNADRs/ folderproposed (default) or accepted (if user confirms)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