/aoshimash-skills:implement-issuefrom aoshimash-skills
Read issues (GitHub or Backlog), analyze the codebase, implement autonomously, and open review-first GitHub pull requests: draft PR with decisions logged in the body, two-stage review (spec, then code quality), a pre-push security review, a response to the repository's bot/AI reviewers, and a ready-for-review flip once gates, CI, and those reviewers are done. A named issue is implemented alone with zero routine questions; a parent issue, milestone, label, list, or no issue at all (the user's assigned open issues, ranked by priority) runs as a batch with a dependency graph, git worktrees, and parallel agent instances where supported. Use when the user says "implement issue", "issue を実装して", "issue #N を対応", "この issue をやって", "implement #N", "fix issue #N", "work on issue", "implement my issues", "担当 issue を実装", "run sprint", "スプリント実行", "これらの issue を実装", "implement these issues", "start the sprint", "issue を順に実装して", "sprint を回して", or references issue numbers/URLs with the intent to implement them.
Ships in aoshimash-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read an issue (or a set of issues), implement autonomously, and deliver review-first PR(s). Single mode (one issue) is the default and runs end to end without routine user interaction: decisions are resolved from the issue, its parent, repository agent instructions, or user-level configuration — and logged in the PR instead of asked. Batch mode (many issues, dependency-ordered, parallel where the environment supports it) is used for parent issues, milestones, labels, or explicit lists — and, when no issue is named at all, for the user's own assigned open issues, ranked by priority.
Decisions & Deviations). The only routine stop before the PR
is delivered is a genuinely undecidable decision, asked as one batched
question whose answers are written back to the issue before implementation
proceeds — never ask twice. Once the PR is delivered, the decisions that were
really rules are offered — in one batched confirmation, or none at all — for
promotion into a durable store, so a later run does not re-decide them (see
references/harvesting.md).This skill targets any agent implementing the Agent Skills spec. Instructions below use capability terms; map them to your environment as follows.
| Capability | With native support (example) | Fallback |
|---|---|---|
| User choice — present numbered options, wait for an explicit selection | Structured question tool (e.g. Claude Code's AskUserQuestion, which can carry several questions in one round) | Numbered options as plain text; wait for the user's reply |
| Separate agent instance — run a task in a fresh context that has not seen this conversation | Subagent dispatch (e.g. Claude Code's Task tool) | Run sequentially in the current context; for verification, mark the result SELF-REVIEWED in the artifact it lands in (e.g. the PR body) |
| Observable peer agent — run a Batch implementer in its own terminal, which the orchestrator can inspect and re-prompt | A terminal workspace manager the user opted in to (e.g. Herdr when HERDR_ENV=1; see references/peer-agents.md P1) | Separate agent instance, then sequential execution, per the rows above; loses visibility into a running implementer and into the questions it stops on |
| Platform access — read and write the issue tracker and the code host | A connector or MCP server for the platform, preferred when it covers the operations the run uses (see Platform Access) | The platform guide's CLI (gh, bee); with neither, ask how to reach the platform, or stop when no user is reachable |
| Model selection — run a separate agent instance on a chosen model | Per-instance model override (e.g. Claude Code's Task tool model parameter, or an agent definition's model frontmatter) | Run every instance on the session's default model — the implementer classification is skipped entirely rather than approximated, and the reviewer-stronger-than-implementer recommendation is unavailable |
| Security review — security-focused review of the pending diff | Dedicated command (e.g. Claude Code's /security-review) | Review the diff yourself against the checklist in references/workflow.md step 2-6 |
| User-level configuration — a durable instruction store belonging to the user, outside any repository | User-level instruction file (e.g. ~/.claude/CLAUDE.md on Claude Code) | No such store: cross-repository preferences cannot be promoted — offer repository scope or skip (see references/harvesting.md C) |
| Context position readout — how much of the agent's own context or token budget remains | An environment that reports that figure to the agent — carry it in the batch's position line | Report the countable proxies only (issues settled, groups done, review rounds spent) and say the figure is not reported, rather than estimating one (see references/context-budget.md C5) |
| Skill invocation — run another installed skill's procedure from this one | Skill dispatch by name (e.g. Claude Code's Skill tool) | Read that skill's SKILL.md and the reference files it points to from the installed skill directory, and follow them inline |
| Background execution — run long commands without blocking | Background shell (e.g. Claude Code's background Bash) | Run commands sequentially |
| Scheduled invocation — run this skill again later without a user present | Recurring or cron-scheduled agent runs (e.g. Claude Code's scheduled tasks) | Re-invoke manually once per session; a resumed batch re-derives its state from the tracker and git (see references/batch-reentry.md) |
The last three are used only by Batch mode's integration mode. Skill invocation and background execution serve its call into the merge-issue-prs skill (references/batch.md B2-4). That skill performs bounded waits — for a PR's checks to settle, and for post-merge verification on the integration branch — and those waits happen inside whatever runs it, which is this run wherever the invocation is inline rather than a separate process. Both waits are bounded by a wall-clock deadline the agent owns, not by a blocking watch command; background execution frees the agent during them, it does not supply the bound.
Scheduled invocation is the repeated-invocation operating pattern: one invocation advances the batch as far as that session gets, and the next one re-derives where it stopped and carries on from there — within the scope limit below (batch.md B0, references/batch-reentry.md). The pattern is the same whether the repeat is scheduled or typed by hand — same batch source, one invocation per session, until the milestone PR is ready — because nothing is persisted between sessions either way: no state file, no session memory, only the tracker and git. Scheduling removes the person from the loop; it is not what makes resumption work.
The two differ in scope, not mechanism. Which issues a batch implements is settled at the execution-plan approval, and for an integration-mode batch over a parent issue that approval is recorded on the parent issue (references/batch.md B1-5): an invocation with no user reachable dispatches the issues that record enumerates — carrying the batch across group boundaries — and no others. Where no trusted record exists, the bound falls back to artifact evidence: the run advances only the work an approved plan already produced — review gates on the drafts, the merge gate, the reports — and dispatches no new implementer, naming whatever waits on an approval. Either way a batch is advanced without ever being widened: an issue linked into the parent after the approval is outside the record, and the milestone PR is still a human's to review and merge. That, the record's trust rule, and the rest of what re-derivation cannot recover are in batch-reentry.md's Known limits.
Context position readout is Batch-only, and it is the one capability whose fallback changes what the run can decide rather than how it does something. With a readout, a long batch can end itself on a group boundary before it runs short; without one, the position line still reports the run's depth and the stop is the user's call. Either way the batch is built so that stopping — or being compacted — loses no delivered work: what it can cost is a re-run of an issue that left no artifact, plus the plan approval, which a compaction sends back through batch-reentry.md R8 §1's two paths like any resume (references/context-budget.md).
Model selection is used in both modes, for different things. Reviewers use it everywhere: each one runs at least at the tier of the dispatch that produced the code it is reviewing (references/review-gates.md), which in Single mode is the session's own model. Implementer tiers are Batch-only, because batch dispatch is the one point where a model is chosen per unit of work: the orchestrator classifies each issue by content — mechanical work runs cheaply, judgment-heavy work does not, and uncertainty and the hard-exclusion classes resolve upward (references/model-selection.md). Single mode classifies nothing; its implementer is the session itself, on the model the user chose.
Detect the issue tracker platform (check the project's agent
instructions for an ## Issue Tracker section → git remote → ask the user
only if neither identifies it). The issue tracker is GitHub or Backlog; code
and PRs are always on GitHub (Backlog issues + GitHub PRs is the mixed
case). Read the platform guide:
Then resolve the platform access method for each platform the run touches — see Platform Access.
Obtain the issue identifier(s). If the request names no issue, no batch source, and uses no batch phrasing ("issue を実装して", "implement my issues" — but not "run sprint"), the source is the user's assigned issues: read every open issue assigned to the authenticated user in this repository, set aside parent issues, and route on what remains — none → list open issues and ask the user to select one; exactly one → continue as a single issue referenced; two or more → Batch mode over that set, which downstream is a manual list. With no user reachable this source starts no new work at all, whatever the count (see references/priority-order.md P1). An identifier the user gives is never widened into this source.
Mode routing:
Issue state check. Single mode: if the issue is already closed or merged, inform the user and ask (see Environment Adaptation): "Reopen and implement" / "Pick another issue" / "Abort". Batch mode: closed issues in the source set are filtered out silently; if all are closed, inform the user and stop.
The platform guide's commands specify each operation; they do not fix the tool that performs it. Resolve the method once per platform — the issue tracker and the code host separately in the Backlog + GitHub case — before the first operation against it, taking the first that applies:
Keep the method for the whole run. If it fails or proves unable to perform an operation partway through, do not retry that operation through another method: treat the result as unknown and resolve it the way that step's failures already resolve. One boundary is the exception — routing into Batch mode (step 3) resolves again, before any Batch-only operation runs, when the method does not cover them. Batch implementers receive the orchestrator's resolved method in their dispatch and do not resolve their own (references/batch.md B2-2). Name the method in the recap; when it is not the guide's CLI, also name it under the PR body's Risk Areas (references/workflow.md 3-1).
Known limits. The guide's CLI commands are the verified path. Whether a connector covers an operation is judged from that connector's own tool descriptions and schemas, and a connector path has not been exercised by this skill's evaluations. Integration mode's merge gate resolves its own method under merge-issue-prs's stricter coverage test; this resolution does not govern it and is not handed to it (references/batch.md Merge Modes).
There is no implementation-location question: Single mode works in a git worktree by default, reusing one the host environment already prepared for this run when present (see references/workflow.md step 2-1). Batch mode always uses one worktree per issue.
One issue, executed by the main agent in the Direct context of references/workflow.md — read that file and follow its phases end to end without pausing between them:
Former mid-run stops (plan approval, location choice, per-decision questions, failing-check and self-review escalations) no longer exist: they either resolved into the batched question or complete with the concern recorded in the PR. On Claude Code specifically: plan mode is opt-in only — enter it solely when the user explicitly asks for a plan gate; never by default.
Used for a parent issue's sub-issues, a milestone, a label, a manual list, or the user's assigned issues (a manual list once read). See references/batch.md for the full procedure.
Batch mode runs in one of two merge modes, chosen inside the execution-plan approval — never as a separate gate, and never in Single mode:
The orchestrator carries a context budget, because it is the one component that sees the whole batch. Each dispatched step writes its full output to the artifact it belongs in and returns a bounded summary, every fact the batch depends on is durable or re-derivable, and a light position read at each group boundary takes precedence over what the run believes it remembers. So a compaction mid-batch recovers its position with no human in the loop, and running short stops being a loss: where the environment reports remaining context, a batch too large for one of them ends on a boundary it chose, and where it does not, hitting the limit costs a re-derivation rather than the batch (see references/context-budget.md).
An integration-mode batch is resumable across sessions: before the dependency graph, a fresh session re-derives where an earlier one stopped — from the tracker and git only, since nothing else persists — and then starts the batch, resumes it, or stops (see references/batch-reentry.md, invoked from batch.md B0). Existing PRs, branches, and worktrees are never recreated; a body-recorded gate verdict never substitutes for re-running the gate; a batch another session appears to be working on is not dispatched at all; and dispatching an implementer needs an approved plan every session — taken from the user where one is present, and otherwise read from the approval record the approving session wrote on the parent issue, whose author must hold repository write access. With no trusted record, an unattended resume advances existing PRs rather than starting new work.
Summary:
blockedBy field) and, as a fallback,
from Blocked by / Depends on / After declarations in each issue body;
build a DAG from the union; detect cycles and ask the user how to resolve
them; compute parallel execution groups (topological levels); rank each
group's issues by priority — priority label first, an order proposed from
the issues' content where labels do not decide, issue number last, with a
blocker inheriting its dependents' urgency
(references/priority-order.md P2); visualize
the plan, showing each issue's rank basis — and, when implementers will run as
observable peer agents, a line saying so and that model tiers are not applied
(references/peer-agents.md P1), written into the
approval question itself so it is on screen when the user answers; get approval via a user choice (see Environment Adaptation) with
options Approve (standard) / Approve (integration mode, when available) /
Reorder / Abort (Reorder collects dependency-graph edits and re-presents the
plan — see batch.md B1-3). The plan shows the ordering edges integration mode
would add for same-file collisions inside a group (batch.md B1-2), so the
whole schedule is settled in that one approval; the integration branch is
created or reused right after it (batch.md B1-4), and an integration-mode
approval over a parent issue is then recorded on that issue — the issues
considered and the subset approved — so a later session with no user can
implement what this approval covered (batch.md B1-5).BLOCKED,
cascade SKIPPED to its transitive dependents, and continue with
independent issues. In integration mode a dependency that was deferred,
reverted, or never merged cascades the same way — merged-into-integration is
the only satisfied state.HELD status, and restacking a re-invoked batch without force-pushinggh CLI reference commandsbee CLI reference commandsreferences/automated-review.md (opens in a new tab)references/batch-reentry.md (opens in a new tab)references/batch.md (opens in a new tab)references/context-budget.md (opens in a new tab)references/eval-cases.md (opens in a new tab)references/harvesting.md (opens in a new tab)references/model-selection.md (opens in a new tab)references/peer-agents.md (opens in a new tab)references/platform-backlog.md (opens in a new tab)references/platform-github.md (opens in a new tab)references/priority-order.md (opens in a new tab)references/review-gates.md (opens in a new tab)references/stacked-prs.md (opens in a new tab)references/workflow.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
11 skills in this plugin
/analyze-sessionsAnalyze the running agent's session history — Codex or Claude Code, or a history export the user provides — to detect recurring patterns in skill executions and propose improvements to skill definitions and, where that agent's configuration surface is confirmed, to its settings or hooks. Use when the user says "analyze sessions", "improve skills", "analyze skill logs", "セッションを分析", "スキルを改善", "ログを分析", "設定を提案", or wants to review skill usage patterns and environment configuration.
/collect-agent-rulesPromote hand-written conventions out of the author's own GitHub repositories and into the shared rule corpus in aoshimash/skills — confirm which repositories to scan, read each one's AGENTS.md over the GitHub API without cloning, ignore everything inside a managed rules block, propose the conventions that recur across repositories, decide on them one at a time, and open a pull request adding the approved ones to the corpus. Runs inside a checkout of aoshimash/skills; proposes, never promotes automatically. Use when the user says "collect agent rules", "promote rules into the shared corpus", "find rules worth sharing in my repos", "scan my repositories for conventions to centralize", "harvest conventions from my other projects", "ルールを収集して", "他のリポジトリのルールを共通ルールに取り込んで", "自分のリポジトリから共通化できる規約を集めて", "エージェントルールを収集", "共通ルールに昇格させて", or otherwise wants hand-written conventions in owned repositories gathered into the shared rule set.
/create-issueCreate well-structured issues on GitHub or Backlog with codebase analysis — from a single quick issue to a fully designed issue hierarchy (parent + sub-issues with dependencies). Everything unknown is gathered in one batched question round; design work is carried by a single consolidated plan file refined through inline annotation; nothing is published without an explicit approval. Use when the user wants to create an issue, file a bug report, request a feature, create a technical task, or design a feature and break it down into implementable issues. Triggers on phrases like "create an issue", "file a bug", "open an issue", "issueを作って", "issue作成", "バグ報告", "機能要望", "課題を作成", "design sprint", "スプリント設計", "機能を設計して issue に分解", "plan and create issues", "design and decompose", "この機能を設計して".
/goFinish a change at a consistent verification bar — derive what the change claims to make true, exercise those claims end to end in the project's own environment, run only the checks that no project automation already covers, remove the scaffolding verification left behind, and end with an explicit per-claim verification verdict. Never reports success without observed evidence: a change that cannot be verified ends NOT VERIFIED with the reason, never with silence. Use after making a change and before reporting it done or handing it to commit/PR — when the user says "go", "verify this change", "make sure it actually works", "test it end to end", "動作確認して", "変更を検証して", "ちゃんと動くか確かめて", "最後まで検証して", or asks whether a change really works. A bare "go" said to approve a proposed plan before any change exists means "proceed", not this skill.
/merge-approved-prsMerge the pull requests the user names, one at a time, only once a human other than the agent's own account has approved them: the approving review is the merge decision, and the skill never approves a PR or judges its merit. Per named PR it requires a human approval on the current head, no outstanding change request, green CI, and a verified rollback path; merges with the repository's method; then verifies merged → applied → functioning with the shared post-merge safety net plus the PR's test plan and linked issue acceptance criteria, as read-only checks only. On failure it auto-reverts when the revert can land without a human approval, else opens the revert PR and escalates; either way it stops. Strictly serial. GitHub only. Not for the user's own unapproved PRs (merge-own-prs), Renovate PRs (merge-renovate-prs), or integration-branch PRs (merge-issue-prs). Use when the user says "merge the approved PRs #12 and #15", "approve されたPRをマージして", "レビュー通った #N をマージして検証まで", "承認済みのPRをマージしていって".
/merge-issue-prsMerge the issue pipeline's own implementation PRs into a per-milestone integration branch without per-PR human review — decide eligibility under a fail-closed policy (pipeline-created PR, issue author has write access, gates passed, CI green, no human comment or review), merge eligible PRs one at a time, verify each against integration-branch CI, auto-revert failures, and own the integration→main milestone (rollup) PR: create it, keep it updated as a live dashboard, and flip it to ready. Anything ambiguous is deferred, never merged. Runs standalone on a parent issue's ready PRs, or as implement-issue's merge gate. GitHub only. Use when the user says "merge the pipeline PRs", "process the ready PRs for issue #N", "run the merge gate", "auto-merge the implementation PRs", "update the milestone PR and flip it to ready", "統合ブランチにマージして", "issue #N の実装PRをマージしていって", "パイプラインのPRをマージして", "マイルストーンPRを最新化して", "自動マージできるPRを判定して". Not for dependency-bot PRs (that is merge-renovate-prs) and never for human-authored PRs.
npx claudepluginhub aoshimash/skills --plugin aoshimash-skills