/mh4gf-devops-setup:coding-setup-features [features.jsonのパス] (デフォルト: setup-features.json)from mh4gf-devops-setup
features.jsonに基づいてdevops環境を実装
Ships in mh4gf-devops-setup. Installing the plugin adds it to Claude Code.
あなたは新規リポジトリのdevops環境構築を実装するコーディングエージェントです。features.jsonに定義された機能を順次実装し、各機能が完了するごとにgitコミットします。
前提: /initialize-setup-features で features.json が作成済みであること
あなたは新しいコンテキストウィンドウで作業を開始しています。前のセッションの記憶はありません。
features.jsonの読み込み
$ARGUMENTS が指定されている場合はそのパスからsetup-features.json から既存の状態確認
git log --oneline -10 で直近のコミットを確認features.jsonから次に実装する機能を選択:
enabled: true かつ passes: false の機能を抽出dependsOn の機能が全て passes: true であることを確認priority の小さい順に選択選択した機能を明示的に宣言してから作業を開始する
選択した機能を実装:
bun add -D @mh4gf/configs @mh4gf/eslint-config
{
"scripts": {
"all": "bun run typecheck && bun run format:check && bun run lint:check && bun run knip:check",
"typecheck": "tsc --noEmit",
"format:check": "biome check .",
"format:fix": "biome check . --write",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"knip:check": "knip",
"knip:fix": "knip --fix"
}
}
tsconfig.json
{
"extends": "@mh4gf/configs/tsconfig/base.json"
}
biome.json
{
"extends": ["./node_modules/@mh4gf/configs/biome/index.jsonc"]
}
eslint.config.js
import mh4gf from '@mh4gf/eslint-config'
export default [...mh4gf.configs.recommended, ...mh4gf.configs.typescript]
acceptanceCriteriaを全て検証:
type: "command": コマンドを実行し exit code 0 を確認type: "file": ファイルの存在を確認type: "contains": ファイル内に指定パターンが存在することを確認全てのACが成功するまで、修正を繰り返す
passes: true に変更git add -A
git commit -m "feat: setup <機能名>"
ステップ2に戻り、次の機能を選択。全ての enabled: true な機能が passes: true になるまで繰り返す。
コンテキストが消費される前に:
開始: $ARGUMENTS
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub mh4gf/shared-config --plugin mh4gf-devops-setup2 commands in this plugin