Task structure and atomic commit patterns for granular, verifiable work units
npx playbooks add skill doubleslashse/claude-marketplace --skill atomic-tasks
This skill provides patterns for creating well-structured, atomic tasks that follow the principle: One task = One commit = One thing.
Each task should be:
| Property | Purpose | Required |
|----------|---------|----------|
| id | Unique identifier (TASK-XXX) | Yes |
| status | Current state (pending/in_progress/completed/blocked) | Yes |
| name | Short descriptive name | Yes |
| description | What this task accomplishes | Yes |
| depends | Task IDs this depends on | No |
| files | Files to create/modify | Yes |
| actions | Specific steps to take | Yes |
| verify | How to verify completion | Yes |
| done | Completion criteria | Yes |
| commit | Conventional commit message | Yes |
pending ─── in_progress ─── completed
│ │
│ └── blocked (external dependency)
│
└── skipped (no longer needed)
<verify>
<step>npm test -- [test-pattern]</step>
<step>npm run build</step>
<step>npm run lint -- [file]</step>
</verify>
<verify>
<step>Visually confirm [UI element] appears</step>
<step>Manual test: [test scenario]</step>
</verify>
<verify>
<step>npm test -- auth</step>
<step>Manual: Login with test credentials</step>
<step>Check logs for errors</step>
</verify>
<done>
<criterion>Feature is accessible via [entry point]</criterion>
<criterion>Tests cover happy path and error cases</criterion>
<criterion>No new lint warnings introduced</criterion>
</done>
<done>
<criterion>Original issue no longer reproduces</criterion>
<criterion>Regression test added</criterion>
<criterion>Related functionality still works</criterion>
</done>
<done>
<criterion>All existing tests still pass</criterion>
<criterion>No functional changes detected</criterion>
<criterion>[Quality metric] improved</criterion>
</done>
Follow Conventional Commits:
<type>(<scope>): <description>
[optional body]
[optional footer]
| Type | Use For |
|------|---------|
| feat | New feature |
| fix | Bug fix |
| refactor | Code restructuring |
| test | Adding/updating tests |
| docs | Documentation only |
| chore | Maintenance tasks |
| style | Formatting changes |
| perf | Performance improvements |
feat(auth): add login endpoint
fix(cart): prevent negative quantities
refactor(api): extract validation middleware
test(user): add registration edge cases
<!-- BAD: Too many unrelated changes -->
<task id="TASK-001">
<name>Add auth and update styling and fix bugs</name>
...
</task>
<!-- BAD: No way to verify -->
<task id="TASK-001">
<name>Improve code quality</name>
<verify></verify>
</task>
<!-- BAD: Long sequential chain -->
TASK-001 → TASK-002 → TASK-003 → TASK-004 → TASK-005
<!-- BAD: Not actionable -->
<actions>
<action>Make it better</action>
<action>Fix the thing</action>
</actions>
See xml-format.md for complete XML schema reference.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.