CC学校

Build your .claude/

選ぶだけで、あなたの設定

スタックと欲しい機能をチェックすると、すぐに使える .claude/ 一式が右側に生成されます。コピーかダウンロードでプロジェクトへ。

generated · 5 files

あなたの .claude/ 構成

  • CLAUDE.md
    # このプロジェクトの前提
    
    - パッケージマネージャは **pnpm** 固定
    - テストは `pnpm test` で実行
    - `apps/legacy/` は触らない(凍結中)
    
    ## デプロイ
    - main へ merge 後、自動で staging に出る
    - prod 適用は別承認フロー
    
  • .claude/skills/release-notes/SKILL.md
    ---
    name: release-notes
    description: |
      Generate release notes from git log between two tags.
      Use when the user asks to draft release notes or "v1.x のリリースノート".
    ---
    
    # 手順
    1. `git log <from>..<to> --oneline` を取得
    2. Conventional Commits でカテゴリ分け(feat / fix / chore / docs)
    3. `RELEASE_NOTES.md` に書き出す(fix → feat → chore の順)
    4. ユーザーに見せて、削るべきものを聞く
    
  • .claude/skills/pr-review/SKILL.md
    ---
    name: pr-review
    description: |
      Reviews the current diff for security, perf, correctness.
      Use when the user asks to review the current branch or a PR.
    ---
    
    # 手順
    1. `git diff origin/main...` を取得
    2. 変更ファイルを論点単位に分類
    3. Severity (P0/P1/P2) ごとに REVIEW.md にコメント下書き
    4. P0 があれば最後に強調する
    
  • .claude/settings.json
    {
      "permissions": {
        "allow": [
          "Bash(git status:*)",
          "Bash(git diff:*)",
          "Bash(pnpm test)"
        ],
        "deny": [
          "Bash(rm -rf:*)",
          "Edit(.env)",
          "Edit(infra/prod/**)"
        ]
      },
      "hooks": {
        "PostToolUse": [
          {
            "matcher": "Edit|Write",
            "command": "biome format --write ${FILE} 2>/dev/null || prettier --write ${FILE}"
          }
        ]
      }
    }
    
  • .mcp.json
    {
      "mcpServers": {
        "github": {
          "command": "npx",
          "args": [
            "-y",
            "@modelcontextprotocol/server-github"
          ],
          "env": {
            "GITHUB_TOKEN": "${GITHUB_TOKEN}"
          }
        }
      }
    }
    

このページは生成のみ。実際にプロジェクトに置く時は、既存の .claude/.mcp.json とマージしてください。