plugins/dp-cab/skills/triage/SKILL.md
Use when the filing cabinet has accumulated items and needs cleanup — 'triage the backlog', 'clean up filed items', 'what can we close', 'prioritize the bugs'. Batch validation, consolidation, and promotion.
npx skillsauth add raisedadead/dotplugins triageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read ${CLAUDE_SKILL_DIR}/references/triage-ceremony.md for full protocol details.
if ! command -v dp-engine >/dev/null 2>&1; then echo "NO_ENGINE"; exit 0; fi
if ! dp-engine status >/dev/null 2>&1; then echo "NO_DB"; exit 0; fi
echo "OK"
If NO_ENGINE: "dp-engine binary not found. Reinstall the dp-cab plugin." and STOP.
If NO_DB: "No tracker DB found." and STOP.
cabinet=$(dp-engine query "label=dp-cab:cabinet AND type=epic AND (status=open OR status=deferred)" 2>/dev/null | jq -r ".[0].id // empty")
if [ -z "$cabinet" ]; then echo "NO_CABINET"; exit 0; fi
echo "CABINET=$cabinet"
dp-engine children-open "$cabinet" | jq -r ".[] | {id, title, status, priority}"
If NO_CABINET, report: "No FILING-CABINET epic found." and STOP.
dp-engine query "label=dp-cab:filed AND status=open" 2>/dev/null | jq -r ".[] | {id, title, status, priority}"
Merge both sources (deduplicate by ID). Present a numbered inventory table.
If empty across both sources: "Nothing to triage." and STOP.
Walk through six phases in order: validate, consolidate, assess, promote, prioritize, summary. Follow the protocol in ${CLAUDE_SKILL_DIR}/references/triage-ceremony.md for each phase.
Ask: "Ready to begin validation?" before starting.
For tracker mutations and codebase verification, dispatch the triager agent instead of running commands in the main thread.
Main thread keeps:
Triager agent gets dispatched for:
Dispatch via: Agent tool with subagent_type: "dp-cab:triager", include the issue ID(s) and requested action in the prompt. Parse the triager's receipt to confirm results before presenting to the user.
dp-engine tracker CLI -- always use dp-engine subcommandsdevelopment
Use when the user shares a URL, names a resource from SOURCES.md, shares operational feedback, says 'adopt', 'learn from', 'what can we steal from', 'compare with', 'self-develop', or 'how do we get better'.
tools
Use when you need to set up or rebuild the dp-lsp Docker image after installing the plugin — 'set up LSP', 'build the image', 'install language servers'.
development
Use when you want to write tests first, enforce test-driven development, or add test coverage — 'write tests for this', 'TDD this feature', 'add test coverage'. Strict RED-GREEN-REFACTOR discipline.
testing
Use when starting major work that needs formal design review — cross-team changes, architectural decisions, or complex features where requirements need discovery before implementation.