fullstack-dev
Skill này làm gì
Skill này là hướng dẫn xây ứng dụng full-stack kết hợp API backend với frontend. Skill dành cho lập trình viên muốn một dự án được tổ chức tốt ngay từ đầu.
Khi nào nên dùng
- ✓Khi bạn bắt đầu một ứng dụng full-stack như danh sách việc cần làm, CRUD hoặc chat.
- ✓Khi bạn cần một REST API kết nối với frontend.
- ✓Khi bạn muốn thêm đăng nhập, cập nhật thời gian thực hoặc lưu trữ cơ sở dữ liệu cho ứng dụng.
Liên kết skill
https://github.com/MiniMax-AI/skills/blob/main/skills/fullstack-dev/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi muốn xây ứng dụng danh sách việc cần làm với frontend React và API Express lưu vào PostgreSQL.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent hỏi về stack công nghệ, cơ sở dữ liệu và các tính năng của bạn, rồi đưa ra các quyết định thiết kế chính trước khi viết mã. Agent làm theo quy tắc của skill về các tầng, xử lý lỗi và cấu hình.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Agent hỏi gì trước khi viết mã?
Nó hỏi về stack, loại dịch vụ, cơ sở dữ liệu, kiểu API, nhu cầu thời gian thực và phương thức đăng nhập.
Nó có bỏ qua các câu hỏi tôi đã trả lời không?
Có. Nếu bạn đã cung cấp những chi tiết đó trong yêu cầu, nó tiếp tục mà không hỏi lại.
Skill bao gồm các ngôn ngữ backend nào?
Skill nhắc đến backend Node.js, Python và Go.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 14k
- Vị trí xếp hạng
- #11290
- Giấy phép
- MIT
- Cập nhật
- 18/4/2026
Bình luận
- …
Thêm skill từ kho mã này
design-style-skill
14kGiúp agent của bạn chọn một phong cách slide nhất quán, từ sắc nét và gọn đến mềm mại, bo tròn hoặc thoáng, với góc và khoảng cách khớp.
ppt-editing-skill
14kGiúp agent của bạn chỉnh sửa tệp hoặc mẫu PowerPoint hiện có một cách an toàn: đổi nội dung, sắp xếp hoặc xóa slide, và đóng gói lại bộ trình chiếu hợp lệ.
ppt-orchestra-skill
14kGiúp agent của bạn lên kế hoạch toàn bộ bộ trình chiếu PowerPoint trước khi dựng, xếp mỗi slide vào loại trang chuẩn và kiểm tra nội dung.
slide-making-skill
14kGiúp agent của bạn viết từng slide PowerPoint bằng JavaScript với PptxGenJS, gồm bố cục, chữ, hình ảnh, biểu đồ và phông chữ cho tệp .pptx gốc.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.