From claude-code-stack
Create or update an Architecture Decision Record. Captures decisions worth more than 5 minutes of thinking, in a format successors can read cold. Use when architect (or user) makes a non-trivial design decision. Output goes to docs/ADRs/<NNN>-<slug>.md.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-stack:adrThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Document an architectural decision.
Document an architectural decision.
docs/ADRs/. Find the highest 3-digit prefix. Increment.Ask user (or read from architect-handoff if invoked by architect):
From title: lowercase, hyphenated, max 5 words.
Example: "Use Pipedream Connect for Slack delivery" → use-pipedream-connect-slack
docs/ADRs/<NNN>-<slug>.md:
# ADR <NNN>: <title>
Date: <YYYY-MM-DD>
Status: <status>
Author: <user>
## Context
<paragraph: what's the situation, what forces, what constraints>
## Decision
<paragraph: what we decided, in active voice>
## Consequences
### Positive
- <bullet>
- <bullet>
### Negative
- <bullet>
- <bullet>
### Neutral
- <bullet>
## Alternatives considered
### <Alternative A>
<one paragraph: what it was, why we didn't pick it>
### <Alternative B>
<one paragraph>
## References
- <link to related ADR>
- <link to spec/doc>
- <link to discussion>
git add docs/ADRs/<NNN>-<slug>.mdgit commit -m "docs: add ADR <NNN> — <title>"Print the path. Ask if any cross-references in other ADRs / docs need updating.
Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub bschonbrun/claude-code-stack --plugin claude-code-stack