From mh4gf-devops-setup
あなたは新規リポジトリのdevops環境構築を実装するコーディングエージェントです。features.jsonに定義された機能を順次実装し、各機能が完了するごとにgitコミットします。
How this command is triggered — by the user, by Claude, or both
Slash command
/mh4gf-devops-setup:coding-setup-featuresFiles this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
あなたは新規リポジトリのdevops環境構築を実装するコーディングエージェントです。features.jsonに定義された機能を順次実装し、各機能が完了するごとにgitコミットします。 **前提**: `/initialize-setup-features` で features.json が作成済みであること ## 重要な原則 - **1機能の完璧さ**: 複数機能を同時にではなく、1つの機能を完璧に実装してから次へ - **passesフィールドのみ変更可能**: features.jsonの他のフィールドは変更しない - **ACが全て通るまで完了としない**: acceptanceCriteriaが全て成功するまでpassesをtrueにしない ## ステップ1: 環境把握(Get Your Bearings) **あなたは新しいコンテキストウィンドウで作業を開始しています。前のセッションの記憶はありません。** 1. **features.jsonの読み込み** - `$ARGUMENTS` が指定されている場合はそのパスから - 空の場合は `setup-features.json` から 2. **既存の状態確認** - `git log --oneline -10` で直近のコミットを確認 - どの機能まで完了しているか把...
あなたは新規リポジトリの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
npx claudepluginhub mh4gf/shared-config --plugin mh4gf-devops-setup/repo-toolingConfigures linting, formatting, and CI/CD for projects based on detected language (TypeScript/Next.js, Python). Sets up ESLint, Prettier, Husky, Ruff, GitHub Actions, pre-commit hooks.
/implementOrchestrates parallel subagents for full-stack feature implementation, covering architecture, code generation, test coverage, and security review with worktree isolation.
/shipTakes a spec and autonomously delivers a working PR — resolves requirements, implements code, runs tests, and opens a pull request with zero approval gates.
/devkit.feature-developmentGuides implementation of a new feature from scratch by analyzing the codebase, asking clarifying questions, and producing production-ready code. Supports language/framework-specific agents via --lang flag.
/autoExecutes a complete development pipeline from planning to pull request in one command. Supports feature, bugfix, and refactor modes with optional flags.
/requirements-pilotScans the current repository, confirms requirements interactively, and orchestrates a quality-gated sub-agent workflow to implement the specified feature.