skills/state/SKILL.md
Use when the user says 'update state', 'project state', 'where was I', or at session start to load current context.
npx skillsauth add cwinvestments/memstack stateInstall 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.
Maintain a living document of where you are right now in a project.
When this skill activates, output:
📍 State — Updating project state...
Then execute the protocol below.
| Context | Status | Priority | |---------|--------|----------| | User says "update state", "save state", "project state" | ACTIVE — update STATE.md | P1 | | User says "where was I", "where did I leave off" | ACTIVE — read and present STATE.md | P1 | | User starts a session and STATE.md exists | ACTIVE — read silently, use as context | P2 | | User says "save diary" or "log session" | DORMANT — Diary handles full session logs | — | | User says "save project" or "handoff" | DORMANT — Project skill handles lifecycle | — | | User asks to recall past sessions | DORMANT — Echo handles historical recall | — |
.claude/ directory:
{project_dir}/.claude/STATE.md
Gather current state:
Check git status for uncommitted work:
git status --short
Write STATE.md to the project's .claude/ directory:
# Project State
*Last updated: {YYYY-MM-DD HH:MM}*
## Currently Working On
{Active task or phase — be specific}
## Decisions Made
- {Decision}: {Rationale}
## Blockers
- [ ] {Blocker description}
## Next Steps
1. {Immediate next action — specific enough to start cold}
2. {Following action}
## Recently Modified Files
- {file path} — {what changed}
## Uncommitted Changes
{List any unstaged/uncommitted work, or "None — clean working tree"}
Confirm with a brief summary of what was saved.
| Skill | What it tracks | When | |-------|---------------|------| | State | Current snapshot — where you are right now | During session, living document | | Diary | Historical log — what you did in a session | End of session, append-only | | Project | Project lifecycle — handoff between sessions | Session boundaries | | Work | Task list — what needs to be done | When planning/tracking todos |
State is the present tense complement to Diary's past tense. State tells you where to resume; Diary tells you what happened.
{project_dir}/.claude/STATE.md — updated living documentUser: "update state"
📍 State — Updating project state...
Saved: C:\Projects\AdminStack\.claude\STATE.md
Currently: Building CC Monitor notification system
Blockers: None
Next: Wire up WebSocket events to notification dropdown
This will auto-load next session for seamless pickup.
tools
Use when the user says 'save diary', 'log session', 'wrapping up', or at end of a productive session.
tools
Use when the user says 'submit to marketplace', 'publish my skill', 'share this skill', 'list on marketplace', 'submit plugin', 'publish to community', or needs to submit a skill or plugin to a community marketplace via PR. Do NOT use for building skills or writing plugin code.
development
Use when the user says 'write browser tests', 'test this page', 'playwright test', 'e2e test', 'end to end test', 'browser test', 'test the UI', or needs Playwright-based browser testing for a web application. Do NOT use for unit tests, API tests, or non-browser testing.
development
Use when the user says 'teach me', 'explain as you go', 'mentor mode', 'walk me through', 'help me learn', 'explain why', 'learning mode', or wants real-time plain language narration of decisions and tradeoffs while building. Do NOT use for code review or debugging.