decision-log
Record, list, show and supersede architecture decisions that persist across sessions in the shared agent infra state store. Use when the user says "record this decision", "log an ADR", "what did we decide about", "list decisions", or "supersede decision".
- License 许可
- Unlicense
- 最近更新
- 2026-11-15
- Stars
- ★ 21
- Forks
- 9
01 前言 Front Matter
- name
- decision-log
- description
- Record, list, show and supersede architecture decisions that persist across sessions in the shared agent infra state store. Use when the user says "record this decision", "log an ADR", "what did we decide about", "list decisions", or "supersede decision".
02 资源文件 3
- 参考文档evals/suite.json2.2 KB
- 脚本scripts/agentinfra.py767 B
- 脚本scripts/decision.py3.3 KB
03 SKILL.md 正文
Decision Log
Keeps a durable log of architecture decisions. Decisions are stored in the agent infra state
service under this skill's own tenant (decision-log), so they survive across sessions and no
other skill or MCP server can read or change them. Every write is also sent to the centralized
logs.
All commands run scripts/decision.py from this skill's base directory with Python 3.15 and print JSON.
Commands
| Goal | Command |
|---|---|
| Record a decision | python3.15 scripts/decision.py add --title "<title>" --decision "<what>" --why "<why>" [--status proposed|accepted|rejected] |
| Show one decision | python3.15 scripts/decision.py show <id> |
| List decisions | python3.15 scripts/decision.py list [--status accepted] |
| Supersede a decision | python3.15 scripts/decision.py supersede <old-id> --by <new-id> |
| Remove a decision | python3.15 scripts/decision.py remove <id> |
The id is the slug of the title: Use Postgres RLS becomes use-postgres-rls.
Rules
- Before recording, run
listand check that the decision is not already there. - Always fill
--whywith the reason the user gave. Ask for it when missing. - When a new decision replaces an old one, record the new one first, then
supersedethe old one. - If a command fails with
unreachable, tell the user to run./scripts/start-all.sh. - Show the user the id, status and title of what changed.
04 同仓库更多 Skills
word-count
Counts the words, lines and characters of a text or a file.
slugify
Turns a title or a sentence into a URL slug, lowercase words joined by hyphens with accents removed.
json-format
Validates a JSON file and pretty prints it with two space indentation, or reports where the JSON is invalid.
commit-message
Writes a conventional commit message for the staged git changes.
skills-gateway
Gateway and router to a catalog of skills that are not registered directly. Use it before any task a specialized skill could handle, such as text, JSON or git chores. It finds the right skill and loads its instructions.
answer-grader
Grade a written answer (release notes, summaries, commit messages, JSON payloads) against checks using the shared evaluators of the agent infra, store every run in the evals UI and track the score trend per suite. Use when the user says "grade this answer", "check this output", "does this meet the criteria", "score the release notes" or "show grading history".