Skip to content

実装: .claude/agents/implementation-worker.md / pr-reviewer.md / test-runner.md に ci-test-performance routing 契約を追記する #1097

Closed as not planned

Description

@squne121

Machine-Readable Contract

contract_schema_version: v1
issue_kind: implementation
change_kind: docs
stage: 1
blocked_by: []
dedupe_key: "follow-up:squne121/loop-protocol:pr/1078:claude-agents-update"

Background

PR #1078 (#1060 implement) で docs/dev/agent-skill-boundaries.md と .codex/agents/*.toml に ci-test-performance Consumer Routing を追加した。しかし .claude/agents/ 配下の Claude Code 向け agent ファイルへの更新は PR #1078 のスコープ外として明示除外された。

現在 .claude/agents/implementation-worker.md、.claude/agents/pr-reviewer.md、.claude/agents/test-runner.md には CI_SKILL_ROUTING セクションが存在せず、Claude Code agent が ci-test-performance skill をどのタイミング・どの役割で参照すべきかを示す情報が欠けている。

Parent Goal Ref

  • Goal: .claude/agents/ 配下の 3 ファイルに CI_SKILL_ROUTING セクションを追記し、.codex/agents/*.toml および docs/dev/agent-skill-boundaries.md の ci-test-performance Consumer Routing と整合させる
  • Desired Destination: .claude/agents/implementation-worker.md・pr-reviewer.md・test-runner.md が .claude/skills/ci-test-performance/SKILL.md の Consumer Routing に準拠した CI_SKILL_ROUTING セクションを持つ状態

Current Validated Scope

  • .claude/agents/implementation-worker.md: CI_SKILL_ROUTING セクション追記
  • .claude/agents/pr-reviewer.md: CI_SKILL_ROUTING セクション追記
  • .claude/agents/test-runner.md: CI_SKILL_ROUTING セクション追記

Remaining Parent Gaps

なし(本 Issue 完了後、#1059 の claude-agents 対応は完結)

Outcome

.claude/agents/implementation-worker.md、.claude/agents/pr-reviewer.md、.claude/agents/test-runner.md のそれぞれが CI_SKILL_ROUTING セクションを持ち、.codex/agents/*.toml および .claude/skills/ci-test-performance/SKILL.md の Consumer Routing と整合している。

In Scope

  • .claude/agents/implementation-worker.md への CI_SKILL_ROUTING セクション追記
  • .claude/agents/pr-reviewer.md への CI_SKILL_ROUTING セクション追記
  • .claude/agents/test-runner.md への CI_SKILL_ROUTING セクション追記
  • 追記内容は .codex/agents/*.toml の CI_SKILL_ROUTING を参考に、.claude/skills/ci-test-performance/SKILL.md の Consumer Routing を参照する形式

Out of Scope

Acceptance Criteria

  • AC1: .claude/agents/implementation-worker.md に CI_SKILL_ROUTING セクションが存在する
  • AC2: .claude/agents/pr-reviewer.md に CI_SKILL_ROUTING セクションが存在する
  • AC3: .claude/agents/test-runner.md に CI_SKILL_ROUTING セクションが存在する
  • AC4: 各 CI_SKILL_ROUTING セクションに .claude/skills/ci-test-performance/SKILL.md への参照が含まれる
  • AC5: 追記内容が .codex/agents/*.toml の CI_SKILL_ROUTING と整合している(timing・role が対応している)
  • AC6: 既存の各 agent ファイルの他セクションが変更されていない

Stop Conditions

  • Allowed Paths 外の変更が必要と判明した場合
  • .claude/agents/ ファイルの既存セクションを壊す変更が必要になった場合

Required Skills

  • Markdown docs editing
  • .claude/skills/ci-test-performance/SKILL.md の Consumer Routing 理解

Verification Commands

# AC1: implementation-worker.md に CI_SKILL_ROUTING セクションが存在する
$ rg CI_SKILL_ROUTING .claude/agents/implementation-worker.md
# AC2: pr-reviewer.md に CI_SKILL_ROUTING セクションが存在する
$ rg CI_SKILL_ROUTING .claude/agents/pr-reviewer.md
# AC3: test-runner.md に CI_SKILL_ROUTING セクションが存在する
$ rg CI_SKILL_ROUTING .claude/agents/test-runner.md
# AC4: ci-test-performance SKILL.md への参照が含まれる
$ rg ci-test-performance .claude/agents/implementation-worker.md .claude/agents/pr-reviewer.md .claude/agents/test-runner.md
# canonical gates
$ pnpm typecheck
$ pnpm lint
$ pnpm test
$ pnpm build

Allowed Paths

  • .claude/agents/implementation-worker.md
  • .claude/agents/pr-reviewer.md
  • .claude/agents/test-runner.md

Runtime Verification Applicability

  • decision: not_applicable
  • reason: docs-only 変更のため runtime 検証は不要。VC は rg による静的テキスト確認で十分。

Related Issues

Source

Activity

  1. added
    enhancement
    phase/implementation
    agent/implementer
    on Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/implementerenhancementphase/implementation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions