一键导入
adr
Documents architecture decisions with auto-numbering following the ADR pattern. Triggers on keywords: adr, architecture decision, decision record
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Documents architecture decisions with auto-numbering following the ADR pattern. Triggers on keywords: adr, architecture decision, decision record
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Finds the true merge-base/fork-point of a git branch, detecting history rewrites from rebases and squashes. Handles unknown parent branches. Triggers on keywords: find fork, merge-base, branch fork point, where did branch start, git fork, branch origin
Creates comprehensive GitHub Pull Requests with authentication validation and structured documentation. Triggers on keywords: pull request, PR, create PR, open PR
Full release workflow including changelog validation, squash, rebase, push, merge to main, and GitHub release preparation. Triggers on keywords: release, create release, publish release, tag release
Creates a git worktree with asset setup, serial branch/bootstrap creation, shared worker-wave environment setup, and direnv wiring. Triggers on keywords: worktree, create worktree, new worktree, git worktree
Hardens package-manager supply chain configuration with minimum release age policies, dry-run gates, and optional dependency security review. Triggers on keywords: harden supply chain, supply chain security, minimum release age, package age gate
Reports issues to agentic-config repository via GitHub CLI. Supports bug reports and feature requests. Triggers on keywords: issue, report bug, feature request, ac issue
| name | adr |
| description | Documents architecture decisions with auto-numbering following the ADR pattern. Triggers on keywords: adr, architecture decision, decision record |
| project-agnostic | false |
| allowed-tools | ["Read","Write","Edit","Bash"] |
Document architecture decisions following the ADR pattern. Auto-generates next ADR number and updates index.
<decision_context> - If provided, document that specific decisionEnsure ADR directory exists:
adrs/ directory in current working directoryadrs/ directoryEnsure index exists:
adrs/000-index.md# Architecture Decision Records (ADR) Index
> Critical decisions that govern development. **Read before implementing.**
## Index
| # | Decision | Status | Date |
|---|----------|--------|------|
## Usage
ADRs document significant architectural and policy decisions. Each entry follows format:
`NNN-<title>.md` where NNN is zero-padded sequence number.
### Creating New ADR
Use `/adr` command or manually:
1. Create file `adrs/NNN-title.md`
2. Add entry to this index
3. Commit: `adr(NNN): <title>`
Read ADR index: adrs/000-index.md
Validate decision context:
Generate ADR metadata:
Create ADR file: adrs/NNN-<slug>.md
# NNN - <Title>
**Status**: Accepted
**Date**: <YYYY-MM-DD>
## Context
<Why this decision was needed - problem statement, constraints, requirements>
## Decision
<What was decided - clear statement of the chosen approach>
## Consequences
<Implications and trade-offs:>
- **Positive**: <benefits>
- **Negative**: <costs, limitations>
- **Neutral**: <other impacts>
## References
<Related docs, specs, links if any>
Update index: adrs/000-index.md
| NNN | [<Title>](./NNN-<slug>.md) | Accepted | YYYY-MM-DD |
Commit changes:
git add adrs/NNN-<slug>.md adrs/000-index.md && git commit -m "adr(NNN): <title>"
Report in markdown format:
/adr Use pnpm for package management
Creates:
adrs/001-use-pnpm-for-package-management.mdadrs/000-index.mdadr(001): use pnpm for package management