with one click
do-work
Process autonomous task queue from do-work/ folder
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Process autonomous task queue from do-work/ folder
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Enter plan mode for complex tasks (pour energy into the plan for 1-shot implementation)
Initiate autonomous PR review process with Codex agent
Run comprehensive repo assessment with Codex (every 3 PRs)
Comprehensive security audit covering 10 threat categories
Install all automation for a new repo (git hooks + GitHub Actions)
Automated PR submission - runs pre-checks, creates PR, and starts review
| name | do-work |
| description | Process autonomous task queue from do-work/ folder |
Created: 2026-02-11-00-00 Last Updated: 2026-02-11-00-00
Process tasks from the do-work/ folder, executing them in priority order with full branch workflow. Auto-triggers after PR merges, on session start with no task, and during autonomous sessions.
/do-work # Process next available task
/do-work --all # Process all tasks in order
/do-work --dry-run # Preview what would be processed
Read all .md files from the do-work/ folder, sorted by filename (use numeric prefixes for priority):
do-work/
├── 001-add-rate-limiting.md ← Highest priority
├── 002-refactor-auth-module.md
├── 003-write-api-docs.md
├── 010-nice-to-have-cleanup.md ← Lower priority
Skip files that start with DONE- or SKIP- prefix.
Numbering convention:
Each task file should contain:
# Task Title
## Context
What this task is about and why it matters.
## Requirements
- Specific requirement 1
- Specific requirement 2
- Acceptance criteria
## Scope
Files/areas that should be touched.
## Notes
Any gotchas, constraints, or preferences.
Minimum: A task file needs at least a title and one clear requirement. More context = better results.
For each task:
git checkout -b feat/{task-slug}/submit-prDONE-{original-name}.mdgit checkout main && git pullAfter processing, output a summary:
## /do-work Summary
### Completed
- ✅ 001-add-rate-limiting.md → PR #12
- ✅ 002-refactor-auth-module.md → PR #13
### Skipped
- ⏭️ 003-write-api-docs.md (SKIP- prefix)
### Failed
- ❌ 010-nice-to-have-cleanup.md (tests failed after 3 attempts)
### Remaining
- 📋 015-update-ci-pipeline.md
# Add health check endpoint
## Requirements
- GET /health returns 200 with { "status": "ok", "timestamp": "..." }
- Include version from package.json
- Add test
# Refactor authentication to use JWT
## Context
Currently using session cookies. Need stateless auth for mobile app support.
## Requirements
- Replace session-based auth with JWT tokens
- Access token: 15min expiry
- Refresh token: 7 day expiry, stored in httpOnly cookie
- All existing tests must still pass
- Add new tests for token refresh flow
## Scope
- src/auth/ (main changes)
- src/middleware/auth.ts (update)
- tests/auth/ (update + new)
## Notes
- Don't change the user model
- Keep backward compat with existing API consumers for 1 release
- See docs/auth-rfc.md for the design doc
SKIP-{name}.md and add a comment at the top explaining what's unclear. Don't guess.SKIP-{name}.md with error details at the top.user-content/ directory. Never modify files in user-content/ even if a task mentions it.# Create the folder in your project
mkdir -p do-work
# Add a task
cat > do-work/001-my-first-task.md << 'EOF'
# My First Task
## Requirements
- Do the thing
- Test the thing
EOF
For long autonomous sessions, combine with the 15-minute status update rule from CODEX.md:
Every 15min: Update TODO.md with:
- Which task is currently being processed
- Current status (planning/coding/testing/PR)
- Any blockers
/plan - Used automatically for complex tasks/submit-pr - Used to submit each completed task/commit-smart - Used for commits within each task/techdebt - Run as part of /submit-pr