Compact YAML format for defining parallel task specifications with scope, boundaries, and agent assignments. Use when creating task files for parallel development.
Compact YAML format for defining parallel task specifications with scope, boundaries, and agent assignments. Use when creating task files for parallel development.
/plugin marketplace add jpoutrin/product-forge/plugin install product-design@product-forge-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Compact YAML format for parallel task files in parallel/TS-XXXX-slug/tasks/.
---
id: task-001
component: users
wave: 1
deps: []
blocks: [task-004, task-005]
agent: python-experts:django-expert
tech_spec: TS-0042
contracts: [contracts/types.py, contracts/api-schema.yaml]
---
# task-001: User Management
## Scope
CREATE: apps/users/{models,views,serializers,urls}.py, apps/users/tests/*.py
MODIFY: config/urls.py
BOUNDARY: apps/orders/*, apps/products/*, apps/*/migrations/*
## Requirements
- User model with email authentication
- UserSerializer with explicit fields
- UserViewSet (list, retrieve, create, update)
- Email uniqueness validation
## Checklist
- [ ] Model matches UserDTO in contracts/types.py
- [ ] API matches /api/users/* in contracts/api-schema.yaml
- [ ] pytest apps/users/ passes
- [ ] mypy apps/users/ passes
- [ ] ruff check apps/users/ passes
- [ ] No files modified outside scope
| Field | Required | Description |
|---|---|---|
id | Yes | Task identifier (task-NNN or task-NNN-component) |
component | Yes | System component name |
wave | Yes | Dependency wave number (1, 2, 3...) |
deps | Yes | Task IDs this depends on (empty list [] if none) |
blocks | No | Task IDs this blocks (optional) |
agent | Yes | Recommended agent type |
tech_spec | No | Tech Spec ID (if applicable) |
contracts | Yes | Contract files to reference (relative paths) |
Use compact notation with three directives:
Files to create (use glob patterns):
CREATE: apps/users/{models,views,serializers,urls}.py, apps/users/tests/*.py
Existing files to modify:
MODIFY: config/urls.py, config/settings.py
Files NOT to touch (owned by other tasks):
BOUNDARY: apps/orders/*, apps/products/*, apps/*/migrations/*
task-{number}-{component}.md
Examples:
- task-001-users.md
- task-002-products.md
- task-003-orders.md
- task-004-api.md
- task-005-integration.md
| Task Files | Agent | Description |
|---|---|---|
apps/*/models.py, apps/*/views.py | python-experts:django-expert | Django models, views, serializers |
api/*.py, routers/*.py | python-experts:fastapi-expert | FastAPI endpoints |
src/components/*.tsx | frontend-experts:react-typescript-expert | React components |
**/test_*.py, **/tests/*.py | python-experts:python-testing-expert | Python tests |
*.spec.ts, *.test.tsx | frontend-experts:playwright-testing-expert | TypeScript/E2E tests |
terraform/, docker-compose.yml | devops-data:devops-expert | Infrastructure |
| Integration, architecture | devops-data:cto-architect | Cross-cutting concerns |
Contracts are in the same parallel directory:
parallel/TS-0042-slug/
contracts/
types.py # Reference as: contracts/types.py
api-schema.yaml # Reference as: contracts/api-schema.yaml
tasks/
task-001-users.md
Tasks in Wave N can only depend on tasks in Waves 1 to N-1:
Wave 1: task-001, task-002 (no dependencies, run in parallel)
Wave 2: task-003 (depends on task-001, task-002)
Wave 3: task-004 (depends on task-003)
deps: Tasks that MUST complete before this task startsblocks: Tasks that CANNOT start until this task completesBoth express the same relationship from different perspectives:
# task-001
blocks: [task-003]
# task-003
deps: [task-001]
Clear, actionable requirements:
## Requirements
- Implement `User` model with fields: `email`, `username`, `password`, `is_active`
- Create `UserSerializer` with all User fields (hide password)
- Implement `UserViewSet` with: list, retrieve, create, update
- Add email validation and uniqueness constraint
- Test coverage: minimum 85%
Verification criteria:
## Checklist
- [ ] Model matches DTO in contracts/types.py
- [ ] API matches schema in contracts/api-schema.yaml
- [ ] pytest apps/users/ passes
- [ ] mypy apps/users/ --strict passes
- [ ] Coverage >= 85%
- [ ] No files modified outside scope
Before using tasks:
idagent assignedcontracts referenceddepsdeps: []The Output Format JSON block is not included in task files. It's a static template that the parallel-prompt-generator skill automatically adds to every generated prompt.
See the parallel-prompt-generator skill for the complete prompt template including the Output Format section.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.