Implement Issue with Verification Loop

VerifiedCaution

Implements an issue based on a plan file, creates a branch, and loops on implementation and verification until all checks pass, with user approval.

Sby Skills Guide Bot
DevelopmentAdvanced
8/12/2026
Claude Code
#issue-implementation#subagents#code-review#ci-loop#git-branch

Recommended for

Automated summary

Runs a plan-driven implementation loop that branches, implements, then repeatedly dispatches CI, rule-review and review sub-agents until every check passes, before asking the user for approval.

Strengths

  • Chains implementation, CI, rule checks and code review in a single loop that only ends when everything is green
  • Fans out rule-review sub-agents in parallel, one invocation per section listed in the `review` frontmatter of matching `.claude/rules/*.md` files for the changed paths
  • Scales failure handling by severity (minor fix, plan submitted for review, or restart from `/resolve-issue` Phase 1) and records each iteration as an appendix to the plan
  • Includes an optional visual check through the `/run` skill for game behaviour that is testable at runtime

Limitations

  • Assumes Phase 1 (`/resolve-issue`) already produced `tmp/plan-<number>.md` and that the `implement`, `ci`, `rule-review` and `review` sub-agents exist
  • Describes no commit, PR or merge step — completion depends entirely on manual user approval
  • Repeated sub-agent cycles can consume significant tokens on large issues
When to use it

Use it when a validated implementation plan already exists for an issue and the code must be written and iterated until CI, rules and review all pass.

When not to use it

Avoid it for a one-off fix with no plan, or in a repository that lacks the expected sub-agents and `.claude/rules` conventions.

Security analysis

Caution
Quality score84/100

The skill is a legitimate implementation orchestration workflow. It uses powerful tools such as bash, subagents, and a run skill, but there are no destructive commands, secret exfiltration, obfuscated payloads, or safety-disabling instructions. The main concern is undeclared and externally dependent execution scope.

Findings
  • •Declares no allowed-tools but instructs use of bash (`git checkout -b`), Agent subagents, file reads, and the `/run` skill, so execution scope is unclear.
  • •Creates a git branch automatically and lets subagents modify code; minor fixes are applied without user confirmation, though major changes require approval.
  • •Relies on external `GIT.md`, `.claude/rules/*.md`, and subagent types that are not included, so behavior depends on unspecified local instructions.
How this analysis is made

Examples

Implémenter une issue planifiée
/implement-issue 142
Boucler jusqu'à la CI verte
Le plan est dans tmp/plan-87.md. Lance l'implémentation de l'issue 87 et boucle jusqu'à ce que la CI et toutes les revues passent.
Revoir un plan après un échec
/implement-issue 203 — la revue de code a échoué sur la gestion mémoire, propose-moi un plan de correction avant de relancer la boucle.

name: implement-issue description: 実装計画に基づきコードを変更し、全チェックが通るまでループする(resolve-issue Phase 2)

implement-issue

プランファイルを読み込み、ブランチを作成した上で実装・検証ループを回す。 全チェック通過後にユーザーの承認を得て完了とする。

手順

1. 準備

$ARGUMENTS から Issue 番号を取得し、tmp/plan-<number>.md を読み込む。 Issue のラベルと実装方針から GIT.md の命名規則に従いブランチ名を決め、作成する。

git checkout -b <branch-name>

2. 実装ループ

a〜e を順番に実行する。NG が出た時点で f へ進み、a に戻る。

a. Implement サブエージェント

Agent ツール(subagent_type: implement)を起動し、プランファイルのパスを渡して実装させる。

b. CI サブエージェント

Implement エージェントの出力から変更ファイル一覧を取り出し、Issue 番号とともにプロンプトに含めて Agent ツール(subagent_type: ci)を起動する。

c. Rule-Review サブエージェント(並列)

rule 準拠チェック。Agent ツール(subagent_type: rule-review)を1つのメッセージで同時に起動する。 変更ファイルに paths がマッチする .claude/rules/*.md のうち、frontmatter に review キーを持つ rule だけを対象とし、review に列挙された節1つにつき1起動する。 各プロンプトには対象 rule のファイルパス・節名と、節に「必読」項目があればそのリンク先パスを含める。

全エージェントの結果が揃うのを待ち、1つでも NG があれば NG レポートをまとめる。

d. Review サブエージェント

Agent ツール(subagent_type: review)× 1 を起動する — 正しさ・モダン C++・設計のレビュー。

e. ビジュアルチェック(ゲームを実行してテストしたい箇所がある場合)

/run スキルを使ってゲームを起動し、表示・挙動・操作感を確認する。

f. NG の処理

NG レポートの規模に応じて以下のいずれかを選択する。

1. 軽微な修正(typo・フォーマット・警告1件など) ユーザーへの確認なしに修正方針を決め、プランファイルの末尾に追記して a に戻る。

2. 中程度な修正(ロジック変更・設計の調整など) 修正プランをユーザーに提示してレビューを依頼し、議論・承認を得てからプランファイルに追記して a に戻る。

3. 大規模な修正(方針の根本的な見直しが必要な場合) このセッションを中断し、/resolve-issue の再実行(Phase 1 からやり直し)を提案する。

プランへの追記フォーマット(1・2の場合):

## § 修正 <N回目>
<NG の内容と修正方針>

3. 完了報告と承認

全チェック通過後、変更の概要をユーザーに報告し、承認を得る。

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/implement-issue-with-verification-loop-mspm3ck5/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/implement-issue-with-verification-loop-mspm3ck5' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/implement-issue-with-verification-loop-mspm3ck5/download' --output '.skill-downloads/implement-issue-with-verification-loop-mspm3ck5/SKILL.md.part' && mv '.skill-downloads/implement-issue-with-verification-loop-mspm3ck5/SKILL.md.part' '.skill-downloads/implement-issue-with-verification-loop-mspm3ck5/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/implement-issue-with-verification-loop-mspm3ck5/SKILL.md' && test -s '.skill-downloads/implement-issue-with-verification-loop-mspm3ck5/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/implement-issue' && cp -R '.skill-downloads/implement-issue-with-verification-loop-mspm3ck5' '.claude/skills/implement-issue'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/implement-issue-with-verification-loop-mspm3ck5'

openskills read 'implement-issue-with-verification-loop-mspm3ck5'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/implement-issue-with-verification-loop-mspm3ck5/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills