Agent Skillsboshu2/agentops › implement

implement

GitHub

执行单一受限实验,基于意图进行最小化代码修改,遵循先红后绿原则验证功能,并生成证据收据。

skills-codex/implement/SKILL.md boshu2/agentops

Trigger Scenarios

implement implement this bead run the experiment

Install

npx skills add boshu2/agentops --skill implement -g -y
More Options

Non-standard path

npx skills add https://github.com/boshu2/agentops/tree/main/skills-codex/implement -g -y

Use without installing

npx skills use boshu2/agentops@implement

指定 Agent (Claude Code)

npx skills add boshu2/agentops --skill implement -a claude-code -g -y

安装 repo 全部 skill

npx skills add boshu2/agentops --all -g -y

预览 repo 内 skill

npx skills add boshu2/agentops --list

SKILL.md

Frontmatter
{
    "name": "implement",
    "description": "Execute one bounded RED to GREEN experiment from bead or caller intent; return derived subject identity and check facts. Triggers: \"implement\", \"implement this bead\", \"run the experiment\". Full plan-to-validation requests route to rpi."
}

Implement

Execute exactly one bounded experiment described by the resolved bead or caller intent. Implement owns subject edits and factual evidence; the runtime derives identity and receipts.

Prompt

Implement bead ag-1234 from its text: acceptance "ao gate check lists
skill.probe-coverage", scope cli/internal/gates/** plus regen outputs, first
check `cd cli && go test ./internal/gates/...`. RED first, smallest change,
return the manifest digest and check receipts, stop.

It's working if

  • After source activation and startup association, the first behavior check is the acceptance check; its output shows the expected failure (or an honest green structural baseline for documentation, relocation, or refactor work).
  • Every path in git diff --stat falls inside the declared scope; an outside consumer is reported as file:line, not absorbed.
  • The response carries the subject-manifest.v1 digest, author context ID, and verbatim check output; no git commit or git push appears.

Workflow

  1. Read the intent, acceptance, and scope from their existing source; before the first write, read boundaries.md in the rpi skill's references directory for what Implement does not own. Before execution can fail, the caller passes source-store/project/work identity and permitted intent locators at dispatch/start. At startup, return observed native runtime, session/context identity (or explicit unknowns) through the caller-owned runtime channel for native comments/metadata recording; do not defer this association until handoff. Follow the fact distinctions in session associations. Parent and resume links need observed provenance; controller dispatch alone does not establish native parentage. If startup observation or recording fails, preserve that failure and the pre-execution reference with the caller, leaving unobserved IDs unknown. Implement does not mutate the tracker.
  2. Run the declared first acceptance check before changing behavior. RED-first applies when acceptance is behavioral: preserve evidence that the check fails for the expected missing behavior. Relocations, doc merges, and pure refactors record an honest green pre-change baseline instead.
  3. Make the smallest in-scope change that satisfies the active behavior.
  4. Run the targeted acceptance checks and capture factual results.
  5. Refactor only while those checks stay green. Refactoring does not change the acceptance test.
  6. Have the runtime derive actual changed paths and subject-manifest.v1 from the before/after subject.
  7. Run ao provenance evidence-orphans --root <repo-root> with one --changed <path> per changed path the runtime derived, and put its JSON output in the check receipts the validator reads, so orphaned evidence arrives as a receipt rather than as a surprise at verify time. Run it again after every repair round, over the paths as they stand, because a repair can orphan evidence the first pass did not. Read the output as written and never hand-list the orphans instead.
  8. Return the manifest digest, author context ID, and exact check receipts in the response or runtime channel. Stop.

Specialists (standards, domain, test, refactor, security) advise only. During edits, run the smallest deterministic checks that can falsify the change, reuse exact-input receipts whose subject and tool identity still match, and run the full suite at the integration boundary unless the intent makes it the first check.

Scope conflict rule

On discovering a live consumer of the change outside the declared write scope (a test asserting the old path, a generated twin, a gate reading the moved file), stop and report the exact file and line to the caller, who may revise the intent and start a separate invocation; a different acceptance contract is a new intent.

Before declaring GREEN, self-audit the diff for mocks, placeholders, TODO stubs, hardcoded fixture values, weakened assertions, regenerated goldens, widened tolerances, suppression directives, or specification edits standing in for real behavior. A changed test, gate, fixture, golden, or acceptance source must be required by the original intent, with green coming from the implemented behavior; a check that passes against a substitute or weakened oracle is not evidence: finish the behavior or report it as not built.

Boundary

Do not commit, push, claim, close, release, land, reserve, retry, or invoke a semantic validator. A failed check is evidence for the caller, not permission to create a packet or validation loop.

Version History

  • 8061085 Current 2026-09-09 05:19

    新增启动时的运行时观察与会话关联记录;增加变更路径的孤儿证据检查流程;强化边界与身份验证。

  • 7b07a7d 2026-08-19 22:02

    修复技能激活元数据保留问题,增强 YAML 校验规则,重新生成所有投影和哈希值。

  • 3f402e5 2026-07-24 22:09

Same Skill Collection

images/gemini/skills/account-rotation/SKILL.md
images/gemini/skills/agent-mail/SKILL.md
images/gemini/skills/agent-native/SKILL.md
images/gemini/skills/agy-native/SKILL.md
images/gemini/skills/anti-ceremony/SKILL.md
images/gemini/skills/automation-shape-routing/SKILL.md
images/gemini/skills/bootstrap/SKILL.md
images/gemini/skills/cass/SKILL.md
images/gemini/skills/cc-hooks/SKILL.md
images/gemini/skills/codebase-recon/SKILL.md
images/gemini/skills/codex-exec/SKILL.md
images/gemini/skills/converter/SKILL.md
images/gemini/skills/council/SKILL.md
images/gemini/skills/craft-goal/SKILL.md
images/gemini/skills/crank/SKILL.md
images/gemini/skills/dcg/SKILL.md
images/gemini/skills/doc/SKILL.md
images/gemini/skills/domain/SKILL.md
images/gemini/skills/fitness/SKILL.md
images/gemini/skills/goals/SKILL.md
images/gemini/skills/handoff/SKILL.md
images/gemini/skills/human-only-skills/SKILL.md
images/gemini/skills/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/ntm/SKILL.md
images/gemini/skills/one-way-door/SKILL.md
images/gemini/skills/operationalize/SKILL.md
images/gemini/skills/pattern-mining/SKILL.md
images/gemini/skills/plan/SKILL.md
images/gemini/skills/postmortem/SKILL.md
images/gemini/skills/premortem/SKILL.md
images/gemini/skills/product/SKILL.md
images/gemini/skills/rch/SKILL.md
images/gemini/skills/reality-check/SKILL.md
images/gemini/skills/refactor/SKILL.md
images/gemini/skills/research/SKILL.md
images/gemini/skills/reverse-engineer/SKILL.md
images/gemini/skills/route/SKILL.md
images/gemini/skills/rpi/SKILL.md
images/gemini/skills/sbh/SKILL.md
images/gemini/skills/scaffold/SKILL.md
images/gemini/skills/scope/SKILL.md
images/gemini/skills/security/SKILL.md
images/gemini/skills/shared/SKILL.md
images/gemini/skills/skill-builder/SKILL.md
images/gemini/skills/skill-eval/SKILL.md
images/gemini/skills/standards/SKILL.md
images/gemini/skills/status/SKILL.md

Metadata

Files
0
Version
8061085
Hash
fd719d2b
Indexed
2026-07-24 22:09

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 07:01
浙ICP备14020137号-1 $방문자$