chore(repo): コード編集を Opus/Sonnet サブエージェントに委譲する構成を追加#194
Merged
Conversation
高コストモデル (Fable) をメインループで使う場合のコスト最適化: - .claude/agents/implementer.md (model: opus) — 方針確定後の実装・複数ファイル編集 - .claude/agents/mechanic.md (model: sonnet) — 機械的変更 (rename/i18n/typo/定型修正) - CLAUDE.md に「モデルの役割分担」節を追加 (委譲の目安と自己完結プロンプトの規律) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
🚀 Preview Deployment
Deployed from commit dc79c98 |
shinyaoguri
added a commit
that referenced
this pull request
Jul 10, 2026
.claude/agents/ など .claude/ 配下だけを変更する PR に pkg:repo ラベルが付かない漏れがあった (PR #194 で発覚)。 Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
高コストモデル (Fable) をメインループにする場合のコスト最適化。まとまったコード編集はメインで直接行わず、
.claude/agents/のサブエージェントに委譲する構成と運用ルールを追加する。.claude/agents/implementer.md(model: opus → 現行 Opus 4.8): 方針が固まった実装・複数ファイル編集・リファクタ・テスト作成。パッケージ CLAUDE.md の不変条件・テスト規約・lint/test 検証をシステムプロンプトに焼き込み.claude/agents/mechanic.md(model: sonnet → 現行 Sonnet 5): rename / i18n キー追加 / typo / 定型修正 / lint 対応。判断が必要になったら即中断して報告する規律※ 元は #193 に積んだコミットだが、マージ後の push だったため main に入っておらず、本 PR として出し直し (cherry-pick)。
Test plan
npm run lint— exit 0implementer/mechanicが現れ、指定モデルで起動することDocumentation impact
ADR (該当する場合)
Related issues / PRs
🤖 Generated with Claude Code