spec-implement-accept
БесплатноЗапускает вложенные скриптыНе проверенEnd-to-end autonomous development workflow: spec generation, review loop, implementation, acceptance testing loop, code simplification, supervision…
от coji★ 20 звёзд на GitHubОб этом скилле
Spec-Implement-Accept Orchestrator
End-to-end development workflow that takes a task description through spec, implementation,
acceptance testing, simplification, supervision, documentation, and a reviewed Draft PR — with git management throughout. This workflow does not invoke takt or read .takt/ state.
Input
This skill accepts arguments in these forms:
/spec-implement-accept #184or/spec-implement-accept 184— GitHub issue number/spec-implement-accept https://github.com/coji/durably/issues/184— GitHub issue URL/spec-implement-accept <task description>— free-form task description/spec-implement-accept(no args) — ask the user what to implement
Parse the argument:
- If it matches
#?\d+or a GitHub issue URL, extract the issue number - If it's free text, use it as the task description
- If empty, ask the user: "What issue or task should I implement?"
Workflow
Before Phase 0, read references/policies.md and references/output-contracts.md. Pass the
relevant policy and contract to each phase rather than relying on duplicated memory.
Count every phase transition. Stop with the PR Draft and report the current head and remaining work if the workflow reaches 35 transitions. Phase 6 may run at most three times; if the same finding survives two consecutive supervision rounds, stop rather than cycling back through the pipeline.
Worker agent
Phases that edit the working tree (spec revision, implementation, fixes, simplify, docs, review fixes) run on the orchestrator's own agent: a Claude Code subagent (Agent tool) when Claude Code orchestrates, a Codex subagent (or Codex itself) when Codex orchestrates. Do not hand these phases to another tool. The read-only spec review, acceptance, supervision, and code-review tracks stay as written below. Workers edit the working tree and run validation; they never commit, push, or change the PR.
Phase 0: Setup
- Require an unchanged starting checkout. Resolve and fetch the remote default branch, then record
its SHA. If
git status --porcelain=v1 -zis non-empty, stop and report the paths; never stash, delete, commit, or silently include pre-existing work. Run all repository-relative commands fromgit rev-parse --show-toplevel. - Fetch the task input:
- Issue number:
gh issue view <number> --json title,body,labelsand use title + body as task description - Issue URL: extract the number from the URL, then fetch as above
- Free text: use directly as task description
- Issue number:
- Create a feature branch from the recorded remote-default SHA, not from the current branch:
- From issue:
feat/<issue-number>-<slug>(e.g.,feat/184-add-retry-option) - From description:
feat/<descriptive-slug>Stop if the branch name already exists rather than reusing unknown history.
- From issue:
- Create a task directory outside the worktree at
$(git rev-parse --git-dir)/durably-workflow/<branch-name>/. - Save the task description as
input.mdand the immutable starting SHA asbase-shathere. Pass this task directory and base SHA to every later phase. Workflow reports and specs never enter the feature diff.
Phase 1: Spec Draft (codex)
Run codex to generate the task spec:
codex exec -m gpt-6-sol -c model_reasoning_effort=medium -s read-only \
-o "<task-dir>/order.md" "$(cat <<'PROMPT'
<prompt from agents/spec-drafter.md, with input.md content appended>
PROMPT
)"
Routing:
order.mdgenerated successfully -> Phase 2- Task description too vague -> Ask user for clarification, then retry
Phase 2: Spec Review Loop (codex, max 4 iterations)
For each iteration:
2a. Review:
codex exec -m gpt-6-sol -c model_reasoning_effort=medium -s read-only \
-o "<task-dir>/spec-review-report.md" "<prompt from agents/spec-reviewer.md>"
Output: spec-review-report.md following the output contract in references/output-contracts.md
2b. Route based on review result:
APPROVE(no blocking issues) -> Phase 3. If the approved task is a proposal-only ADR, confirmorder.mdlists the ADR anddocs/adr/README.mdas change targets so Phases 3–4 can create and verify both asproposed. Its completion criteria must require both entries to beproposed. If either check fails, record the missing target or criterion as a blocking spec-review issue, run 2c with that issue, and repeat 2a before Phase 3.REJECT(blocking issues) -> Run spec revision (2c), then loop back to 2aABORT(fundamentally broken) -> Stop and report to user
2c. Revise (if needed):
Run the worker agent with the prompt from agents/spec-reviser.md.
Pass the current order.md and spec-review-report.md contents as context. The agent returns a
complete revised spec; the orchestrator replaces <task-dir>/order.md outside the worktree.
Convergence check (after threshold of 3 iterations):
Read the latest spec-review-report.md. If the same blocking issue remains for three r
Установить spec-implement-accept в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditGlobGrepAgentBashSkillВложенные файлы
FAQ
Что делает скилл spec-implement-accept?
End-to-end autonomous development workflow: spec generation, review loop, implementation, acceptance testing loop, code simplification, supervision, documentation, a Draft PR, and a verified code-review/fix loop before the PR becomes Ready. Uses codex CLI for spec/review/acceptance/supervision; implementation, fixes, simplify, and docs run on the orchestrator's own agent (Claude under Claude Code, Codex under Codex). Includes git branch management, per-phase commits, Draft PR creation, and a blocker-free Ready gate without takt. Use this skill when the user wants to implement a feature or fix from an issue description, or says "run the full workflow", "spec-implement", "implement this issue end-to-end", or similar. Accepts an issue number as argument (e.g., "/spec-implement-accept #184" or "/spec-implement-accept 184").
Как установить скилл spec-implement-accept?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл spec-implement-accept запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic