원클릭으로
mern-add-feature
Scaffold a new feature with API route, Zod schema, Mongoose model, and UI components.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new feature with API route, Zod schema, Mongoose model, and UI components.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Scaffold a pnpm + Turborepo MERN monorepo with Next.js, tooling, tests, CI, and optional GitHub repo creation.
Configure GitHub repository security with branch protection, Dependabot, security scanning, and CI workflows. Integrates with mern-scaffold, nean-scaffold, and iOS projects.
Harden a Vercel deployment with security headers, CSP, bot protection, and deployment configuration
Add authentication to an iOS app with Sign in with Apple, biometrics, and Keychain storage.
Scaffold a new feature with View, ViewModel, and tests following ios-std conventions.
Review iOS code for compliance with standards, NFRs, and security policy.
| name | mern-add-feature |
| description | Scaffold a new feature with API route, Zod schema, Mongoose model, and UI components. |
| argument-hint | <feature-name> [--no-ui] [--no-api] [--no-model] |
| allowed-tools | Bash, Write, Read, Glob, Grep |
Add a complete feature slice to an existing MERN project with all layers wired up and tests included.
feature-name — Feature name in kebab-case (e.g., user-profile, invoice)--no-ui — Skip UI components (API-only feature)--no-api — Skip API route (frontend-only feature)--no-model — Skip Mongoose model (use existing model)packages/shared/schemas/<feature>.ts # Zod schemas + inferred types
apps/web/src/app/api/<feature>/route.ts # API route handler
apps/web/src/server/db/models/<feature>.ts # Mongoose model
apps/web/src/components/<feature>/ # UI components
<Feature>List.tsx
<Feature>Form.tsx
<Feature>Card.tsx
apps/web/src/components/<feature>/__tests__/
<Feature>Form.test.tsx
--no-ui: Only schema + API + model--no-api: Only schema + UI (for client-side-only features)--no-model: Only schema + API route + UI (uses existing model)kebab-case (input)PascalCase (e.g., UserProfile, CreateUserProfileInput)kebab-case.ts for utilities, PascalCase.tsx for React/api/<feature> for collection, /api/<feature>/[id] for itemAll Zod schemas go in packages/shared/schemas/<feature>.ts:
Create<Feature>Schema — creation inputUpdate<Feature>Schema — partial update input<Feature>Schema — full entity shapeGET /api/<feature> — list (paginated)POST /api/<feature> — createGET /api/<feature>/[id] — get onePATCH /api/<feature>/[id] — updateDELETE /api/<feature>/[id] — deletetoJSON transform to hide internal fieldspnpm lint and pnpm test to verifySummarize: files created, API endpoints available, components ready to use.
For templates and patterns, see reference/mern-add-feature-reference.md