用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/coreindustries/core-ai-template --skill adr命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | adr |
| description | Create an Architecture Decision Record when making a non-obvious architectural call. |
Create an Architecture Decision Record (ADR) when making a non-obvious architectural call. Captures the decision, context, and agent-specific guidance to prevent future agents from undoing intentional choices.
/adr <title> [--status <status>]
title: Short description of the decision (e.g., "use Prisma over SQLAlchemy")--status: Decision status (default: Accepted). Options: Proposed, Accepted, DeprecatedWhen this skill is invoked:
Autonomy:
Quality:
Agent Guidance field is the most important — it tells future agents what to doDo Not Change field prevents accidental refactoring of intentional patternsls docs/decisions/[0-9]*.md 2>/dev/null | sort -t/ -k3 -n | tail -1
If no ADRs exist, start at 0001. Otherwise, increment the highest number.
From the current session, extract:
If context is unclear, ask the user a maximum of 2 clarifying questions.
Filename: docs/decisions/NNNN-{slug}.md
Use the template from docs/decisions/adr-template.md with all fields filled in.
Add a row to the table in docs/decisions/index.md:
| NNNN | {Title} | Accepted | YYYY-MM-DD |
ADR created: docs/decisions/NNNN-{slug}.md
Decision: {one-line summary}
Agent Guidance: {the agent-guidance field}
Do Not Change: {count} patterns locked
Index updated: docs/decisions/index.md
Use /adr after:
Don't use for:
/compound instead)$ /adr "use cursor-based pagination over offset"
ADR created: docs/decisions/0001-use-cursor-based-pagination-over-offset.md
Decision: Use cursor-based pagination for all list endpoints
Agent Guidance: Do not convert cursor pagination to offset — cursor was
chosen for consistent ordering under concurrent writes.
Do Not Change: 2 patterns locked
Index updated: docs/decisions/index.md