/work-items:scan-todos [--path <dir>] [--work]from work-items
Scans source code for TODO, FIXME, HACK, and XXX markers, then resolves or files each one. Useful for cleaning up tech-debt comments in a codebase.
Ships in work-items. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Arguments: $ARGUMENTS, parsed as the flags below.
The seam, operation routing, label taxonomy, canonical-role remapping, recurring schedule, and
memory-tier write rule that every work-items skill relies on live in
${CLAUDE_PLUGIN_ROOT}/reference/tracker-seam.md
(and the references it links). Read it at the start of an invocation. Item creation goes through the
seam via the /work-items:track add path; the core inlines no provider commands.
Resolve or file each actionable comment marker. To catch new markers as they land, prefer a commit-time hygiene gate (linter or git hook) in the consuming repo.
--path <dir>: limit the scan to one directory (default: repo root).--work: after presenting groups, auto-select the smallest group and start resolving.If the consuming repo has its own comment-hygiene tooling (a shared pattern library, a lint lane), detect with it. Otherwise scan tracked files directly:
# -C roots the scan at the repo top — a bare git grep from a subdirectory searches only that subtree.
# With --path <dir>, thread it in as a root-relative pathspec (keep the exclusions): ... -- '<dir>' ':!*.min.*' ':!*node_modules*'
git -C "<project root>" grep -nE '\b(TODO|FIXME|HACK|XXX)\b' -- ':!*.min.*' ':!*node_modules*' | tr -d '\r'
<project root> is the literal path tracker-seam.md "Project root" resolves, in its own Bash call before this snippet.
TODO/FIXME/HACK/XXX markers describing work to do; internal tracker provenance comments (e.g. item #N breadcrumbs left in code)org/repo#issue), structured task-list grammar in working-notes files (e.g. [TODO] phase tags), test fixtures that assert on the literal marker text, and the consuming repo's documented exclusion paths/work-items:triage for the raw items it filed.
Scan using the detection command above (or the repo's own tooling). Avoid per-file grep loops over large trees, one git grep pass scales; per-file spawning is unusable on Windows.
Group by parent folder. Count items per group.
Present summary table sorted by count (smallest first).
User selects a group (by #) or use --work to auto-select the smallest.
For each marker, read 10 lines of context before and after, then classify:
/work-items:track add via the Skill tool following the shared self-observation contract (${CLAUDE_PLUGIN_ROOT}/reference/dogfood-filing.md: dedupe → categorize → fixed shape → needs-triage; per-user ai_disclaimer: ${user_config.ai_disclaimer}), remove the inline marker (do not leave TODO as a stand-in for the item). In a run the user invoked, their group choice or --work is the filing authorization (../track/actions/add.md "Authorization gate")Never "Keep (intentional)" for actionable TODO/FIXME/HACK/XXX in merged production code.
After processing a group, present a results table: file, line, action, detail.
Verify: run the consuming repo's build/test/lint commands if any source file changed.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
todo-scan, fixme-scan, tech-debt, code-cleanup, comment-hygiene
12 skills in this plugin
/attend-queueVariablesAttend the loop-lane human queue: drives escalated items to resolution and lists held pull requests, post-merge failures and untriaged intake beside them, handing each intake row to /work-items:triage, then works parked needs-human items one at a time. Answers escalations via interview, comments answers back, flips unblocked items autonomous-eligible. Never executes or merges. Use when: 'attend the queue', 'answer escalations', 'work the escalation queue', 'what needs my attention across the lanes', 'HITL queue', 'clear the human queue'. Autonomous drain: /work-items:work-loop./decomposeVariablesTurn a plan, spec, or PRD into independently-grabbable vertical-slice work items, classify each AFK (agent-ready) or HITL (needs-human), and publish them blockers-first with dependency edges, optionally under a spec container. Also re-slices (reroutes) when the spec changes mid-flight. Use when the user wants a plan, PRD, or brief broken into tickets or work items, published to the tracker, or re-decomposed. Single-item CRUD is /work-items:track; executing one is /work-items:work.npx claudepluginhub melodic-software/claude-code-plugins --plugin work-itemsOther plugins' skills for the same job