This skill should be used when designing implementation plans, decomposing complex work into tasks, or making architectural decisions during ultrawork sessions. Used by orchestrator (interactive mode) and planner agent (auto mode).
/plugin marketplace add mnthe/hardworker-marketplace/plugin install ultrawork-js@hardworker-marketplaceThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/brainstorm-protocol.mdreferences/design-template.mdreferences/task-examples.mdDefine how to analyze context, make design decisions, and decompose work into tasks.
Two modes:
{SESSION_DIR}/
├── session.json # Goal and metadata
├── context.json # Summary/links from explorers
└── exploration/ # Detailed findings
└── *.md
session.json - understand the goalcontext.json - get summary, key files, patternsexploration/*.md - read detailed markdown as neededAnalyze the goal against context to find decision points.
| Category | Examples | Priority |
|---|---|---|
| Ambiguous Requirements | "auth" → OAuth? Email? Both? | High |
| Architecture Choices | DB type, framework, patterns | High |
| Library Selection | Which packages to use | Medium |
| Scope Boundaries | What's in/out of scope | Medium |
Use AskUserQuestion for each decision:
AskUserQuestion(questions=[{
"question": "Which authentication method should we implement?",
"header": "Auth",
"options": [
{"label": "OAuth + Email (Recommended)", "description": "Most flexible"},
{"label": "OAuth only", "description": "Simpler setup"},
{"label": "Email only", "description": "Traditional approach"}
],
"multiSelect": False
}])
Rules:
See references/brainstorm-protocol.md for detailed question flow.
Make decisions automatically based on:
IMPORTANT: Design documents go to PROJECT directory.
WORKING_DIR=$($SCRIPTS/session-get.sh --session {SESSION_ID} --field working_dir)
DESIGN_PATH="$WORKING_DIR/docs/plans/$(date +%Y-%m-%d)-{goal-slug}-design.md"
Write comprehensive design.md with:
See references/design-template.md for complete template.
| Rule | Guideline |
|---|---|
| One task = one deliverable | Single focused outcome |
| Max time | ~30 minutes of work |
| Testable | Has clear success criteria |
| Complexity | Model | When |
|---|---|---|
standard | sonnet | CRUD, simple features, tests |
complex | opus | Architecture, security, 5+ files |
Independent → blockedBy: []
Sequential → blockedBy: ["1"]
Multi-dependency → blockedBy: ["1","2"]
Verify task → blockedBy: [all]
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/scripts"
$SCRIPTS/task-create.sh --session {SESSION_ID} \
--id "1" \
--subject "Task title" \
--description "Detailed description" \
--complexity standard \
--criteria "criterion1|criterion2"
# Always include verify task
$SCRIPTS/task-create.sh --session {SESSION_ID} \
--id "verify" \
--subject "[VERIFY] Integration verification" \
--description "Verify all flows work end-to-end" \
--blocked-by "1,2,3" \
--complexity complex \
--criteria "All tests pass|Manual verification works"
See references/task-examples.md for complete examples.
Return planning summary:
# Planning Complete
## Design Decisions
| Topic | Choice | User Asked |
|-------|--------|------------|
| Auth method | OAuth + Credentials | Yes |
## Task Graph
| ID | Subject | Blocked By | Complexity |
|----|---------|------------|------------|
| 1 | Setup auth | - | standard |
| 2 | User model | 1 | standard |
| verify | Verification | 1,2 | complex |
## Files Created
- {WORKING_DIR}/docs/plans/YYYY-MM-DD-design.md
- {SESSION_DIR}/tasks/*.json
references/brainstorm-protocol.md - Interactive question flow and approach explorationreferences/design-template.md - Complete design document templatereferences/task-examples.md - Task decomposition examples with script commandsThis 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.