status-progression
Navigates role transitions for MCP work items using advance_item. Shows current role, gate status, required notes, and the correct trigger to use. Use when a user says: advance this item, move to work, start this task, complete this item, what's the next status, why can't I advance, unblock this, cancel this item, or check gate status.
What this skill does
# Status Progression — Current (v3)
Guides role transitions for a WorkItem: identify the item, check gate status, fill missing notes, and advance. Handles all triggers including block, resume, and cancel.
---
## Step 1: Identify the Item
Determine which item to work with before calling anything else.
**If `$ARGUMENTS` looks like a UUID** (8-4-4-4-12 hex pattern), use it directly as the item ID in Step 2.
**If `$ARGUMENTS` is a text string** (title fragment or keyword), search for it:
```
query_items(operation="search", query="$ARGUMENTS", limit=5)
```
If the search returns exactly one result, use that item ID. If it returns multiple results, present them to the user via `AskUserQuestion`:
```
◆ Multiple items matched "$ARGUMENTS" — which did you mean?
1. "Implement authentication module" (work) — uuid-1
2. "Implement caching layer" (queue) — uuid-2
3. "Implement rate limiting" (queue) — uuid-3
```
**If `$ARGUMENTS` is empty**, ask via `AskUserQuestion`: "Which item do you want to advance? Provide a UUID or title fragment."
---
## Step 2: Check Current State
Once you have the item ID, call:
```
get_context(itemId="<item-uuid>")
```
Parse the response and display a status card. Use this format:
```
◉ "Implement authentication module"
Role: work
Gate: ⊘ blocked — 2 required notes missing
Missing: implementation-notes (work, required)
test-results (work, required)
Guidance: "Describe what was implemented, which files changed, and why
the approach was chosen..."
```
```
◉ "Design API schema"
Role: queue
Gate: ✓ open — all required notes filled (or no schema)
Next: advance_item(trigger="start") → work
```
**Fields to surface from `get_context` response:**
| Response Field | What to Show |
|---|---|
| `item.role` | Current role label |
| `gateStatus.canAdvance` | ✓ open or ⊘ blocked |
| `gateStatus.missing` | List each missing note key + role |
| `guidancePointer` | Free text — show as "Guidance:" if present |
| `noteSchema` | List all schema notes with `exists` status |
If the item has no schema (no tags matching a schema key), `noteSchema` will be empty and the gate is always open.
---
## Step 3: Fill Missing Notes (if Gated)
If `gateStatus.canAdvance = false`, the item cannot advance until required notes are filled.
For each missing note, check whether its content can be inferred from the conversation context. If yes, fill it directly. If not, ask the user what to capture.
Use `guidancePointer` to prompt the user — it contains the guidance text for the first unfilled required note in the current phase. Only one `guidancePointer` is returned — for the first unfilled required note. See schema entries list for all unfilled notes.
Fill notes with:
```
manage_notes(
operation="upsert",
notes=[
{ itemId: "<uuid>", key: "implementation-notes", role: "work", body: "<content>" },
{ itemId: "<uuid>", key: "test-results", role: "work", body: "<content>" }
]
)
```
After filling, re-check gate status:
```
get_context(itemId="<uuid>")
```
Confirm `gateStatus.canAdvance = true` before proceeding to Step 4. If notes are still missing after the upsert, show the updated status card and repeat for any remaining gaps.
---
## Step 4: Advance the Item
With the gate open, call `advance_item` using the appropriate trigger (see Trigger Reference below):
```
advance_item(transitions=[{ itemId: "<uuid>", trigger: "start" }])
```
Parse the response and report the transition result:
```
✓ Advanced: queue → work
↳ Cascade: "Feature: Auth System" also moved queue → work
↳ Unblocked: "Write integration tests" (was waiting on this item)
↳ Next phase notes:
implementation-notes (work, required)
test-results (work, required)
```
**Fields to check in the advance response:**
| Response Field | What to Report |
|---|---|
| `previousRole` + `newRole` | The core transition |
| `cascadeEvents` | Parent or ancestor items that auto-transitioned |
| `unblockedItems` | Sibling items that are now actionable |
| `expectedNotes` | Notes for the next phase — show as "Next phase notes:" |
If `cascadeEvents` is empty, omit the cascade line. If `unblockedItems` is empty, omit the unblocked line. If `expectedNotes` is empty or absent (no schema), omit the next phase notes line.
---
## Trigger Reference
Choose the trigger based on the item's current role and the desired outcome:
| Trigger | Transition | When to Use |
|---------|-----------|-------------|
| `start` | QUEUE → WORK | Begin working on a planned item |
| `start` | WORK → REVIEW (or TERMINAL if no review schema) | Implementation complete, ready for verification |
| `start` | REVIEW → TERMINAL | Review passed, close the item |
| `complete` | Any non-terminal → TERMINAL | Jump straight to done — skips remaining phases |
| `cancel` | Any non-terminal → TERMINAL | Abandon the item — no note gates enforced |
| `block` | Any non-terminal → BLOCKED | Pause work — saves `previousRole` for later resume |
| `resume` | BLOCKED → previousRole | Return to the role the item was in before blocking |
**Important notes:**
- `start` checks gates for the **current phase only** — missing notes for the current phase block the transition; future-phase notes are not checked
- `complete` checks gates across **all phases** — all required notes across queue, work, and review must be filled before terminal is reached; because it jumps directly to terminal, skipping intermediate phases, all prior phase notes are verified up front
- `cancel` does **not** check gates — items can be cancelled at any time regardless of missing notes; `statusLabel` is set to `"cancelled"`; allowing cleanup regardless of state is intentional so a blocked or incomplete item can always be abandoned
- `block` and `resume` are a paired workflow — `block` saves `previousRole` internally so `resume` always returns to the exact role before blocking; do not use `start` to resume a blocked item; this pairing is what guarantees resume returns to exact pre-block role rather than restarting from queue
- When an item reaches TERMINAL, any items that had a `BLOCKS` dependency on it become unblocked — they appear in `unblockedItems` in the advance response
- Cascade events: the **first child** to start from queue triggers its parent to cascade queue → work; the **last child** to reach terminal triggers its parent to cascade → terminal
---
## Troubleshooting
**Problem: `advance_item` fails with "required notes not filled"**
Cause: The current phase has required notes that have not been upserted yet. Gate enforcement runs before the transition executes.
Solution: Call `get_context(itemId="<uuid>")` to see exactly which notes are missing. Fill each one with `manage_notes(operation="upsert")`, then retry `advance_item`.
---
**Problem: Item cannot advance — it is blocked by a dependency**
Cause: Another item has a `BLOCKS` edge pointing to this item, and that blocking item has not yet reached terminal role.
Solution: Find the blocker:
```
query_dependencies(itemId="<uuid>", direction="incoming", includeItemInfo=true)
```
Identify the blocking item (role will be non-terminal). Advance the blocking item to terminal first. When it completes, the current item appears in `unblockedItems`.
---
**Problem: Item is in BLOCKED role and `start` fails**
Cause: The item is in the BLOCKED role (was explicitly blocked with `trigger: "block"`). The `start` trigger is not valid from BLOCKED — it is only valid from QUEUE, WORK, or REVIEW.
Solution: Use `trigger: "resume"` to return the item to its previous role:
```
advance_item(transitions=[{ itemId: "<uuid>", trigger: "resume" }])
```
After resuming, check `get_context` and then advance normally with `start` if the gate is open.
---
**Problem: Want to skip the review phase and go directly to terminal**
Cause: The item is in WORK role and has a review-phase schema, but verification is already done or not applicable.
SoRelated in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.