ワンクリックで
ワンクリックで
| name | adr |
| description | Architecture Decision Record assistant for rhdh-adr repository |
Help write, review, and refine Architecture Decision Records for RHDH projects.
/adr structure - Structure a messy problem into ADR format/adr draft - Generate complete ADR from your decision/adr critique - Review and critique an existing ADR/adr alternatives - Suggest alternative approaches/adr refine - Improve a specific ADR sectionHelp structure a problem into ADR format.
Process:
ADR-TEMPLATE.md to understand structureOutput: Structured outline ready to fill into template
Generate a complete ADR draft from a decision.
Process:
ADR-TEMPLATE.md for structureADR-GUIDE.md for guidelinesOutput: Complete ADR ready for review and PR
Critique an existing ADR draft to strengthen it.
Process:
ADR-GUIDE.md for quality criteriaOutput: Critique with actionable improvements
Suggest alternative approaches and play devil's advocate.
Process:
Output: Comprehensive alternatives analysis
Improve a specific section of an ADR.
Process:
ADR-GUIDE.md for section-specific guidanceOutput: Refined section ready to use
Project: RHDH (Red Hat Developer Hub) - Kubernetes operator and related components
Repository Structure:
rhdh-adr/
├── ADR-TEMPLATE.md # Template to follow
├── ADR-GUIDE.md # Writing guidelines
├── ADR-AI-GUIDE.md # AI assistance guide
└── decisions/ # Actual ADRs
├── 001-flavor-based-config.md
└── 002-plugin-infrastructure.md
Key Principles:
Technical Context:
Common Patterns to Consider:
User: /adr structure
Claude: "What problem are you solving? What's the current state and limitation?"
User: "We can't share secrets across Backstage instances. Users duplicate secrets in every CR."
Claude: [Reads ADR-TEMPLATE.md, provides structured outline]
User: /adr draft
Claude: "What decision have you made? What problem does it solve?"
User:
Decision: Label-based secret discovery in namespace
Problem: No way to share common credentials across Backstage instances
Current state: Each CR must specify secrets individually
Claude: [Reads ADR-TEMPLATE.md and ADR-GUIDE.md, generates complete ADR]
User: /adr critique decisions/003-namespaced-config.md
Claude: [Reads file and ADR-GUIDE.md, provides critique]
Critique of ADR-003:
Context section:
✅ Clear problem statement
❌ Missing: Why is duplication specifically a problem? (ops burden? consistency?)
Decision section:
✅ Specific implementation approach
⚠️ Consider clarifying: What happens if labeled secret doesn't exist?
Alternatives section:
❌ Missing: Operator-namespace approach (cluster-wide defaults)
❌ Missing: External secret management (e.g., Vault)
Consequences:
✅ Good positive list
❌ Negative list incomplete - missing: namespace coupling, RBAC complexity
Do:
Don't:
Iteration Pattern: Most effective ADRs come from 3-5 iterations:
/adr structure → outline/adr draft → initial version/adr critique → identify gaps/adr refine → improve weak sections/adr alternatives → ensure completenessThis skill integrates with the ADR lifecycle documented in ADR-GUIDE.md:
1. `/adr draft` → Generate initial ADR
2. Open PR with ADR (Open PR = Proposed)
3. `/adr critique` → Strengthen before team review
4. Team reviews PR, comments
5. `/adr refine` → Address feedback
6. PR approved & merged → ADR finalized (Merged PR = Accepted)
Remember: The skill accelerates drafting. Team PR review is where the real architectural decision happens.