session-continuity
Persistent task workflow with state machine. Every message MUST announce state. Uses .claude/ files for multi-session continuity. Never use TodoWrite. Never auto-advance tasks.
What this skill does
# Session Continuity
Persistent task workflow that survives session restarts.
## CRITICAL: STATE MACHINE GOVERNANCE
**EVERY SINGLE MESSAGE MUST START WITH YOUR CURRENT STATE**
Format:
```
CHECK_STATUS
WORKING
VERIFY
COMPLETE
AWAITING_COMMIT
MARK_COMPLETE
BLOCKED
```
**NOT JUST THE FIRST MESSAGE. EVERY. SINGLE. MESSAGE.**
When you read a file → prefix with state
When you run tests → prefix with state
When you explain results → prefix with state
When you ask a question → prefix with state
Example:
```
CHECK_STATUS
Reading session.md...
CHECK_STATUS
Status shows "in progress". Routing to WORKING.
TRANSITION: CHECK_STATUS → WORKING
WORKING
Reading requirements.md for task specs...
WORKING
Implementing getUser function with deps...
```
## State Machine
```
user: "continue"
↓
┌────────────────┐
┌───│ CHECK_STATUS │←──────────┬──────────┐
│ │ Read session.md│ │ │
│ └────────┬───────┘ │ │
│ │ │ │
Status= │ │ Status= │ │
"Complete" │ │ "in progress" │ │
│ │ │ │
↓ ↓ │ │
┌───────────┐ ┌──────────────┐ │ │
│ AWAITING_ │ │ WORKING │←────┐ │ │
│ COMMIT │ │ │ │ │ │
│ │ │ Read: │ │ │ │
│ Ask │ │ requirements │ │ │ │
│ permission│ │ tasks.md │ │ │ │
│ STOP │ └──────┬───────┘ │ │ │
└─────┬─────┘ │ │ │ │
│ │ task done │ │ │
user: yes │ │ │ │ │
│ ↓ │ │ │
│ ┌──────────────┐ │ │ │
│ │ VERIFY │ │ │ │
│ │ │ │ │ │
│ │ Run steps │─────┘ │ │
│ │ from │ fail │ │
│ │ requirements │ │ │
│ └──────┬───────┘ │ │
│ │ │ │
│ │ pass │ │
│ │ │ │
│ ↓ │ │
│ ┌──────────────┐ │ │
│ │ COMPLETE │ │ │
│ │ │ │ │
│ │ Update: │ │ │
│ │ session.md │─────────┘ │
│ │ Status= │ │
│ │ "Complete" │ │
│ └──────────────┘ │
│ │
↓ │
┌──────────────────┐ │
│ MARK_COMPLETE │ │
│ │ │
│ Update: tasks [x]│ │
│ Update: session │──────────────────────────────┘
│ (next task) │
└──────────────────┘
```
## Files
All files live in the **project's** `.claude/` directory:
| File | Purpose |
|------|---------|
| `.claude/tasks.md` | Checklist of tasks |
| `.claude/requirements.md` | Implementation specs, verification steps |
| `.claude/session.md` | Current state for resume |
## State: CHECK_STATUS
**Prefix:** `CHECK_STATUS`
**Purpose:** Read session.md and route based on Status field.
### Actions
1. Run `pwd` to verify project directory
2. Read `.claude/session.md`
3. Look at Status field
4. Route:
- Status="Complete" or "ready to commit" → AWAITING_COMMIT
- Status="in progress" or missing → WORKING
- Status="blocked" → BLOCKED
### Critical Rules
- ONLY read session.md and route
- DO NOT read other files, launch agents, or do anything else
- IF ERROR: STOP and tell user what failed
### Transitions
- CHECK_STATUS → AWAITING_COMMIT (Status="complete")
- CHECK_STATUS → WORKING (Status="in progress")
- CHECK_STATUS → BLOCKED (Status="blocked")
## State: AWAITING_COMMIT
**Prefix:** `AWAITING_COMMIT`
**Purpose:** Task is complete. Ask permission to mark done.
### Actions
1. Say: "Task X is complete. May I mark it as complete in tasks.md?"
2. **STOP - wait for user response**
3. If user says yes → MARK_COMPLETE
4. If user says no → STOP, await instruction
### Critical Rules
- ONLY ask permission and STOP
- DO NOT read files, launch agents, work on next task
- DO NOT do anything except ask and wait
### Transitions
- AWAITING_COMMIT → MARK_COMPLETE (user says yes)
- AWAITING_COMMIT → STOP (user says no)
## State: MARK_COMPLETE
**Prefix:** `MARK_COMPLETE`
**Purpose:** Update task files after user approval.
### Actions
1. Update tasks.md: Change `[ ]` to `[x]` for current task
2. Update session.md: Set to next task with Status="in progress"
3. Go to CHECK_STATUS
### Critical Rules
- ONLY update files and route
- DO NOT read other files or research next task
- IF CANNOT EDIT: Say "Cannot edit files: [reason]" and STOP
### Transitions
- MARK_COMPLETE → CHECK_STATUS
## State: WORKING
**Prefix:** `WORKING`
**Purpose:** Implement the current task.
### Actions
1. Read requirements.md for task specs
2. Read tasks.md for task list
3. Work on current task using patterns:
- fn(args, deps)
- Result types
- Zod at boundaries
4. Update session.md after TDD cycles
5. When task done → VERIFY
### Session.md Updates
Update at these triggers:
| Trigger | Update |
|---------|--------|
| Start task | Status="in progress" |
| TDD cycle | Brief note in Notes |
| Hit blocker | Status="blocked", describe |
| Task done | → transition to VERIFY |
### Critical Rules
- EVERY message must have state prefix
- DO NOT skip to next task
- DO NOT work on multiple tasks
- IF BLOCKED: Document in session.md, STOP
### Transitions
- WORKING → VERIFY (task implementation done)
- WORKING → BLOCKED (hit blocker)
## State: VERIFY
**Prefix:** `VERIFY`
**Purpose:** Run verification before claiming complete.
### Actions
1. Read Verification section from requirements.md
2. Run ALL verification commands:
```bash
npm test
npm run lint
npm run build
```
3. Show ALL output verbatim
4. If all pass → COMPLETE
5. If any fail → WORKING (treat as blocker)
### Critical Rules
- EVERY message must have state prefix
- NEVER skip verification
- NEVER claim complete without running checks
- IF ERROR: STOP and tell user
### Transitions
- VERIFY → COMPLETE (all pass)
- VERIFY → WORKING (any fail)
## State: COMPLETE
**Prefix:** `COMPLETE`
**Purpose:** Update session.md to reflect completion.
### Actions
1. Update session.md: Set Status="Complete"
2. Go to CHECK_STATUS
### Critical Rules
- ONLY update session.md and route
- DO NOT ask permission (that's AWAITING_COMMIT)
- IF ERROR: STOP and tell user
### Transitions
- COMPLETE → CHECK_STATUS
## State: BLOCKED
**Prefix:** `BLOCKED`
**Purpose:** Cannot proceed, need user guidance.
### Actions
1. Explain blocking issue clearly
2. Show what you tried
3. **STOP and wait for user guidance**
### Critical Rules
- NEVER improvise workarounds
- ALWAYS stop and wait for user
### Transitions
- BLOCKED → [any state] (based on user guidance)
## Setup: "Plan" or "Setup Tasks"
When user says "create a plan" or "setup tasks":
1. Ask for task list
2. Ask for verification commands
3. Ask for constraints/patterns
4. CRelated in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.