mracal/vibe-engineering/decision-journal
Claude Code and agent skill by mracal/vibe-engineering
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install mracal/vibe-engineering/decision-journalSKILL.md
The same SKILL.md was published earlier as mracal/vibe-engineering/decision-journal.
vibe-decision-journal
Decisions happen whether you document them or not. This skill makes sure they don't vanish into git history.
When to Use This Skill
- After making any significant design, architecture, or behavioral choice
- Before committing — extract implicit decisions from staged diffs
- When you realize "we keep coming back to this question"
- After a session where multiple design choices were made without explicit recording
When NOT to Use This Skill
- Trivial implementation choices (variable naming, formatting, import order)
- Decisions already captured and reviewed
- Temporary/reversible choices (which test to run first)
Modes
Mode 1: Automatic Extraction (from staged diffs)
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:
- New abstractions, patterns, or data structures introduced
- API contracts defined or changed
- Caching/storage/retry strategies chosen
- Error handling approaches selected
- Behavioral changes (not just refactors)
- Configuration or default values set
- Filter out non-decisions:
- Process/workflow choices ("commit now", "run tests")
- Tooling setup ("install package X")
- Pure refactors with no behavioral change
- Diagnostic observations ("X causes Y")
- Trivial changes (formatting, imports, variable renames)
- Deduplicate against existing decisions:
- Read existing decisions from
docs/decisions/or project decision log - Skip exact matches (same question + same decision)
- Flag potential conflicts (same topic, different conclusion) — present both to user
- If a new decision countermands an old one, mark the old one as
Superseded by: [new decision]
- Present each extracted decision to the user for review using
AskUserQuestion:
- Accept — record as-is
- Accept with edits — user refines the wording
- Not a decision — discard (it was a refactor, not a choice)
- Already captured — skip
Mode 2: Explicit Recording (manual)
Use when the user explicitly states a decision.
- Capture the decision directly from the conversation.
Mode 3: Session Sweep
Use at end of session or when user says "what did we decide this session?"
- Review the work done this session — files changed, features built, bugs fixed
- Extract decisions from the pattern of changes (not just the latest diff)
- Present consolidated list for review
Decision Format
Storage
Decisions are stored in docs/decisions/decisions.jsonl (append-only, one JSON object per line):
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.
Deduplication Rules
When extracting decisions automatically:
- Exact match: Same question/topic AND same conclusion → skip
- Same topic, different conclusion: Present both to user — ask if this supersedes the prior decision
- Semantic overlap: If two extracted decisions from the same diff describe the same choice in different words, merge into one and present the clearer version
Output Format
Decisions Extracted: [N]
| # | 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) |
New Decisions Recorded
- DEC-0045: Use Redis for session caching
- DEC-0046: 24h TTL for all cached data
Superseded Decisions
- DEC-0008: "Use in-memory caching" → Superseded by DEC-0045
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/decision-journal/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mracal/vibe-engineering/decision-journal)