/triage
Triage and categorize findings for the CLI todo system
$ npx -y skills add davekilleen/Dex --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/triage
Context preview
What this command does when you run it.
Triage and categorize findings for the CLI todo system
Command definition
triage.mdname: triage
description: Triage and categorize findings for the CLI todo system
argument-hint: "[findings list or source type]"
- First set the /model to Haiku
- Then read all pending todos in the todos/ directory
Present all findings, decisions, or issues here one by one for triage. The goal is to go through each item and decide whether to add it to the CLI todo system.
**IMPORTANT: DO NOT CODE ANYTHING DURING TRIAGE!**
This command is for:
- Triaging code review findings
- Processing security audit results
- Reviewing performance analysis
- Handling any other categorized findings that need tracking
Workflow
Step 1: Present Each Finding
For each finding, present in this format:
---
Issue #X: [Brief Title]
Severity: ๐ด P1 (CRITICAL) / ๐ก P2 (IMPORTANT) / ๐ต P3 (NICE-TO-HAVE)
Category: [Security/Performance/Architecture/Bug/Feature/etc.]
Description:
[Detailed explanation of the issue or improvement]
Location: [file_path:line_number]
Problem Scenario:
[Step by step what's wrong or could happen]
Proposed Solution:
[How to fix it]
Estimated Effort: [Small (< 2 hours) / Medium (2-8 hours) / Large (> 8 hours)]
---
Do you want to add this to the todo list?
1. yes - create todo file
2. next - skip this item
3. custom - modify before creating
Step 2: Handle User Decision
**When user says "yes":**
1. **Update existing todo file** (if it exists) or **Create new filename:**
If todo already exists (from code review):
- Rename file from `{id}-pending-{priority}-{desc}.md` โ `{id}-ready-{priority}-{desc}.md`
- Update YAML frontmatter: `status: pending` โ `status: ready`
- Keep issue_id, priority, and description unchanged
If creating new todo:
{next_id}-ready-{priority}-{brief-description}.mdPriority mapping:
- ๐ด P1 (CRITICAL) โ `p1`
- ๐ก P2 (IMPORTANT) โ `p2`
- ๐ต P3 (NICE-TO-HAVE) โ `p3`
Example: `042-ready-p1-transaction-boundaries.md`
2. **Update YAML frontmatter:**
---
status: ready # IMPORTANT: Change from "pending" to "ready"
priority: p1 # or p2, p3 based on severity
issue_id: "042"
tags: [category, relevant-tags]
dependencies: []
---
3. **Populate or update the file:**
# [Issue Title]
## Problem Statement
[Description from finding]
## Findings
- [Key discoveries]
- Location: [file_path:line_number]
- [Scenario details]
## Proposed Solutions
### Option 1: [Primary solution]
- **Pros**: [Benefits]
- **Cons**: [Drawbacks if any]
- **Effort**: [Small/Medium/Large]
- **Risk**: [Low/Medium/High]
## Recommended Action
[Filled during triage - specific action plan]
## Technical Details
- **Affected Files**: [List files]
- **Related Components**: [Components affected]
- **Database Changes**: [Yes/No - describe if yes]
## Resources
- Original finding: [Source of this issue]
- Related issues: [If any]
## Acceptance Criteria
- [ ] [Specific success criteria]
- [ ] Tests pass
- [ ] Code reviewed
## Work Log
### {date} - Approved for Work
**By:** Claude Triage System
**Actions:**
- Issue approved during triage session
- Status changed from pending โ ready
- Ready to be picked up and worked on
**Learnings:**
- [Context and insights]
## Notes
Source: Triage session on {date}4. **Confirm approval:** "โ
Approved: `{new_filename}` (Issue #{issue_id}) - Status: **ready** โ Ready to work on"
**When user says "next":**
- **Delete the todo file** - Remove it from todos/ directory since it's not relevant
- Skip to the next item
- Track skipped items for summary
**When user says "custom":**
- Ask what to modify (priority, description, details)
- Update the information
- Present revised version
- Ask again: yes/next/custom
Step 3: Continue Until All Processed
- Process all items one by one
- Track using TodoWrite for visibility
- Don't wait for approval between items - keep moving
Step 4: Final Summary
After all items processed:
## Triage Complete
**Total Items:** [X] **Todos Approved (ready):** [Y] **Skipped:** [Z]
### Approved Todos (Ready for Work):
- `042-ready-p1-transaction-boundaries.md` - Transaction boundary issue
- `043-ready-p2-cache-optimization.md` - Cache performance improvement ...
### Skipped Items (Deleted):
- Item #5: [reason] - Removed from todos/
- Item #12: [reason] - Removed from todos/
### Summary of Changes Made:
During triage, the following status updates occurred:
- **Pending โ Ready:** Filenames and frontmatter updated to reflect approved status
- **Deleted:** Todo files for skipped findings removed from todos/ directory
- Each approved file now has `status: ready` in YAML frontmatter
### Next Steps:
1. View approved todos ready for work:
```bash
ls todos/*-ready-*.md
2. Start work on approved items:
```bash
/resolve_todo_parallel # Work on multiple approved items efficiently
3. Or pick individual items to work on
4. As you work, update todo status:
- Ready โ In Progress (in your local context as you work)
- In Progress โ Complete (rename file: ready โ complete, update frontmatter)
## Example Response Format
---
Issue #5: Missing Transaction Boundaries for Multi-Step Operations
Severity: ๐ด P1 (CRITICAL)
Category: Data Integrity / Security
Description: The google_oauth2_connected callback in GoogleOauthCallbacks concern performs multiple database operations without transaction protection. If any step fails midway, the database is left in an inconsistent state.
Location: app/controllers/concerns/google_oauth_callbacks.rb:13-50
Problem Scenario:
1. User.update succeeds (email changed) 2. Account.save! fails (validation error) 3. Result: User has changed email but no associated Account 4. Next login attempt fails completely
Operations Without Transaction:
- User confirmation (line 13)
- Waitlist removal (line
Read more
name: triage description: Triage and categorize findings for the CLI todo system argument-hint: "[findings list or source type]"
- First set the /model to Haiku
- Then read all pending todos in the todos/ directory
Present all findings, decisions, or issues here one by one for triage. The goal is to go through each item and decide whether to add it to the CLI todo system.
**IMPORTANT: DO NOT CODE ANYTHING DURING TRIAGE!**
This command is for:
- Triaging code review findings
- Processing security audit results
- Reviewing performance analysis
- Handling any other categorized findings that need tracking
Workflow
Step 1: Present Each Finding
For each finding, present in this format:
--- Issue #X: [Brief Title] Severity: ๐ด P1 (CRITICAL) / ๐ก P2 (IMPORTANT) / ๐ต P3 (NICE-TO-HAVE) Category: [Security/Performance/Architecture/Bug/Feature/etc.] Description: [Detailed explanation of the issue or improvement] Location: [file_path:line_number] Problem Scenario: [Step by step what's wrong or could happen] Proposed Solution: [How to fix it] Estimated Effort: [Small (< 2 hours) / Medium (2-8 hours) / Large (> 8 hours)] --- Do you want to add this to the todo list? 1. yes - create todo file 2. next - skip this item 3. custom - modify before creating
Step 2: Handle User Decision
**When user says "yes":**
1. **Update existing todo file** (if it exists) or **Create new filename:**
If todo already exists (from code review):
- Rename file from `{id}-pending-{priority}-{desc}.md` โ `{id}-ready-{priority}-{desc}.md`
- Update YAML frontmatter: `status: pending` โ `status: ready`
- Keep issue_id, priority, and description unchanged
If creating new todo:
{next_id}-ready-{priority}-{brief-description}.mdPriority mapping:
- ๐ด P1 (CRITICAL) โ `p1`
- ๐ก P2 (IMPORTANT) โ `p2`
- ๐ต P3 (NICE-TO-HAVE) โ `p3`
Example: `042-ready-p1-transaction-boundaries.md`
2. **Update YAML frontmatter:**
--- status: ready # IMPORTANT: Change from "pending" to "ready" priority: p1 # or p2, p3 based on severity issue_id: "042" tags: [category, relevant-tags] dependencies: [] ---
3. **Populate or update the file:**
# [Issue Title]
## Problem Statement
[Description from finding]
## Findings
- [Key discoveries]
- Location: [file_path:line_number]
- [Scenario details]
## Proposed Solutions
### Option 1: [Primary solution]
- **Pros**: [Benefits]
- **Cons**: [Drawbacks if any]
- **Effort**: [Small/Medium/Large]
- **Risk**: [Low/Medium/High]
## Recommended Action
[Filled during triage - specific action plan]
## Technical Details
- **Affected Files**: [List files]
- **Related Components**: [Components affected]
- **Database Changes**: [Yes/No - describe if yes]
## Resources
- Original finding: [Source of this issue]
- Related issues: [If any]
## Acceptance Criteria
- [ ] [Specific success criteria]
- [ ] Tests pass
- [ ] Code reviewed
## Work Log
### {date} - Approved for Work
**By:** Claude Triage System
**Actions:**
- Issue approved during triage session
- Status changed from pending โ ready
- Ready to be picked up and worked on
**Learnings:**
- [Context and insights]
## Notes
Source: Triage session on {date}4. **Confirm approval:** "โ Approved: `{new_filename}` (Issue #{issue_id}) - Status: **ready** โ Ready to work on"
**When user says "next":**
- **Delete the todo file** - Remove it from todos/ directory since it's not relevant
- Skip to the next item
- Track skipped items for summary
**When user says "custom":**
- Ask what to modify (priority, description, details)
- Update the information
- Present revised version
- Ask again: yes/next/custom
Step 3: Continue Until All Processed
- Process all items one by one
- Track using TodoWrite for visibility
- Don't wait for approval between items - keep moving
Step 4: Final Summary
After all items processed:
## Triage Complete **Total Items:** [X] **Todos Approved (ready):** [Y] **Skipped:** [Z] ### Approved Todos (Ready for Work): - `042-ready-p1-transaction-boundaries.md` - Transaction boundary issue - `043-ready-p2-cache-optimization.md` - Cache performance improvement ... ### Skipped Items (Deleted): - Item #5: [reason] - Removed from todos/ - Item #12: [reason] - Removed from todos/ ### Summary of Changes Made: During triage, the following status updates occurred: - **Pending โ Ready:** Filenames and frontmatter updated to reflect approved status - **Deleted:** Todo files for skipped findings removed from todos/ directory - Each approved file now has `status: ready` in YAML frontmatter ### Next Steps: 1. View approved todos ready for work: ```bash ls todos/*-ready-*.md
2. Start work on approved items: ```bash /resolve_todo_parallel # Work on multiple approved items efficiently
3. Or pick individual items to work on
4. As you work, update todo status:
- Ready โ In Progress (in your local context as you work)
- In Progress โ Complete (rename file: ready โ complete, update frontmatter)
## Example Response Format
---
Issue #5: Missing Transaction Boundaries for Multi-Step Operations
Severity: ๐ด P1 (CRITICAL)
Category: Data Integrity / Security
Description: The google_oauth2_connected callback in GoogleOauthCallbacks concern performs multiple database operations without transaction protection. If any step fails midway, the database is left in an inconsistent state.
Location: app/controllers/concerns/google_oauth_callbacks.rb:13-50
Problem Scenario:
1. User.update succeeds (email changed) 2. Account.save! fails (validation error) 3. Result: User has changed email but no associated Account 4. Next login attempt fails completely
Operations Without Transaction:
- User confirmation (line 13)
- Waitlist removal (line
A personal operating system powered by Claude. Strategic work management, meeting intelligence, relationship tracking, daily planning โ all configured for your specific role. No coding required.
Repo: davekilleen/Dex
Other commands on davekilleen-dex.
- /agent-native-audit
Run comprehensive agent-native architecture review with scored principles
Open command - /changelog
Create engaging changelogs for recent merges to main branch
Open command - /create-agent-skill
Create or edit Claude Code skills with expert guidance on structure and best practices
Open command - /deepen-plan
Enhance a plan with parallel research agents for each section to add depth, best practices, and implementation details
Open command - /deploy-docs
Validate and prepare documentation for GitHub Pages deployment
Open command - /feature-video
Record a video walkthrough of a feature and add it to the PR description
Open command

