skills/memory-ledger/SKILL.md
Maintain a structured ledger of decisions, discovered bugs and fixes, user preferences, constraints, current status, and failed approaches throughout multi-step agentic tasks. Auto-update after every significant step. Triggers on 'where were we', 'continue', 'summarize status', 'remember', or when a new agent instance takes over a task.
npx skillsauth add fatih-developer/fth-skills memory-ledgerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Keep a structured log of everything learned during a task. Goal: when a new instance takes over, it reads the ledger and continues from where things left off — no starting from scratch.
One ledger block per task. Updated incrementally as the task progresses — never rewritten from scratch.
MEMORY LEDGER
Task : [task name / short description]
Started : [first step number or timestamp]
Last updated: [step number or description]
## Goal
[What is being done — 1-2 sentences. Scope and success criteria.]
## User Preferences & Constraints
- [Preference / constraint 1]
- [Preference / constraint 2]
[If empty: "None established yet"]
## Decisions Made
| # | Decision | Rationale | Step |
|---|----------|-----------|------|
| 1 | [what was decided] | [why] | [which step] |
## Current Status
Completed : [list or "—"]
In progress: [list or "—"]
Pending : [list or "—"]
## Failed Approaches
| Approach | Why It Failed | Step |
|----------|---------------|------|
| [what was tried] | [error / issue] | [which step] |
[If empty: "None yet"]
## Bugs & Fixes
| Bug | Fix | Status |
|-----|-----|--------|
| [error message / description] | [applied fix] | Fixed / Open |
[If empty: "None yet"]
## Next Step
[The next thing to do — clear and actionable]
Update the ledger when any of these events occur:
| Event | Section to Update | |-------|-------------------| | Subtask completed | Current Status, Next Step | | Decision made | Decisions Made | | Error occurred | Bugs & Fixes | | Error resolved | Bugs & Fixes (update status) | | Approach failed | Failed Approaches | | User stated preference/constraint | User Preferences & Constraints |
Updates must be small and surgical — only change the affected section, do not rewrite the entire ledger.
When a new instance takes over a task, first action is to read the ledger:
LEDGER READ — Task resumed
Task : [task name]
Status : [current status summary]
Next : [next step]
Warning : [if any open bugs or failed approaches]
Continuing...
When the task is complete, close the ledger:
LEDGER CLOSED
Task completed
Total steps : N
Decisions made: N
Bugs resolved : N
task-decomposer (tracks subtask progress), error-recovery (logs errors and fixes), and agent-reviewer (provides retrospective data).After 3+ significant updates to the ledger (each completion of a subtask), evaluate whether a session handoff should be suggested.
Suggest handoff when:
Suggestion prompt:
"We've made substantial progress on this task. A session handoff document would preserve this context for future sessions, especially if we need to resume later or if context gets full. Say 'create handoff' when ready to save state."
What to include when creating handoff from memory-ledger:
For long tasks, chain handoffs: invoke session-transfer skill with --continues-from to link related handoffs.
tools
Create, optimize, critique, and programmatically structure prompts for AI systems. Use this skill whenever the user is designing or improving a static prompt, system prompt, coding prompt, agent prompt, workflow prompt, MCP-oriented prompt package, or an algorithmic prompt optimization pipeline. Also use it when the user asks to turn vague AI behavior into a precise instruction set, tool policy, agent spec, evaluation metric, or prompt architecture.
testing
Assumption-first architecture review skill to stress-test project plans and expose hidden risks.
testing
Enforce and manage DESIGN.md specifications, extract design systems from URLs, and combine design reasoning with token roles to prevent drift.
testing
Forces the agent to act with a Claude-like product mindset, prioritizing user journey, UX states, and visual quality before coding.