Use this skill when creating or reviewing Next.js Route Handlers (app/api), adding rate limiting, input validation, or auth to API endpoints. Trigger words: API ルート, Route Handler, app/api, エンドポイント, レート制限, 入力検証, CORS, ヘッダー, 認証付き API, hardening.
bootstrap
Use this skill when starting a new session, opening this project for the first time, or when you need to recall the project's tech stack, hard rules, and which other skills exist. Trigger words: セッション開始, このプロジェクト, 全体像, どのスキル, 何から, getting started, overview.
含まれるファイル(1)
- SKILL.md2.5 KB
SKILL.md(原文)
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Bootstrap(セッション起動ガイド)
いつ使うか
- セッションを始めた直後で、プロジェクトの前提をまだ把握していないとき。
- 「このプロジェクトは何を使ってる?」「どのルールを守る?」と聞かれたとき。
- どのスキル/コマンドを使えばいいか分からないとき。
やること
- スタックを確認する(下記)。
CLAUDE.mdと.claude/rules/が一次情報。 - 作業の種類から適切なスキルを選ぶ(
.claude/skills/README.mdの一覧)。 - 定型操作はスラッシュコマンド(
.claude/commands/)を使う。 - 重い独立作業はサブエージェント(
.claude/agents/)に委譲する。
スタック(地図)
- Next.js 16(App Router / Turbopack / Server Components デフォルト)
- TypeScript strict / Tailwind v4 + shadcn/ui
- MongoDB Atlas + Mongoose 8.x + Zod
- Better Auth / Vitest + Playwright / Vercel / AI SDK 6(任意)
守るルール(最優先の 4 つ)
- 型安全 > 速さ。
any/@ts-ignore/export default禁止。 - 外部境界(API 入力・env・DB 応答)は Zod で必ず検証。
- 新規実装の前に
examples/と既存コードを探す。 - 破壊的操作(DB 削除・force push・本番設定変更)は実行前に確認。
典型例(作業 → スキルの対応)
「ユーザー一覧ページを作りたい」 → nextjs-app-router + mongoose-modeling
「フォーム送信を実装」 → nextjs-server-actions + zod-validation
「検索が遅い」 → mongodb-aggregation + atlas-search-vector
「この UI を改善して」 → frontend-design-house + tailwind-v4-shadcn
「ログインを付けたい」 → auth-better-auth + server-only-secrets
「PR 出すから説明文を」 → pr-japanese-summary
アンチパターン
- スタックを確認せず推測で別ライブラリを導入する。
- スキル/コマンドの存在を無視して全部手で書く。
- 鉄則(
any禁止など)を破って「とりあえず動く」コードを出す。
レビュー
まだレビューはありません。使ってみた感想をお寄せください。
同じリポジトリのスキル
概要と使いどころ
Use this skill when implementing full-text search, autocomplete, or vector/semantic search and RAG with MongoDB Atlas. Trigger words: 全文検索, あいまい検索, オートコンプリート, ベクトル検索, セマンティック検索, 類似検索, Atlas Search, $search, $vectorSearch, RAG, embedding.
Use this skill when implementing sign-in, sessions, authorization checks, or protecting routes and Server Actions. Trigger words: 認証, ログイン, サインイン, セッション, 認可, 権限チェック, Better Auth, Auth.js, 保護, ミドルウェア, getSession.
Use this skill when setting up or modifying CI pipelines, GitHub Actions workflows, or automated checks (lint, typecheck, test, build) for this project. Trigger words: CI, GitHub Actions, ワークフロー, パイプライン, 自動テスト, lint チェック, typecheck, ビルド検証, .github/workflows.
Use this skill when writing end-to-end tests, browser automation, or verifying user flows in a real browser. Trigger words: E2E, Playwright, ブラウザテスト, ユーザーフロー, 結合テスト, シナリオテスト, ログインテスト, getByRole, expect.
Use this skill when handling runtime errors, adding error.tsx or not-found.tsx, designing fallback UI, or deciding what to surface to users vs logs. Trigger words: エラー処理, error.tsx, not-found, 例外, フォールバック, エラーバウンダリ, try catch, ユーザー向けエラー, ログ.