用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/asermax/claude-plugins --skill decision命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Build something already designed, together with the user, then verify it and offer to commit. Use when a design is agreed and the work is ready to write, or when another skill needs the shared build discipline.
Load first when working with any zenku skill. Carries the vocabulary, the two rules, how to find the project's vault and conventions, and the habits for writing into it.
Lay out the current shape so the user can settle a new one — which modules exist, where the seams are, how data flows, and what earlier quests already decided. Use when the user wants to design a feature or a module, work out an interface, decide where a boundary belongs, or when another skill needs a shape agreed before code.
基于 SOC 职业分类
正在显示 SKILL.md
| name | decision |
| description | Document an architecture or design decision |
| argument-hint | [topic or existing ID] |
| disable-model-invocation | true |
Document an architecture decision (ADR) or design pattern (DES).
$ARGUMENTS - Optional: topic to document or existing decision ID to update
You must load the following skills and read the following files before proceeding.
katachi:framework-core - Workflow principles and decision type guidancedocs/feature-specs/README.md - Feature capability indexdocs/feature-designs/README.md - Feature design indexdocs/architecture/README.md - Architecture decisions (ADRs)docs/design/README.md - Design patterns (DES)${CLAUDE_PLUGIN_ROOT}/skills/framework-core/references/code-examples.md - Code snippet guidance (especially for DES)${CLAUDE_PLUGIN_ROOT}/skills/framework-core/references/technical-diagrams.md - Technical diagram guidance (if diagrams help)Ask user what they want to document:
"What kind of decision are you documenting?
A) Architecture Decision (ADR)
- Hard-to-change technical choices
- Technology selections, patterns, approaches
- One-time decisions with significant consequences
B) Design Pattern (DES)
- Repeatable patterns across the codebase
- Conventions, coding patterns, cross-cutting concerns
- Patterns that should be consistent
Which type fits your decision?"
Ask about the decision:
For DES, also ask:
If user is uncertain about alternatives or consequences:
Create complete document following appropriate template.
For ADR:
For DES:
Dispatch decision-reviewer to validate the classification:
Task(
subagent_type="katachi:decision-reviewer",
prompt=f"""
Validate this decision document classification.
## Decision Type
{adr_or_des}
## Draft Document
{draft_content}
## User's Context
{user_context}
## Existing ADR Index
{adr_index}
## Existing DES Index
{des_index}
"""
)
Apply feedback:
Show draft document to user. Highlight any uncertainties or validation feedback. Ask: "What needs adjustment?"
Apply user corrections. Repeat until approved.
Determine next available ID:
docs/architecture/docs/design/Add to appropriate README index:
For ADR in docs/architecture/README.md:
For DES in docs/design/README.md:
Write to appropriate location:
docs/architecture/ADR-NNN-title.mddocs/design/DES-NNN-pattern-name.mdAsk:
"Which features are affected by this decision?
I'll update their design documents to reference this [ADR/DES]."
List affected features and update their designs to include decision references:
This is a collaborative process: