capture-decision
Record a design decision and its rationale to Tesseract. Use when the session chose between real alternatives, or a "## Decisions" section lands in a tracking file.
- License 许可
- MIT
- 最近更新
- 2026-10-21
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- capture-decision
- description
- Record a design decision and its rationale to Tesseract. Use when the session chose between real alternatives, or a "## Decisions" section lands in a tracking file.
03 SKILL.md 正文
Short decision records go direct to Tesseract — no draft step. They're extracts of something already settled in conversation, not documents in flight. For a long-form structured record, use /adr.
Procedure
1. Dedup. tesseract_recall namespaces=["user/chrispian/memory/decisions"] query="<slug>".
On a hit, you must choose one — a hit you neither supersede nor deprecate stays live and reads as independent corroboration:
| The hit is… | Do |
|---|---|
| the same record, understanding changed | memory_write same key + supersedes: <revision_id> from the lookup result |
| wrong, or no longer applies | mcp__mux__memory_deprecate revision_id=<id> |
| genuinely a different record | write the new key — and say in one line why it is different |
The lookup you just ran returned revision_id. That is the value supersedes takes.
2. Write.
memory_write
namespace = user/chrispian/memory/decisions
memory_key = <slug> # 3–5 words, a-z 0-9 _ ONLY
payload_summary = one sentence, ≤140 chars
payload_body = the decision + why + what was rejected
tags = ["decision", "captured_during_session", "project:<project>"]
author_agent_id = claude-code | codex | …
author_version = model slug
trigger = manual
session_id = the SESSION: value from the SessionStart hook
origin = observation
confidence = 0.9
status = canonical
Use status = draft when confidence is below 0.7, the decision may still change, or the user hedged ("maybe", "tentatively"). Drafts get reviewed at end-of-session.
3. Confirm in one line: Captured decision: <summary>
Rules
- Hyphens are rejected.
my-decisionfails;my_decisionworks. Normalize before writing — this is the most common papercut. - Project and ticket are tags, not key segments. The key is just
<slug>.decisions.<project>.<ticket>.<slug>is the legacy shape the namespace migration replaced. - Record the rejected alternatives. A decision without them is an announcement. The reason a future session needs this is to know what was already ruled out and why.
- Link related records with
[[key]].
Don't capture
Restated decisions, trivial calls, or anything a future session wouldn't search for. Signal over volume — the corpus is only useful while everything in it earns its place.
04 同仓库更多 Skills
tangent
Open a browser workflow when chat is the wrong shape for structured input — triaging many items with one decision, multi-question feedback, or design review. Requires the Tangent MCP server.
release
Cut a release. Use before git tag or gh release create.
push
Push work off this machine. Use before any git push.
pull-request
Open a pull request. Use before gh pr create.
end-of-session
Wrap up a work session — reconcile the git tree, commit what this session authored, review drafts, and capture durable signal. Use when the user signals the session is ending.
commit
Commit work in a tree another session may be using. Use before any git commit.