Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

implement

БесплатноЗапускает вложенные скриптыНе проверен

Builds a new feature with parallel backend, frontend, test and security agents in worktrees, then verifies. Use when asked to build, add or scaffold a…

yonatangrossот yonatangross★ 312 звёзд на GitHub

Об этом скилле

Implement Feature

Host-neutral workflow. Invoke by skill name (implement). Claude Code slash routing, YAML hook loaders, and .claude/chain live in references/claude-code.md.

Parallel subagent execution for feature implementation with scope control and reflection.

Quick Start

implement user authentication
implement --model=opus real-time notifications
implement dashboard analytics

Argument Resolution

Check the target first, before any other step. This skill forks and cannot see the conversation. Load Read("../../shared/rules/target-resolution.md"): if the target, flags stripped, is a bare pronoun or deictic (this, them, that one) or empty, return exactly TARGET_UNRESOLVED: <word> and stop. The caller resolves it and re-invokes.

FEATURE_DESC = "$ARGUMENTS"  # Full argument string, e.g., "user authentication"
# $ARGUMENTS[0] is the first token, $ARGUMENTS[1] second, etc. (CC 2.1.59)

# Model override detection (CC 2.1.72)
MODEL_OVERRIDE = None
for token in "$ARGUMENTS".split():
    if token.startswith("--model="):
        MODEL_OVERRIDE = token.split("=", 1)[1]  # "opus", "sonnet", "haiku", "fable"
        FEATURE_DESC = FEATURE_DESC.replace(token, "").strip()

Pass MODEL_OVERRIDE to all Agent() calls via model=MODEL_OVERRIDE when set. Accepts symbolic names (opus, sonnet, haiku, fable on harnesses whose Agent tool lists it; note fable is premium API spend after 2026-07-12) or full IDs (claude-opus-5-5) per CC 2.1.74.


Step -1: MCP Probe + Resume Check

Run BEFORE any other step. Detect available MCP servers and check for resumable state.

# Probe MCPs (parallel — all in ONE message):
# memory is alwaysLoad in .mcp.json (CC 2.1.121+, #1541) — probe below kept as fallback for older CC:
ToolSearch(query="select:mcp__memory__search_nodes")
ToolSearch(query="select:mcp__context7__resolve-library-id")

Write(".claude/chain/capabilities.json", JSON.stringify({
  "memory": <true if found>,
  "context7": <true if found>,
  "timestamp": now()
}))

# Resume check:
Read(".claude/chain/state.json")
# If exists and skill == "implement":
#   Read last handoff (e.g., 04-architecture.json)
#   Skip to current_phase
#   "Resuming from Phase {N} — architecture decided in previous session"
# If not: write initial state
Write(".claude/chain/state.json", JSON.stringify({
  "skill": "implement", "feature": FEATURE_DESC,
  "current_phase": 1, "completed_phases": [],
  "capabilities": capabilities,
  "budget_remaining_pct": 100  // advisory; see Budget Awareness below
}))

Batch Size Governance (large refactors)

For implementations touching >10 files, enforce max 5 files per agent batch, run tests between batches, commit green batches immediately, stop on red. Override via --batch-size N. Full rule: Read("rules/batch-governance.md").

Budget Awareness (Opus 5.5 task budgets, public beta)

Opus 5.5 exposes per-task token budgets. Until the CC side is GA, OrchestKit tracks an advisory budget_remaining_pct in state.json so long runs self-throttle. Update after each phase:

# At end of every phase, estimate remaining budget:
pct = tokensAsContextPct(tokensUsedSoFar)  # from lib/context-window.ts
remaining = max(0, 100 - pct)
state["budget_remaining_pct"] = remaining
Write(".claude/chain/state.json", JSON.stringify(state))

Thresholds influence behavior:

Remaining Behavior
> 50% Normal — all optional depth (devil's advocate, visual capture, deep exploration).
20-50% Efficient — skip optional depth; keep core phases. Warn user once.
< 20% Conservation — finish current phase, emit a handoff with next steps, do not start new work.

When CC's native task-budget API ships GA, replace the estimate with the real signal; the thresholds and behavior stay the same.

Load: Read("../chain-patterns/references/checkpoint-resume.md")


Step -0.5: Assess Verdict Gate

If .claude/chain/assess-verdict.json exists with a feature matching this run and verdict == "fail" (composite < the 5.5 min_pass in ../assess/rubric.json, or any dimension below its min_blocker), BLOCK Phase 1. Present each blockers[] entry (dimension, score, reason), then AskUserQuestion with plain label+description options (no preview):

  1. Fix blockers first (Recommended) — address the blockers, re-run assess, then return here.
  2. Override and implement — proceed anyway; record "assess_gate": "overridden" in state.json and carry the blockers into Phase 1 context.

Missing file or verdict == "pass" → no gate; continue to Step 0.


Step 0: Effort-Aware Phase Scaling (CC 2.1.76; xhigh added in 2.1.111)

Read the /effort setting to scale implementation depth. The effort-aware context budgeting hook detects effort level automatically — adapt the phase plan accordingly:

| Effort Level | Phases Run | Agents | Token Budget | |-------------|------------|----

Полный SKILL.md на GitHub

Установить implement в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

SendMessage
AskUserQuestion
Bash
Read
Write
Edit
Grep
Glob
Agent
TaskCreate
TaskUpdate
TaskStop
ToolSearch
WebFetch
EnterWorktree
ExitWorktree
CronCreate
CronDelete
Monitor
PushNotification
mcp__context7__resolve-library-id
mcp__context7__query-docs
mcp__memory__search_nodes

Вложенные файлы

assets/micro-plan-template.mdassets/reflection-template.mdchecklists/implementation-review.mdreferences/agent-phases.mdreferences/agent-teams-full-stack.mdreferences/agent-teams-phases.mdreferences/agent-teams-security-audit.mdreferences/blast-radius-clarification.mdreferences/cc-enhancements.mdreferences/claude-code.mdreferences/e2e-verification.mdreferences/effort-ladder.mdreferences/feedback-loop.mdreferences/interview-mode.mdreferences/manual-worktree-pattern.mdreferences/micro-planning-guide.mdreferences/orchestration-modes.mdreferences/phase-6-pattern-check.mdreferences/scope-creep-detection.mdreferences/team-worktree-setup.mdreferences/test-requirements-matrix.mdreferences/tier-classification.mdreferences/worktree-isolation-mode.mdreferences/worktree-workflow.mdrules/_sections.mdrules/agent-scope-containment.mdrules/batch-governance.mdrules/commit-after-milestone.mdrules/test-coverage-requirement.mdrules/tier-validation.mdrules/worktree-cleanup.mdscripts/worktree-setup.shtest-cases.json

FAQ

Что делает скилл implement?

Builds a new feature with parallel backend, frontend, test and security agents in worktrees, then verifies. Use when asked to build, add or scaffold a feature, endpoint or component. Not for fixing, reviewing or testing existing code.

Как установить скилл implement?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл implement запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить implement с