Command Palette

Search for a command to run...

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

spec-implement-accept

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

End-to-end autonomous development workflow: spec generation, review loop, implementation, acceptance testing loop, code simplification, supervision…

cojiот 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 #184 or /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:

  1. If it matches #?\d+ or a GitHub issue URL, extract the issue number
  2. If it's free text, use it as the task description
  3. 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

  1. Require an unchanged starting checkout. Resolve and fetch the remote default branch, then record its SHA. If git status --porcelain=v1 -z is non-empty, stop and report the paths; never stash, delete, commit, or silently include pre-existing work. Run all repository-relative commands from git rev-parse --show-toplevel.
  2. Fetch the task input:
    • Issue number: gh issue view <number> --json title,body,labels and 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
  3. 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.
  4. Create a task directory outside the worktree at $(git rev-parse --git-dir)/durably-workflow/<branch-name>/.
  5. Save the task description as input.md and the immutable starting SHA as base-sha there. 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.md generated 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, confirm order.md lists the ADR and docs/adr/README.md as change targets so Phases 3–4 can create and verify both as proposed. Its completion criteria must require both entries to be proposed. 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 2a
  • ABORT (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

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

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

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

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

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

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

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

Read
Write
Edit
Glob
Grep
Agent
Bash
Skill

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

agents/acceptor.mdagents/doc-updater.mdagents/fixer.mdagents/implementer.mdagents/review-fixer.mdagents/simplifier.mdagents/spec-drafter.mdagents/spec-reviewer.mdagents/spec-reviser.mdagents/supervisor.mdreferences/output-contracts.mdreferences/policies.mdscripts/mark-ready.sh

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 запускает скрипты?

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

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

Сравнить spec-implement-accept с