一键导入
dex
Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run the GitHub issue triage tool for Redux repos. This skill should be used when triaging GitHub issues, generating triage reports, or understanding triage output for redux-toolkit, react-redux, reselect, redux, or immer repositories.
Create architecture review documents to understand and document existing codebases. Use when onboarding to an unfamiliar codebase, conducting architecture audits, or creating reference documentation for team members.
Document coding conventions, patterns, and guidelines for an existing codebase. Use when onboarding to a new project to understand its coding style, or when creating style documentation for team reference.
Design patterns for data-dense dashboard UIs with dark themes. Use when building tables, charts, status panels, and data visualization components. Focuses on readability, information density, and consistent design systems.
Create detailed development plans with task lists and progress tracking for major projects. Use for multi-phase work requiring detailed task breakdown, progress tracking, and living documentation of decisions and learnings.
Run DiffLoupe AI code analysis for diff understanding and review
| name | dex |
| description | Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions. |
Version: 0.16+ (this doc assumes 0.16 features)
Use dex directly for all commands. If not on PATH, use npx @zeeg/dex instead.
command -v dex &>/dev/null && echo "use: dex" || echo "use: npx @zeeg/dex"
Dex tasks are tickets - structured artifacts with comprehensive context:
Think: "Would someone understand the what, why, and how from this task alone?"
Never reference dex task IDs in external artifacts (commits, PRs, docs). Task IDs like abc123 become meaningless once tasks are completed. Describe the work itself, not the task that tracked it.
Use dex when:
Skip dex when:
Some AI agents (like Claude Code) have built-in task tools. These are session-only and not the same as dex.
| dex | Built-in Task Tools | |
|---|---|---|
| Persistence | Files in .dex/ | Session-only |
| Context | Rich (description + context + result) | Basic |
| Hierarchy | 3-level (epic → task → subtask) | Flat |
Use dex for persistent work. Use built-in task tools for ephemeral in-session tracking only.
dex list # See pending tasks
dex start <id> # Mark task as in progress
dex show <id> # Full details
dex list --in-progress # Show in-progress tasks
dex create "Short name" --description "Full implementation context"
Description should include: what needs to be done, why, implementation approach, and acceptance criteria. See examples.md for good/bad examples.
dex list # Pending tasks
dex list --ready # Unblocked tasks
dex show <id> # Full details
dex complete <id> --result "What was accomplished" --commit <sha>
dex complete <id> --result "Planning only" --no-commit # No code changes
dex complete <id> --result "..." --force # Bypass subtask check
Important: For tasks linked to GitHub/Shortcut, you must specify either --commit <sha> or --no-commit. The commit SHA is validated locally.
Always verify before completing. Results must include evidence: test counts, build status, manual testing outcomes. See verification.md for the full checklist.
dex edit <id> --description "Updated description"
dex edit <id> --commit <sha> # Link commit to already-completed task
dex delete <id>
Reduce storage by archiving old completed tasks:
dex archive <id> # Archive specific task
dex archive --older-than 60d # Archive tasks completed >60 days ago
dex archive --completed # Archive ALL completed tasks
dex list --archived # View archived tasks
For full CLI reference including sync/import, see cli-reference.md.
Tasks have two text fields:
dex list)--full)When you run dex show <id>, the description may be truncated. The CLI will hint at --full if there's more content. Use --expand to see ancestor descriptions in tree view.
When picking up a task, gather all relevant context:
dex show <id> --full # Full task details
dex show <parent-id> --full # Parent context (if applicable)
dex show <blocker-id> --full # What blockers accomplished
Before starting, verify you can answer:
If any answer is unclear:
Proceed without full context when:
Three levels: Epic (large initiative) → Task (significant work) → Subtask (atomic step).
Choosing the right level:
# Create subtask under parent
dex create --parent <id> "Subtask name" --description "..."
For detailed hierarchy guidance, see hierarchies.md.
Complete tasks immediately after implementing AND verifying:
Your result must include explicit verification evidence. Don't just describe what you did—prove it works. See verification.md.
When a task is linked to a GitHub issue or Shortcut story (shown in dex show output), include references in commit messages:
Fixes #N
Refs #N
Check dex show <id> for issue info before committing. The "(via parent)" indicator means use Refs, direct metadata means use Fixes.
dex sync pushes to GitHub Issues and/or Shortcut Stories--commit AND commit is merged to default branchdex export for one-way push without enabling sync