blueprint:supersede
Replace or deprecate a previous decision (ADR or UX decision). Use when the user wants to change a tech or UX choice, retire a decision, or remove functionality without replacement.
What this skill does
# Supersede or Deprecate Decision
Replace a previous decision with a new one, or deprecate it entirely. Works for both architectural decisions (ADRs in `docs/adrs/`) and UX decisions (in `design/ux-decisions/`).
**Invoked by:** `/blueprint:supersede [ADR-NNN]`, `/blueprint:supersede [UX-NNN]`, or when user discusses changing/removing a previous decision.
## Principles
1. **Two options**: Replace or Deprecate (if outdated, delete file - git history is the archive)
2. **Never block**: Allow skip on optional questions
3. **History preserved**: Old decisions are updated, never deleted
4. **Use globbing**: Find decisions via file system, no index needed
5. **Stay in tree**: Replacements are filed in the **same tree** as the original (ADRs don't supersede UX decisions and vice versa)
**TOOL USAGE: You MUST invoke the `AskUserQuestion` tool for all structured questions.**
When you see JSON examples in this skill, they are parameters for the AskUserQuestion tool - invoke it, don't output the JSON as text or rephrase as plain text questions.
## Process
**FIRST ACTION: Enter plan mode by calling the `EnterPlanMode` tool.** This enables proper interactive questioning.
### Step 1: Find the Decision
Detect which tree to search based on the argument:
| Argument | Tree | Glob |
|----------|------|------|
| `ADR-NNN` or just `NNN` referring to an architectural decision | `docs/adrs/` | `docs/adrs/*.md` |
| `UX-NNN` | `design/ux-decisions/` | `design/ux-decisions/*.md` |
| Bare number, no prefix | Search **both** trees, ask if found in both |
Use Claude's built-in tools:
- **Glob tool**: Find files in the appropriate tree
- **Read tool**: View decision contents
If no decisions exist in the relevant tree:
- ADR tree empty: "No ADRs found. Use `/blueprint:decide` to create your first architectural decision."
- UX tree empty: "No UX decisions found. Use `/blueprint:decide` to create your first UX decision."
### Step 2: Understand Intent
**First, try to detect intent from user input:**
| User says | Intent detected |
|-----------|-----------------|
| "replace with [X]" / "switching to [X]" | Replace → extract new choice |
| "removing" / "deprecated" / "gone" / "no longer needed" | Deprecate |
**If intent unclear, use AskUserQuestion:**
```json
{
"questions": [{
"question": "What's happening with ADR-[NNN] ([title])?",
"header": "Action",
"options": [
{"label": "Replace", "description": "Switching to a new technology"},
{"label": "Deprecate", "description": "Removing entirely, no replacement"}
],
"multiSelect": false
}]
}
```
**Response handling:**
- "Replace" → Replacement Flow
- "Deprecate" → Deprecation Flow
- "Other" → Parse text for intent signals (e.g., "switching to [X]" = Replace), ask clarifying question if still unclear
---
## Replacement Flow (Supersede)
### 1. Read existing ADR
Understand the context and current decision.
### 2. Gather information (allow skip)
1. "What's replacing this?" (required)
2. "Why the change?" (ask - can skip)
3. "Any migration notes?" (optional)
### 3. Create new decision (in the same tree)
**Stay in the same tree as the original.** ADRs are superseded by ADRs (in `docs/adrs/`); UX decisions are superseded by UX decisions (in `design/ux-decisions/`).
Get next number by globbing the relevant tree:
- ADRs: `docs/adrs/*.md`
- UX decisions: `design/ux-decisions/*.md`
Include:
- Reference to superseded decision in Context
- "Supersedes: ADR-NNN" or "Supersedes: UX-NNN" in Related section
- Migration notes if provided
### 4. Update OLD decision frontmatter
```yaml
---
status: Superseded
date: [original date]
superseded_by: NNN-new-decision
---
```
## New Decision Template (for replacement)
Same shape for both trees — only the title prefix and destination differ.
- ADR template: `_templates/TEMPLATES.md` (`<!-- SECTION: adr-template -->`)
- UX decision template: `_templates/TEMPLATES.md` (`<!-- SECTION: ux-decision-template -->`)
**ADR replacement (in `docs/adrs/`):**
```markdown
---
status: Active
date: [TODAY]
---
# ADR-[NNN]: [New Decision Title]
## Context
Previously, we used [old approach] (see ADR-[OLD]).
[Why we're changing - or TODO marker if skipped]
## Decision
We will use **[new choice]** because [reason].
## Migration
[How to migrate - or TODO marker if skipped]
## Consequences
**Positive:**
- [benefit]
**Negative:**
- [tradeoff]
## Related
- Supersedes: [ADR-OLD](./OLD-title.md)
```
**UX decision replacement (in `design/ux-decisions/`):**
Same shape, but title is `# UX-NNN: ...` and the supersedes link points within the UX tree.
```markdown
---
status: Active
date: [TODAY]
---
# UX-[NNN]: [New Decision Title]
## Context
Previously, we used [old approach] (see UX-[OLD]).
[Why we're changing - or TODO marker if skipped]
## Decision
We will use **[new choice]** because [reason].
## Consequences
**Positive:**
- [benefit]
**Negative:**
- [tradeoff]
## Related
- Supersedes: [UX-OLD](./OLD-title.md)
```
---
## Deprecation Flow
Use when retiring a decision without replacement (removing the capability entirely).
### 1. Ask for reason (allow skip)
> "Why is this being deprecated?"
If skipped → Use "No longer needed"
### 2. Update ADR frontmatter
```yaml
---
status: Deprecated
date: [original date]
deprecated_date: [TODAY]
deprecated_reason: [reason]
---
```
### 3. Add deprecation notice
```markdown
> **Deprecated on [TODAY]:** [Reason]
>
> This decision is no longer active. [Cleanup notes if any]
```
---
## Examples
**Replace:**
```
User: /blueprint:supersede ADR-002
Assistant: "Replace or deprecate?"
User: Replace with GraphQL
Assistant: "Why the change from REST?"
User: Better client flexibility
Assistant: [Creates new ADR, updates old one, checks for code references, suggests deletion if none]
```
**Deprecate:**
```
User: /blueprint:supersede ADR-005
Assistant: "Replace or deprecate?"
User: Deprecate - we removed caching entirely
Assistant: [Marks as Deprecated, offers to help find code to remove]
```
## After Completion
**For Replacement:**
1. Confirm: "ADR-[NEW] created, ADR-[OLD] marked as Superseded"
2. Check: Search codebase for references to the old ADR
3. If no code references → Suggest: "No code references ADR-[OLD]. Delete it? Git history is the archive."
4. If code references exist → Keep: "ADR-[OLD] still referenced in [files]. Keeping for context."
**For Deprecation:**
1. Confirm: "ADR-[NNN] marked as Deprecated"
2. Suggest: "Should I help identify related code to remove?"
3. After code removal → Suggest: "Delete ADR-[NNN]? Git history is the archive."
**Cleanup principle:** ADRs should reflect current state. Superseded/Deprecated ADRs with no code references should be deleted. Git history preserves the record.
Remind: "PR merge = approved"
## Error Recovery
If user indicates a mistake after completion:
1. Acknowledge: "I can revert the status changes"
2. Clarify: "What needs to change?"
3. Execute: Revert frontmatter status or update as needed
4. Confirm: "ADR status has been [reverted/updated]"
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.