<< All versions

Skill v1.0.0

currentAutomated scan100/100
cookys/autopilot/next-dc-full
──Details
PublishedNovember 17, 2026 at 01:30 PM
Content Hashsha256:58b5082dda33e2ad...
Git SHA5707259ed785
──Files
Files (1 file, 5.7 KB)
SKILL.md5.7 KBactive
SKILL.md · 139 lines · 5.7 KB

name: next description: > Recommend what to work on next by scanning all projects, plans, backlog, and proposals. Use when: "/next", "what should I work on", "what's the highest priority", "what to pick up now", "I have N hours — what fits?", "下一步做什麼", "最高優先是什麼", "現在該做什麼", or right after archiving a completed project. Not for: creating plans, starting implementation, or running quality checks. metadata: version: "1.0.0"


Next — Work Recommender Engine

Routing overlap? If this intent better matches a sibling skill, redirect per references/routing-tiebreaks.md (prefer backlog scanning over strategic prioritization debate).

Scan all work sources, present categorized results, converge to a single recommendation.

Project Config (auto-injected)

!cat .claude/next-config.md 2>/dev/null || true

Trigger

TriggerWhenNotes
AutoAfter autopilot:project-lifecycle completesReplaces old Backlog Pickup
ManualUser types /nextAny time
Deep/next --deepForces C-level scan

Scan Depth (Adaptive)

Read .claude/next-state.json to determine depth.

LevelConditionScopeTime
ADefaultStructured data (INDEX/BACKLOG/plans/proposals)Seconds
BLast A > 12 hours agoA + skill sizes, knowledge staleness, MEMORY.md size10-30s
C/next --deepB + git log cold zones, TODO/FIXME stats, deploy drift1-2 min

Update .claude/next-state.json after each scan with ISO timestamps.

Execution Flow

Phase 0: Hygiene (Silent)

Process accumulated digests and improvement-queue without user interaction. Details: references/phase0-hygiene.md

Phase 1: Scan All Sources

CategorySourceMethod
Devdocs/projects/INDEX.mdFind in-progress projects' next Phase
docs/projects/INDEX.md rows with Version activeThe plan registry (check-plan-graduation.js's plan_unregistered gate) — plans in design/implementation stage
docs/BACKLOG.mdCheck if trigger conditions are met
docs/proposals/List pending proposals
Maintenanceimprovement-queue.jsonPending items (from Phase 0)
[B] skills/*/SKILL.mdSkills > 200 lines
[B] MEMORY.md> 170 lines
[B] ~/.autopilot/distill/scan-state.jsonmtime > 14 days OR file missing (scan never ran) → list "distill frequency scan overdue" under Maintenance
Knowledgesession-digests/Phase 0 results
[B] knowledge/*.mdlast-verified > 30 days
Tech Debtdocs/BACKLOG.md tech-debtList all (even unmet triggers)
[C] src/TODO/FIXME count
[C] git log --since="30 days ago"Untouched src/ subdirectories

Phase 2: Rank + Recommend

P1: In-progress project's next Phase (interrupted work is highest priority)
P2: Backlog XS/S/M-effort with met trigger conditions (quick wins)
P3: Active plans (designed, awaiting implementation)
P4: Maintenance — improvement-queue + stale knowledge (XS/S effort)
P5: Backlog L/XL-effort (human gate) with met trigger conditions
P6: Proposals (need evaluation first)
P7: Tech debt / unmet-trigger Backlog (list only)

Phase 3: Output

-- Global Scan (<A/B/C> level) --
[Dev]
- <item> — <source>, <size>
[Maintenance]
- <item> — <type> (S)
[Knowledge]
- <N> session digests processed (<M> recorded, <K> skipped)
[Tech Debt]
- <item> — backlog, trigger: <condition>
---
Recommendation: <highest priority item>
Reason: <why this one>
Size: <S/L>
Next: confirm then invoke autopilot:dev-flow

If all sources empty: suggest /next --deep or propose new features.

Phase 4: After User Confirms

  • User agrees → invoke autopilot:dev-flow with selected task
  • User picks another → invoke autopilot:dev-flow with user's choice
  • User skips all → end

Relationship to Other Skills

SkillRelationship
autopilot:dev-flowExecution engine — /next selects task, dev-flow takes over
autopilot:project-lifecycleInvokes /next after archiving
digest-review (absorbed)Absorbed into Phase 0
improvement-queue (absorbed)Absorbed into Phase 0 (references/phase0-hygiene.md)
memory-health (absorbed)B-level partially calls its checks; see autopilot:learn skill, Knowledge Health Audit section

Autonomous auto-pick (CEO / l4-l6 idle transitions)

When a depth-0 brain picks the next item WITHOUT the user (CEO mode idle transition), the pick is a proxy decision and goes through `scripts/next-pick.js`: parse extracts machine-readable candidate rows from docs/BACKLOG.md, pick ranks them deterministically from a materialized record (user class-weights outrank every system signal; L/XL-effort or urgent (!/急) rows, board-tagged, and hard-problem rows queue ask-first and are NEVER auto-picked) and appends the pick + record to the decision ledger for the round-end report. Interactive /next keeps this skill's judgment flow — the script is the autonomous path's deterministic subset.

Backlog Effort values are XS–XL with an optional !/急 urgent suffix; the retired values Fix/H are rejected. Migrate a backlog with node scripts/migrate-backlog-entries.js --rename-effort --apply.

See Also

  • Phase 0 Hygiene Details
  • autopilot:dev-flow — task execution after selection
  • autopilot:learn — called when Phase 0 finds high-value digests
All versions