New Project — Tạo dự án mới
Scaffold dự án SaaS hoàn chỉnh với monorepo structure, CI/CD pipelines, database setup, authentication, và monitoring.Cú pháp
Cập nhật bộ mới: Có 4 skill hỗ trợ new/existing project:
/bootstrap— greenfield scaffold/adopt— brownfield audit + migration plan/onboard— role-specific onboarding doc/project-stage-detect— “where are we in development?”
Luồng hoạt động
1
Bước 1: Chọn tech stack
Interactive wizard: frontend framework, backend, database, auth method.
Default: Next.js + NestJS + PostgreSQL + JWT (theo CLAUDE.md).
2
Bước 2: Scaffold monorepo
Tạo cấu trúc:
3
Bước 3: Setup infrastructure
- Docker Compose (PostgreSQL + Redis)
- GitHub Actions (lint, test, build)
- Environment templates (.env.example)
4
Bước 4: Bootstrap code
- Auth module (JWT + refresh tokens)
- Database schema + first migration
- API health endpoint
- Frontend layout + auth pages
5
Bước 5: Documentation
- README với setup instructions
- CLAUDE.md cho project-specific rules
- API spec template
Output Structure
So sánh 4 skills project lifecycle
Chi tiết skills
/bootstrap — Greenfield scaffold
/bootstrap — Greenfield scaffold
Prefix:
/bootstrap, /bootstrap --auto, /bootstrap --fast, /bootstrap --parallelBootstrap new projects with research, tech stack, design, planning, implementation. Modes: full (interactive), auto (autonomous), fast (skip research), parallel (multi-agent)./adopt — Brownfield onboarding + migration
/adopt — Brownfield onboarding + migration
Prefix: Khi dùng: Join in-progress project hoặc upgrading from older template version. Khác
/adoptBrownfield onboarding: audit existing project artifacts for template format compliance, classify gaps by impact, produce numbered migration plan./project-stage-detect (checks what exists) — /adopt checks whether existing artifacts actually work với template’s skills./onboard — Role-specific onboarding doc
/onboard — Role-specific onboarding doc
Prefix:
/onboard <role>Generate contextual onboarding document cho contributor hoặc agent mới. Summarize project state, architecture, conventions, current priorities theo role./project-stage-detect — Auto-detect stage
/project-stage-detect — Auto-detect stage
Prefix: Khi dùng: “What stage are we in?”, “Full project audit”.
/project-stage-detectAnalyze project state, detect stage, identify gaps, recommend next steps./vibe --ship — Autonomous new feature from issue
/vibe --ship — Autonomous new feature from issue
Prefix:
/vibe --ship <issue-url>Sau khi bootstrap project, dùng /vibe --ship để ship feature autonomous: worktree → plan → cook → PR → merge → CI watch.