بنقرة واحدة
nean-unit-test
Run NEAN unit tests, report results, and optionally fix failures.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run NEAN unit tests, report results, and optionally fix failures.
التثبيت باستخدام 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-unit-test |
| description | Run NEAN unit tests, report results, and optionally fix failures. |
| argument-hint | [--scope api|web|libs|all] [--no-fix] |
| allowed-tools | Bash, Read, Glob, Grep, Write |
Run unit tests, report failures with enough detail to debug, then (with approval) fix issues and re-run to confirm.
--scope <target> — Limit to api, web, libs, or all (default: all)--no-fix — Report only, don't offer to fix# All tests
npm run test
# With coverage
npm run test -- --coverage
# Scoped (using Nx)
npx nx test api
npx nx test web
npx nx run-many --target=test --projects=shared-*
# Affected only (CI optimization)
npx nx affected --target=test
Include:
See /shared-review-workflow for approval gate protocol, fix constraints, and severity definitions.
# NestJS
apps/api/src/modules/<feature>/__tests__/<feature>.service.spec.ts
apps/api/src/modules/<feature>/__tests__/<feature>.controller.spec.ts
# Angular
apps/web/src/app/<feature>/<feature>.component.spec.ts
# Libraries
libs/<scope>/<name>/src/**/*.spec.ts
Default targets (configure in jest.config.ts):
For coverage setup and common fix patterns, see reference/nean-unit-test-reference.md