From mk
Scans project state (plans, reviews, tests, git) and recommends the next step in the 7-phase pipeline. Use when unsure what to do next.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mk:help [--verbose]When to use
Use when the user asks for help understanding which skills or commands to use. Surfaces available commands and their purposes.
[--verbose]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Answers "What should I do next?" by scanning project state and mapping to the 7-phase pipeline.
Answers "What should I do next?" by scanning project state and mapping to the 7-phase pipeline.
mk:help is the FORWARD-looking navigator (what to do next). Backward-looking delivery
analysis stays with /mk:status (project-manager) — this skill never reproduces it.
Collect candidates from ALL scan sources below, then RANK them and emit the top 3 — do NOT stop at the first hit. The rank-1 candidate equals what the old "stop at first actionable hit" behavior would have returned (back-compat); ranks 2–3 are alternates with one-line rationale. This skill is read-only: it reads state, never writes it.
Check session-state/*-progress.json for any in-progress step-file workflow.
/mk:[skill] to continue."Check tasks/plans/ for plan files without matching review verdicts.
Check tasks/reviews/ for verdict files with WARN or action items.
Check git status for staged/unstaged changes.
/mk:ship (Phase 5)"No plans, no reviews, no changes.
/mk:retro, or ask me anything."ALL four may be absent at rest (e.g. session-state/checkpoints/ does not exist until
runtime). Absent file → skip silently; note the skip only under --verbose. Never error
on a missing source.
| # | Source | Fields to read | Absent-case |
|---|---|---|---|
| 6 | session-state/checkpoints/checkpoint-latest.json | state.model_tier, progress.plan_path, environment.{git_branch,working_dir_clean,uncommitted_changes}, budget.{estimated_spent_usd,turn_count}, created_at | skip; no checkpoint context |
| 7 | session-state/budget-state.json | estimated_cost_usd, turn_count, warnings_emitted (advisory only) | skip; no budget caution |
| 8 | session-state/detected-model.json | tier (authoritative current-session tier) | skip; tier unknown |
| 9 | tasks/reviews/<slug>-verdict.json | decision, dimensions[].verdict, created_at; .md is prose fallback | use git/plan scan only |
| 10 | docs/development-roadmap.md (when present; Type-1 allowlisted) | current phase / milestone progress | skip; tag (CF-C5) if relied on |
Model tier: source the current tier from session-state/detected-model.json (written
fresh at SessionStart). Do NOT source model_tier from budget-state.json — it has no
created_at/session marker and may carry a prior session's tier. Treat budget figures as
advisory unless a current-session signal corroborates them.
Staleness: if checkpoint-latest.json created_at is older than 24h, demote its
evidence and note the staleness in the rationale.
Collect candidates from all sources, then rank:
decision === "BLOCKED" — the verdict enum is PASS | PASS_WITH_RISK | BLOCKED; there is NO top-level "FAIL" value. FAIL exists only per-dimension in
dimensions[].verdict. Cite the failing dimension(s) in the rationale.status: in-progress, or GFM - [ ] checkboxes
remaining) → continue action, rationale cites checkbox % (count - [x] vs - [ ]).warnings_emitted > 0 OR spent ≥ $30, fold a budget caution into
the rank-1 rationale (does not by itself create a rank).Each candidate's rationale MUST cite the source file(s) it came from.
For skill suggestions based on task type, see mk:agent-detector (its references/lifecycle-routing.md maps task patterns to skills).
Alias:
/mk:planroutes tomk:plan-creator(slash-command wrapper at.claude/commands/meow/plan.md). Subcommandsred-team,validate,archiveare handled by the same skill.
| State | Pipeline Phase | Recommendation |
|---|---|---|
| No plan | Phase 0 → 1 | "Start with /mk:plan or describe your task" |
| Existing plan — stress-test | Standalone subcommand | "/mk:plan red-team {path} — adversarial review of existing plan" |
| Existing plan — interview | Standalone subcommand | "/mk:plan validate {path} — critical question interview on existing plan" |
| Completed/cancelled plans | Housekeeping | "/mk:plan archive — archive completed or cancelled plans" |
| Plan approved, no tests | Phase 2 (TDD mode only) | "In TDD mode (--tdd / MEOWKIT_TDD=1): run tester agent — write failing tests (RED phase). In default mode: skip Phase 2; run developer directly" |
| Tests written, failing | Phase 3 | "Run developer agent — implement to pass tests (GREEN)" |
| Tests passing, no review | Phase 4 | "Run /mk:review — adversarial code review" |
| Review PASS/WARN | Phase 5 | "Run /mk:ship — commit, PR, deploy" |
| Shipped | Phase 6 | "Run documenter — update docs, then /mk:retro" |
| Paused workflow | Resume | "Resume [skill] at step [N]" |
| Mixed state | Clarify | "Multiple items in progress. Which to focus on?" |
| Situation | Skill | When to suggest |
|---|---|---|
| Operations, triage, case management, escalation protocols, billing workflows | /mk:decision-framework | User asks "how should we handle X cases" or is designing any case-routing system |
| "Is everything green?", pre-review check, post-implementation validation | /mk:verify | After implementation completes, before review, or when user wants a quick health check |
| API design, endpoint structure, REST/GraphQL conventions | /mk:api-design | User is planning backend endpoints or asking about API conventions |
Not every task needs the full 7-phase pipeline. Mention these when relevant:
| Situation | Fast Path | What it bypasses |
|---|---|---|
| Simple bug fix, typo, rename, config tweak | /mk:fix | Gate 1 (plan approval) — scope is the plan |
Task flagged as one-shot by scale-routing | Auto Gate 1 bypass | Gate 1 — zero blast radius confirmed |
| Rapid iteration / spike work | MEOW_HOOK_PROFILE=fast | post-write scan, pre-ship, pre-task-check, TDD check |
Quick fix? Use /mk:fix — bypasses Gate 1 for simple changes.
Small config change? Scale-routing may auto-bypass Gate 1 when blast radius is zero.
Hook profiles: Set MEOW_HOOK_PROFILE=fast for rapid iteration (skips non-critical hooks).
Set MEOW_HOOK_PROFILE=strict to enable ALL hooks including post-session capture.
session-state/ files from previous sessions may be stale — check timestamps, warn if >24h oldsrc/, lib/, app/, tests/session-state/checkpoints/ does not exist until runtime — its absence is normal, not an error; skip silentlybudget-state.json is missing at session start — treat budget figures as advisory; never source model tier from it (use detected-model.json)*-verdict.json over the .md prose verdict; a verdict is blocked when decision === "BLOCKED" (never a top-level "FAIL")/mk:status; do not duplicate it hereThe ranked next-steps are a JSON-compatible shape (documented here for downstream tooling), rendered as a concise human summary. This skill does NOT emit machine JSON itself — there is no scanner script; the shape documents what the ranking reasons about.
{
"next_steps": [
{
"rank": 1,
"action": "/mk:cook tasks/plans/260610-x/plan.md",
"priority": "high",
"rationale": "Plan approved (Gate 1), phase-02 in-progress at 3/7 checkboxes; budget $4.20 of $30",
"source": ["tasks/plans/260610-x/phase-02-*.md", "session-state/budget-state.json"]
}
],
"progress": { "plan": "260610-x", "phases_done": 1, "phases_total": 6, "checkbox_pct": 43 }
}
Human rendering (same headings as before — rank-1 is "Recommended Next Step"):
## Status
**Current phase:** [Phase N — Name]
**State:** [brief description]
### Recommended Next Step
[rank-1 action] — [rationale]
### Other Options
- [rank-2 action] — [one-line rationale]
- [rank-3 action] — [one-line rationale]
If --verbose flag: also show full state scan results (plan files, review files, test
status, git status) AND which additional sources (6–10) were present vs skipped.
npx claudepluginhub ngocsangyem/meowkit --plugin mkAuto-analyzes project state including tasks, source code, git conflicts, and agents to recommend 1-2 optimal skills. Use on 'what's next?' questions or /workflow trigger.
Analyzes project state to suggest next actions based on pipeline status, artifacts, and context. Helps developers decide what to do next.
Displays project status, roadmap progress, blockers, and next-action suggestions based on workflow state. Useful for progress checks and orientation.