Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
日本語の概要は準備中です。原文の説明を表示しています。
Implement and test Go codemods for the gh aw fix command.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when adding or updating codemods used by gh aw fix.
pkg/cli/fix_command.go to understand execution flow:
GetAllCodemods()(newContent, applied, error) and be safe for no-op inputpkg/cli/fix_codemods.go.pkg/cli/yaml_frontmatter_utils.go and reusable codemod helper constructors in pkg/cli/codemod_factory.go.pkg/cli/ named codemod_<feature>.go.logger.New("cli:codemod_<feature>").get<Feature>Codemod() Codemod and populate all metadata fields:
ID (stable, unique)Name (human-readable)Description (clear migration behavior)IntroducedIn (release version)Apply:
applied=false when migration is not neededapplyFrontmatterLineTransform from pkg/cli/yaml_frontmatter_utils.gofindAndReplaceInLineremoveFieldFromBlockremoveParentBlockIfTrulyEmptynewFieldRemovalCodemodnewMoveTopLevelKeyToOnBlockCodemod...WithDeps constructor so tests can mock behavior.pkg/cli/fix_codemods.go within GetAllCodemods().Create pkg/cli/codemod_<feature>_test.go and cover:
ID, Name, Description, IntroducedIn, Apply != nil)....WithDeps exists (success and fallback/error paths).When complexity is high (expression rewriting, parser-like behavior), add fuzz tests in codemod_<feature>_fuzz_test.go using the pattern in pkg/cli/codemod_steps_run_secrets_env_fuzz_test.go.
After adding a codemod, update pkg/cli/fix_codemods_test.go:
Order matters because codemods run sequentially and later codemods observe prior transformations.
Run targeted checks first:
go test -v ./pkg/cli -run Codemod -count=1go test -v ./pkg/cli -run Fix -count=1Then run repository standards:
make buildmake test-unitmake lintA codemod is ready only when it is:
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication
日本語の概要は準備中です。原文の説明を表示しています。
Shared hard rules enforced across all squad agents
日本語の概要は準備中です。原文の説明を表示しています。
Route gh-aw design, creation, diagnosis, patching, active debugging, and upgrade requests to the right strategies.
日本語の概要は準備中です。原文の説明を表示しています。
How to write comprehensive architectural proposals that drive alignment before code is written
日本語の概要は準備中です。原文の説明を表示しています。
Upgrade gh-aw to latest gh-aw-firewall release and identify follow-up spec tasks.
日本語の概要は準備中です。原文の説明を表示しています。
Review code that performs git or gh operations against repository checkouts in gh-aw, checking that the right credentials are available at the right time and that sparseness, shallowness and credential-free factors are properly considered.
日本語の概要は準備中です。原文の説明を表示しています。