fullstack-dev
できること
このスキルは、バックエンドのAPIとフロントエンドを組み合わせた、フルスタックのアプリを作るための手引きです。最初から整理されたプロジェクトを作りたい開発者向けです。
使う場面
- ✓Todoアプリ、CRUDアプリ、チャットアプリなどのフルスタックアプリを始めるとき。
- ✓フロントエンドとつながるREST APIが必要なとき。
- ✓アプリにログイン、リアルタイム更新、データベース保存を加えたいとき。
スキルのリンク
https://github.com/MiniMax-AI/skills/blob/main/skills/fullstack-dev/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Reactのフロントエンドと、PostgreSQLに保存するExpress APIを使ったTodoアプリを作りたいです。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、まず使う技術、データベース、機能について質問します。そのうえで、コードを書く前に主要な設計を決めます。層、エラー処理、設定に関するスキルのルールに従います。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Full-Stack Development Practices
MANDATORY WORKFLOW — Follow These Steps In Order
When this skill is triggered, you MUST follow this workflow before writing any code.
Step 0: Gather Requirements
Before scaffolding anything, ask the user to clarify (or infer from context):
- Stack: Language/framework for backend and frontend (e.g., Express + React, Django + Vue, Go + HTMX)
- Service type: API-only, full-stack monolith, or microservice?
- Database: SQL (PostgreSQL, SQLite, MySQL) or NoSQL (MongoDB, Redis)?
- Integration: REST, GraphQL, tRPC, or gRPC?
- Real-time: Needed? If yes — SSE, WebSocket, or polling?
- Auth: Needed? If yes — JWT, session, OAuth, or third-party (Clerk, Auth.js)?
If the user has already specified these in their request, skip asking and proceed.
Step 1: Architectural Decisions
Based on requirements, make and state these decisions before coding:
| Decision | Options | Reference |
|---|---|---|
| Project structure | Feature-first (recommended) vs layer-first | Section 1 |
| API client approach | Typed fetch / React Query / tRPC / OpenAPI codegen | Section 5 |
| Auth strategy | JWT + refresh / session / third-party | Section 6 |
| Real-time method | Polling / SSE / WebSocket | Section 11 |
| Error handling | Typed error hierarchy + global handler | Section 3 |
Briefly explain each choice (1 sentence per decision).
Step 2: Scaffold with Checklist
Use the appropriate checklist below. Ensure ALL checked items are implemented — do not skip any.
Step 3: Implement Following Patterns
Write code following the patterns in this document. Reference specific sections as you implement each part.
Step 4: Test & Verify
After implementation, run these checks before claiming completion:
- Build check: Ensure both backend and frontend compile without errors
# Backend cd server && npm run build # Frontend cd client && npm run build - Start & smoke test: Start the server, verify key endpoints return expected responses
# Start server, then test curl http://localhost:3000/health curl http://localhost:3000/api/<resource> - Integration check: Verify frontend can connect to backend (CORS, API base URL, auth flow)
- Real-time check (if applicable): Open two browser tabs, verify changes sync
If any check fails, fix the issue before proceeding.
Step 5: Handoff Summary
Provide a brief summary to the user:
- What was built: List of implemented features and endpoints
- How to run: Exact commands to start backend and frontend
- What's missing / next steps: Any deferred items, known limitations, or recommended improvements
- Key files: List the most important files the user should know about
Scope
USE this skill when:
- Building a full-stack application (backend + frontend)
- Scaffolding a new backend service or API
- Designing service layers and module boundaries
- Implementing database access, caching, or background jobs
- Writing error handling, logging, or configuration management
- Reviewing backend code for architectural issues
- Hardening for production
- Setting up API clients, auth flows, file uploads, or real-time features
NOT for:
- Pure frontend/UI concerns (use your frontend framework's docs)
- Pure database schema design without backend context
Quick Start — New Backend Service Checklist
- Project scaffolded with feature-first structure
- Configuration centralized, env vars validated at startup (fail fast)
- Typed error hierarchy defined (not generic
Error) - Global error handler middleware
- Structured JSON logging with request ID propagation
- Database: migrations set up, connection pooling configured
- Input validation on all endpoints (Zod / Pydantic / Go validator)
- Authentication middleware in place
- Health check endpoints (
/health,/ready) - Graceful shutdown handling (SIGTERM)
- CORS configured (explicit origins, not
*) - Security headers (helmet or equivalent)
-
.env.examplecommitted (no real secrets)
Quick Start — Frontend-Backend Integration Checklist
- API client configure
よくある質問
コードを書く前に、エージェントは何を質問しますか?
技術スタック、サービスの種類、データベース、APIの形式、リアルタイム機能の要否、ログイン方法について質問します。
すでに答えた内容を聞き直しますか?
いいえ。依頼にすでに含まれている内容は、改めて聞かずに進めます。
どのバックエンド言語に対応していますか?
Node.js、Python、Goのバックエンドに触れています。
詳細
作者による元の説明
Full-stack backend architecture and frontend-backend integration guide. TRIGGER when: building a full-stack app, creating REST API with frontend, scaffolding backend service, building todo app, building CRUD app, building real-time app, building chat app, Express + React, Next.js API, Node.js backend, Python backend, Go backend, designing service layers, implementing error handling, managing config/auth, setting up API clients, implementing auth flows, handling file uploads, adding real-time features (SSE/WebSocket), hardening for production. DO NOT TRIGGER when: pure frontend UI work, pure CS
repo: MiniMax-AI/skills
人気
- GitHubのスター
- 14k
- ランキング
- #11290
- ライセンス
- MIT
- 更新日
- 2026/4/18
コメント
- …
このリポジトリの他のスキル
design-style-skill
14kエージェントが、スライドの見た目を一つの統一されたスタイルに決められるよう支援します。シャープで引き締まったものから、やわらかく丸みのあるもの、ゆったりしたものまで選べます。
ppt-editing-skill
14kエージェントが既存のPowerPointファイルやテンプレートを安全に編集できるよう支援します。文字の変更、スライドの並べ替えや削除を行い、有効な資料として組み直します。
ppt-orchestra-skill
14kエージェントが、PowerPointの資料全体を作る前に計画できるよう支援します。各スライドを標準的なページの種類に分け、種類のばらつきと文章の品質を確認します。
slide-making-skill
14kエージェントが、PptxGenJSを使ったJavaScriptで一枚のPowerPointスライドを作れるよう支援します。レイアウト、文字、画像、グラフ、フォントを扱い、ネイティブの.pptxファイルを作ります。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。