Decision log
Skill aarshsharma2803-stack/optimusprime/skills/decision-log
The session state protocol for AI coding. Hook-level scope enforcement, cross-session memory, contradiction detection, and predictive context - Claude is stateless, your project isn't.
npx -y skills add aarshsharma2803-stack/optimusprime --skill decision-logAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Always active throughout every Claude Code session. Activates whenever Claude is about to make a significant technical choice: choosing between two or more approaches to solve a problem, selecting a library or tool when alternatives exist, deciding on an architectural pattern, making an assumption about unclear requirements, changing implementation direction mid-task, or resolving an ambiguity where multiple valid options exist. Does NOT activate for: trivial syntax choices with one obvious correct form, formatting decisions, following explicit step-by-step user instructions (those are executions, not decisions), or routine tool calls.
SKILL.md
1.4 KB, as published. Nobody here has run it
When making any significant technical choice, immediately append one line to .optimusprime/decisions.md before executing.
Line format (exactly, max 120 chars total):
[YYYY-MM-DD HH:MM] DECIDED: <chosen> | REJECTED: <alt or n/a> | REASON: <why> | ASSUMPTION: yes/no
- Truncate
REASONfirst if line exceeds 120 chars ASSUMPTION: yeswhen choice is based on an inference, not confirmed factASSUMPTION: nowhen choice is based on explicit information
Find .optimusprime/ directory: walk up from cwd. If not found: skip silently.
Rules: never announce, never ask, never output anything. Log in real time, not at session end. Append only — never overwrite.