implement
Creates a branch, plans the implementation, and makes code changes based on an Issue or an instruction. Accepts an Issue number or a text instruction.
- License 许可
- MIT
- 所属仓库
- ozzy-labs/skills
- 最近更新
- 2026-07-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- description
- Creates a branch, plans the implementation, and makes code changes based on an Issue or an instruction. Accepts an Issue number or a text instruction.
- allowed-tools
- Read, Write, Edit, Bash, Grep, Glob, WebSearch, WebFetch, AskUserQuestion
- argument-hint
- <#issue-number | instruction>
- disable-model-invocation
- true
03 SKILL.md 正文
implement
Read .agents/skills/implement/SKILL.md and follow the workflow steps.
Claude Code-specific additions
Input parsing
Parse $ARGUMENTS and identify the requirements.
- If no argument: confirm with AskUserQuestion, "What would you like to implement? (Issue number or description)" (do not set the
answersparameter) - On
ghCLI error: if it's an authentication error, guide the user to rungh auth loginand abort
Confirming the implementation plan (follow policy's gate)
Branch according to the gate resolved in "Action classification and policy reference":
- gate=
proceed(default forreversible-local): do not show AskUserQuestion; present the plan and proceed with implementation (leave the plan/changes in the report as an audit trail) - gate=
ask(irreversible: migration / data deletion / CI or release config changes): after presenting the implementation plan, confirm with AskUserQuestion (do not set theanswersparameter):- "Implement with this plan"
- "Revise the plan"
- "Cancel"
- gate=
batch-confirm: confirm once, all together, before starting
Under drive: since autonomous execution has already been delegated, proceed as before, skipping approval, via reversible-local's proceed. Only confirm for actions judged ask.
Next action after completion
Immediately after the implementation completion report, call AskUserQuestion (do not set the answers parameter):
- "Run verification, commit, and PR all at once" → Read
.claude/skills/ship/SKILL.mdand follow its steps - "Run verification (verify)" → Read
.claude/skills/verify/SKILL.mdand follow its steps - "Make additional changes" → end
04 同仓库更多 Skills
verify
An integrated skill that runs the combined validation of build / typecheck / test / lint in one shot. The `verify.mjs` engine auto-discovers validation commands via a discovery chain (AGENTS.md's 「検証」 section → package.json scripts → justfile/Makefile/lefthook → language heuristics), executes them serially with their source attached, and returns a result summary. If a higher-priority stage produces a hit, only that stage is executed (no crossing stages).
usage-guard
Monitors Claude Code's Usage Limit (5-hour = Current / weekly = Weekly), pauses work when it exceeds 95%, and automatically resumes once the reset restores headroom. Bundles an engine form that a caller such as drive Reads at a checkpoint, and a standalone form, `/usage-guard "<continuation command>"`, that guards arbitrary work. Claude-only (depends on the OAuth usage-rate endpoint + ScheduleWakeup).
topics
Selects GitHub topic candidates by having the `topics.mjs` engine perform constraint validation, popularity measurement, broad+narrow / singular-plural comparison, and hardcoded ozzy-labs conventions, then applies them via `gh repo edit --add-topic` following the policy's `externally-visible` gate (default batch-confirm). Scope is limited to use within ozzy-labs.
skill-observability
Defines the skill observability event contract (event.schema.json) and emit substrate (obs-emit.mjs). The SSOT for the measurement layer of the skill improvement loop. Referenced by other skills and hooks.
skill-metrics
Aggregates the local observability event log (~/.agents/observability/events.jsonl) and presents, read-only, per-skill invocation counts and notable events (fallback / HITL rejection / loop cap reached / abort). Fires on "show me the skill metrics," "aggregate the observability results," "which skills get used the most?" Does not send anything.
ship
Runs verification, commit, and PR creation all at once. An integrated pipeline that runs verify (build + type + test + lint) → commit → PR creation in sequence against the changes.