xiaohongshu
xiaohongshu
create-adr-spike
Creates Architecture Decision Records (ADRs) and conducts research spikes for technical decisions using a structured 5-phase workflow: Research, Analysis, Decision, Documentation, and Memory Storage. Use when asked to "create an ADR", "architectural decision for", "research spike on", "evaluate ...
Full skill instructions
Standardized workflow for creating Architecture Decision Records (ADRs) and conducting research spikes for technical decisions.
Explicit Triggers:
Implicit Triggers:
Debugging/Analysis Triggers:
When NOT to Use:
This skill includes comprehensive ADR and migration templates:
templates/adr-template.md - Complete ADR structure with:
templates/migration-template.md - Detailed migration/refactor plan with:
Usage: Reference these templates when creating ADRs from spikes or planning complex migrations/refactors.
Invoke this skill when you need to:
Example invocation:
"Create an ADR for choosing between PostgreSQL and Neo4j for our graph storage"
Objective: Gather all relevant context before making a recommendation.
Identify the Decision:
Search Existing Knowledge:
# Search existing ADRs for related decisions
find docs/adr -name "*.md" -type f -exec grep -l "keyword" {} \;
# Search project memory for patterns
mcp__memory__search_memories(query="related topic")
Research External Resources (if needed):
mcp__context7__resolve-library-id to find library documentationmcp__context7__get-library-docs to get detailed technical infoWebSearch for recent discussions, benchmarks, or comparisonsWebFetch to extract specific documentation pagesDocument Findings:
ADR.md:
docs/adr/not_started/{number}-{kebab-case-title}/
└── ADR.md # Draft: add research findings to "Context" and "Research" sections
.claude/artifacts/Objective: Evaluate alternatives systematically.
Identify Options (minimum 2-3):
Evaluate Each Option: For each alternative, document:
Create Comparison Matrix:
| Criteria | Option A | Option B | Option C |
|---|---|---|---|
| Performance | High | Medium | Low |
| Maintainability | Medium | High | Low |
| Cost | Low | High | Medium |
| Team Fit | High | Medium | Low |
Objective: Make a clear, justified recommendation.
Recommend Preferred Option:
Document Justification:
Identify Consequences:
Objective: Create permanent ADR record.
Determine ADR Number:
# Find highest existing ADR number across all status directories
find docs/adr -name "[0-9]*.md" | \
sed 's/.*\/\([0-9]*\)-.*/\1/' | \
sort -n | tail -1
Choose ADR Directory:
docs/adr/not_started/ - Decision made, implementation not starteddocs/adr/in_progress/ - Implementation currently underwaydocs/adr/implemented/ - Fully implemented and verifiedDefault: Use not_started/ for new decisions unless implementation begins immediately.
Create ADR from Template:
templates/adr-template.md or templates/migration-template.md028-descriptive-title.mdComplete Required Sections:
Add Implementation Tracking (if applicable):
Objective: Store decision in memory graph for future retrieval.
Create Memory Entity:
mcp__memory__create_entities(entities=[{
"name": f"ADR-{number}: {title}",
"type": "ArchitectureDecision",
"observations": [
f"Status: {status}",
f"Decision: {chosen_option}",
f"Rationale: {key_reason}",
f"Date: {date}",
f"Location: docs/adr/{status_dir}/{number}-{kebab-case-title}/"
]
}])
Create Relations to Existing Entities:
Verify Document Structure:
not_started/: Only ADR.mdin_progress/: ADR.md + IMPLEMENTATION_PLAN.md.claude/artifacts/Before marking the spike complete, verify:
Minimal documents. No redundancy. Human-readable.
| Status | Documents | Contents |
|---|---|---|
not_started/ | 1 file: ADR.md | Research + Analysis + Decision |
in_progress/ | 2 files: ADR.md + IMPLEMENTATION_PLAN.md | Add implementation details |
implemented/ | 1-2 files | Same as in_progress (plan becomes historical record) |
For not_started/ (decision made, not yet implementing):
docs/adr/not_started/005-subprocess-daemon-architecture/
└── ADR.md # Contains: Executive Summary, Research, Analysis, Decision, Alternatives
For in_progress/ (actively implementing):
docs/adr/in_progress/005-subprocess-daemon-architecture/
├── ADR.md # The decision (research + analysis + decision)
└── IMPLEMENTATION_PLAN.md # How to build it (phases + tasks + notes)
docs/adr/in_progress/005-.../
├── ADR.md
├── RESEARCH.md # ❌ WRONG: Put in ADR.md
├── ANALYSIS.md # ❌ WRONG: Put in ADR.md
├── EXECUTIVE_SUMMARY.md # ❌ WRONG: Put in ADR.md
├── IMPLEMENTATION_PLAN.md
└── IMPLEMENTATION_NOTES.md # ❌ WRONG: Put in IMPLEMENTATION_PLAN.md
in_progress/)Single Option Presented:
Missing Trade-off Analysis:
No Consequence Documentation:
Skipping Memory Storage:
Placeholder Text in ADR:
Wrong Directory:
not_started/No External Research:
Ignoring Existing ADRs:
Splitting Documents Across Locations:
docs/adr/, research in .claude/artifacts/docs/adr/{status_dir}/{number}-{kebab-case-title}/docs/adr/
├── implemented/ # Completed ADRs (11+ ADRs)
├── in_progress/ # Active implementation (4+ ADRs)
├── not_started/ # Proposed/accepted, not started (10+ ADRs)
├── TEMPLATE-refactor-migration.md
└── README.md
001, 028, 127{number}-{kebab-case-title}.md028-indexing-orchestrator-extraction.mdIf ADR is in in_progress/, add file-level markers in affected code:
# =============================================================================
# TODO: "Section Name"
# REFACTOR: [ADR-XXX] Brief description
# WHY: One-line reason
# STARTED: YYYY-MM-DD
# STATUS: IN_PROGRESS
# PERMANENT_RECORD: docs/adr/in_progress/XXX-title.md
# ACTIVE_TRACKING: todo.md "Section Name"
# =============================================================================
For ADRs requiring implementation:
./todo.md tracking tasksSee references/reference.md for detailed examples of:
Skills & Tools:
Project Setup:
docs/adr/ directory structure exists with status subdirectories (in projects using this skill)templates/adr-template.md and templates/migration-template.mdKnowledge:
Issue: Can't find next ADR number
# Solution: Use helper script
./scripts/find_next_adr_number.sh
# Or manually:
find docs/adr -name "[0-9]*.md" | sed 's/.*\/\([0-9]*\)-.*/\1/' | sort -n | tail -1
Issue: Don't know which directory to use
Issue: Alternatives seem equivalent
Issue: Only one viable option
Issue: Research taking too long
Issue: Memory entity creation fails
An ADR spike is complete when:
When completing an ADR spike, provide:
Executive Summary:
ADR Location:
Memory Entity:
Next Steps (if applicable):
Skill Type: Project Skill (team workflow) Audience: @researcher, @planner, any agent making architectural decisions Last Updated: 2025-10-17
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience