بنقرة واحدة
nean-add-feature
Scaffold a new feature with NestJS module, TypeORM entity, DTOs, and Angular components.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scaffold a new feature with NestJS module, TypeORM entity, DTOs, and Angular 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 | nean-add-feature |
| description | Scaffold a new feature with NestJS module, TypeORM entity, DTOs, and Angular components. |
| argument-hint | <feature-name> [--no-ui] [--no-api] [--no-entity] |
| allowed-tools | Bash, Write, Read, Glob, Grep |
Add a complete feature slice to an existing NEAN project with all layers wired up and tests included.
feature-name — Feature name in kebab-case (e.g., user-profile, invoice)--no-ui — Skip Angular components (API-only feature)--no-api — Skip NestJS module (frontend-only feature)--no-entity — Skip TypeORM entity (use existing entity)libs/shared/types/src/<feature>.dto.ts # DTOs + interfaces
libs/api/database/src/entities/<feature>.entity.ts # TypeORM entity
apps/api/src/modules/<feature>/
<feature>.module.ts
<feature>.controller.ts
<feature>.service.ts
__tests__/
<feature>.controller.spec.ts
<feature>.service.spec.ts
apps/web/src/app/<feature>/
<feature>.routes.ts
<feature>-list/
<feature>-list.component.ts
<feature>-form/
<feature>-form.component.ts
<feature>-detail/
<feature>-detail.component.ts
libs/web/data-access/src/<feature>/
<feature>.service.ts
<feature>.store.ts (NgRx feature state)
--no-ui: Only DTOs + entity + NestJS module--no-api: Only DTOs + Angular components + data-access--no-entity: Only DTOs + NestJS module + Angular (uses existing entity)kebab-case (input)PascalCase (e.g., UserProfile, CreateUserProfileDto)kebab-case.ts for everything/api/<feature> for collection, /api/<feature>/:id for itemAll DTOs go in libs/shared/types/src/<feature>.dto.ts:
Create<Feature>Dto — creation input with validation decoratorsUpdate<Feature>Dto — partial update input (PartialType)<Feature>ResponseDto — API response shapeGET /api/<feature> — list (paginated)POST /api/<feature> — createGET /api/<feature>/:id — get onePATCH /api/<feature>/:id — updateDELETE /api/<feature>/:id — deletenpm run lint and npm run test to verifySummarize: files created, API endpoints available, components ready to use.
For templates and patterns, see reference/nean-add-feature-reference.md