do
This skill should be used for structured feature development with codebase understanding. Triggers on /do command. Provides a 5-phase workflow (Understand…
от stellarlinkco★ 2 755 звёзд на GitHub
Установить do в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
do - Feature Development Orchestrator
An orchestrator for systematic feature development. Invoke agents via codeagent-wrapper, never write code directly.
Loop Initialization (REQUIRED)
When triggered via /do <task>, initialize the task directory immediately without asking about worktree:
python3 "$HOME/.claude/skills/do/scripts/setup-do.py" "<task description>"
This creates a task directory under .claude/do-tasks/ with:
task.md: Single file containing YAML frontmatter (metadata) + Markdown body (requirements/context)
Worktree decision is deferred until Phase 4 (Implement). Phases 1-3 are read-only and do not require worktree isolation.
Task Directory Management
Use task.py to manage task state:
# Update phase
python3 "$HOME/.claude/skills/do/scripts/task.py" update-phase 2
# Check status
python3 "$HOME/.claude/skills/do/scripts/task.py" status
# List all tasks
python3 "$HOME/.claude/skills/do/scripts/task.py" list
Worktree Mode
The worktree is created only when needed (right before Phase 4: Implement). If the user chooses worktree mode:
Run setup with
--worktreeflag to create the worktree:python3 "$HOME/.claude/skills/do/scripts/setup-do.py" --worktree "<task description>"Use the
DO_WORKTREE_DIRenvironment variable to directcodeagent-wrapperdevelop agent into the worktree. Do NOT pass--worktreeto subsequent calls — that creates a new worktree each time.
# Save the worktree path from setup output, then prefix all develop calls:
DO_WORKTREE_DIR=<worktree_dir> codeagent-wrapper --agent develop - . <<'EOF'
...
EOF
Read-only agents (code-explorer, code-architect, code-reviewer) do NOT need DO_WORKTREE_DIR.
Hard Constraints
- Never write code directly. Delegate all code changes to
codeagent-wrapperagents. - Parallel-first. Run independent tasks via
codeagent-wrapper --parallel. - Update phase after each phase. Use
task.py update-phase <N>. - Expect long-running
codeagent-wrappercalls. High-reasoning modes can take a long time. - Timeouts are not an escape hatch. If a call times out, retry with narrower scope.
- Defer worktree decision until Phase 4. Only ask about worktree mode right before implementation. If enabled, prefix develop agent calls with
DO_WORKTREE_DIR=<path>. Never pass--worktreeafter initialization.
Agents
| Agent | Purpose | Needs --worktree |
|---|---|---|
code-explorer |
Trace code, map architecture, find patterns | No (read-only) |
code-architect |
Design approaches, file plans, build sequences | No (read-only) |
code-reviewer |
Review for bugs, simplicity, conventions | No (read-only) |
develop |
Implement code, run tests | Yes — use DO_WORKTREE_DIR env prefix |
Issue Severity Definitions
Blocking issues (require user input):
- Impacts core functionality or correctness
- Security vulnerabilities
- Architectural conflicts with existing patterns
- Ambiguous requirements with multiple valid interpretations
Minor issues (auto-fix without asking):
- Code style inconsistencies
- Naming improvements
- Missing documentation
- Non-critical test coverage gaps
5-Phase Workflow
Phase 1: Understand (Parallel, No Interaction)
Goal: Understand requirements and map codebase simultaneously.
Actions: Run code-architect and 2-3 code-explorer tasks in parallel.
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: p1_requirements
agent: code-architect
workdir: .
---CONTENT---
Analyze requirements completeness (score 1-10):
1. Extract explicit requirements, constraints, acceptance criteria
2. Identify blocking questions (issues that prevent implementation)
3. Identify minor clarifications (nice-to-have but can proceed without)
Output format:
- Completeness score: X/10
- Requirements: [list]
- Non-goals: [list]
- Blocking questions: [list, if any]
---TASK---
id: p1_similar_features
agent: code-explorer
workdir: .
---CONTENT---
Find 1-3 similar features, trace end-to-end. Return: key files with line numbers, call flow, extension points.
---TASK---
id: p1_architecture
agent: code-explorer
workdir: .
---CONTENT---
Map architecture for relevant subsystem. Return: module map + 5-10 key files.
---TASK---
id: p1_conventions
agent: code-explorer
workdir: .
---CONTENT---
Identify testing patterns, conventions, config. Return: test commands + file locations.
EOF
Phase 2: Clarify (Conditional)
Goal: Resolve blocking ambiguities only.
Actions:
- Review
p1_requirementsoutput for blocking questions - IF blocking questions exist → Use AskUserQuestion
- IF no blocking questions (completeness >= 8) → Skip to Phase 3
Phase 3: Design (No Interaction)
Goal: Produce minimal-change implementation plan.
codeagent-wrapper --agent code-architect - . <<'EOF'
Design minimal-change implementation:
- Reuse existin
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(python3:*/.claude/skills/do/scripts/setup-do.py*) - 02
Bash(python3:*/.claude/skills/do/scripts/task.py*)
Вложенные файлы
- README.md
- agents/code-architect.md
- agents/code-explorer.md
- agents/code-reviewer.md
- hooks/hooks.json
- hooks/stop-hook.py
- hooks/verify-loop.py
- install.py
- scripts/get-context.py
- scripts/setup-do.py
- scripts/task.py
FAQ
Что делает скилл do?
This skill should be used for structured feature development with codebase understanding. Triggers on /do command. Provides a 5-phase workflow (Understand, Clarify, Design, Implement, Complete) using codeagent-wrapper to orchestrate code-explorer, code-architect, code-reviewer, and develop agents in parallel.
Как установить скилл do?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл do запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…