Validates completed work against defined acceptance criteria. Use after completing a task that has specific success criteria defined in issues, specs, or task descriptions.
中文简介正在准备中。当前显示原文说明。
Extracts and records architectural decisions from diffs, conversation context, and explicit choices. Supports automatic extraction from staged changes, deduplication against prior decisions, and persistent ADR-format logging with spec traceability. Use after a significant design or architecture choice, before committing a diff that embeds implicit decisions, or when the same question keeps resurfacing.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Decisions happen whether you document them or not. This skill makes sure they don't vanish into git history.
Use when committing or when the user says "what decisions did we make?"
Read the staged diff:
git diff --cached
Analyze for implicit decisions — Look for changes that represent choices:
Filter out non-decisions:
Deduplicate against existing decisions:
docs/decisions/ or project decision logSuperseded by: [new decision]Present each extracted decision to the user for review (use the harness's structured question tool if it has one; otherwise ask in plain text):
Use when the user explicitly states a decision.
Use at end of session or when user says "what did we decide this session?"
## DEC-[NNNN]: [Short title]
**Date**: [Today]
**Status**: Accepted | Superseded | Rejected
**Supersedes**: DEC-[NNNN] (if applicable)
### Context
[1-2 sentences: what situation prompted this decision]
### Decision
[What was decided. Be specific enough to reconstruct the choice.]
### Alternatives Considered
1. [Alternative A] — Rejected because [reason]
### Consequences
- [What this enables or constrains going forward]
### Affected Files
- [path/to/file.ext]
### Spec Sections (if applicable)
- [Which spec sections this decision affects]
Decisions are stored in docs/decisions/decisions.jsonl (append-only, one JSON object per line):
{
"id": "DEC-0001",
"title": "Use Redis for session caching",
"status": "accepted",
"date": "2026-03-07",
"context": "Need sub-10ms session lookups at 10k req/s",
"decision": "Use Redis with 24h TTL for session data",
"alternatives": ["In-memory dict (no persistence)", "DynamoDB (too expensive at scale)"],
"consequences": ["Adds Redis as infrastructure dependency", "Enables horizontal scaling"],
"affected_files": ["src/cache.py", "config/redis.yml"],
"spec_sections": ["## Session Management"],
"supersedes": null,
"extracted_from": "diff"
}
Also render a human-readable markdown version in docs/decisions/ as DEC-NNNN-[slug].md.
ID assignment: Read existing decisions, find the highest DEC-NNNN, increment by 1.
When extracting decisions automatically:
| # | Decision | Source | Status |
|---|---|---|---|
| 1 | Use Redis for session caching | diff: src/cache.py | Accepted |
| 2 | 24h TTL for all cached data | diff: config/redis.yml | Accepted |
| 3 | Retry with exponential backoff | explicit | Already captured (DEC-0012) |
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Validates completed work against defined acceptance criteria. Use after completing a task that has specific success criteria defined in issues, specs, or task descriptions.
中文简介正在准备中。当前显示原文说明。
Generates edge case, failure mode, and spec-driven test cases. Covers boundary values, nil inputs, concurrency, resource exhaustion, malformed data, and requirement-linked traceability tests. Use after happy-path tests exist and before claiming coverage is complete, when requirements lack tests, or before a security review.
中文简介正在准备中。当前显示原文说明。
Catches shortcuts and reward hacking — weakening or deleting tests to make them pass, hard-coding expected outputs, silently dropping requirements, or claiming work is done without running it. Use before declaring a task complete and whenever a test or requirement feels like it's in the way.
中文简介正在准备中。当前显示原文说明。
Safely integrates commits from parallel agent branches using sequential cherry-pick. Use after parallel work completes in isolated branches or worktrees.
中文简介正在准备中。当前显示原文说明。
Audits tests for concurrency safety — race conditions, shared mock state, cleanup ordering. Use when writing tests that involve goroutines, async operations, or shared mutable state.
中文简介正在准备中。当前显示原文说明。
Enforces tiered test coverage standards with three dimensions — line coverage by tier, spec-to-test traceability, and spec-to-code implementation mapping. Use before claiming code is complete.
中文简介正在准备中。当前显示原文说明。