بنقرة واحدة
scaffold
Generate a new module, component, or screen with boilerplate, tests, and wiring.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate a new module, component, or screen with boilerplate, tests, and wiring.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Write a structured handoff at session end. Preserves context so the next agent can resume without human briefing. Invoke before ending any feature session longer than 30 minutes.
Multi-perspective code review against project standards with P1/P2/P3 severity classification. Works in Claude Code (Agent + optional GitHub MCP) and Cursor (Task subagents + gh/git). Use when the user invokes /review, asks for a PR or diff review, or wants a standards-aligned review with severity tags.
Multi-perspective code review (P1/P2/P3) for Cursor: inline checklists plus three parallel Task subagents (perf-auditor, security-reviewer, simplicity-reviewer with combined data-integrity prompt). Use when the user invokes /review, asks for a PR review, or wants repo-standard findings with severity.
Create well-formatted git commits following conventional commit standards.
Red→green→refactor discipline for new behavior — forces a failing test before implementation and a passing test before any claim of done.
Create or manage a git worktree for isolated parallel development — lets multiple agents work in the repo simultaneously without branch collisions.
| name | scaffold |
| description | Generate a new module, component, or screen with boilerplate, tests, and wiring. |
Generate a new module, component, or screen with boilerplate, tests, and wiring.
/scaffold <type> <name> [--path <path>]
type: What to generate — module, component, screen, endpoint, model, servicename: Name of the thing to create (PascalCase or kebab-case)--path: Override default locationWhen this skill is invoked:
Autonomy:
prd/00_technology.md to determine stack and patternsQuality:
/scaffold module <name>)Create a complete backend module (service + model + route + tests):
src/{project}/{name}/
├── __init__.py # or index.ts
├── service.py # Business logic
├── models.py # Request/response schemas
└── router.py # API route handlers
tests/unit/
└── test_{name}_service.py
tests/integration/
└── test_{name}_api.py
Steps:
/scaffold component <name>)Create a React/UI component (web or mobile):
src/components/{name}/
├── {name}.tsx # Component implementation
├── {name}.test.tsx # Tests
└── index.ts # Re-export
Steps:
/scaffold screen <name>)Create a full screen/page:
Web (Next.js):
src/app/{name}/
├── page.tsx # Page component
├── layout.tsx # Layout (if needed)
└── loading.tsx # Loading state
Mobile (React Native):
src/screens/{name}/
├── {Name}Screen.tsx # Screen component
├── {Name}Screen.test.tsx
└── index.ts
iOS (SwiftUI):
Sources/{Feature}/
├── {Name}View.swift
├── {Name}ViewModel.swift
└── {Name}ViewTests.swift
Android (Compose):
app/src/main/java/.../feature/{name}/
├── {Name}Screen.kt
├── {Name}ViewModel.kt
└── {Name}UiState.kt
app/src/test/java/.../feature/{name}/
└── {Name}ViewModelTest.kt
Steps:
/scaffold endpoint <name>)Create a single API endpoint:
/scaffold model <name>)Create a data model / database entity:
/scaffold service <name>)Create a service layer class/module:
Before generating, read 2-3 existing files of the same type to detect:
$ /scaffold module notifications
Reading existing modules for patterns...
Detected: Python + FastAPI + SQLAlchemy
Creating notification module...
src/myapp/notifications/__init__.py
src/myapp/notifications/service.py
- NotificationService with create, get, list, mark_read
src/myapp/notifications/models.py
- CreateNotificationRequest, NotificationResponse
src/myapp/notifications/router.py
- POST /api/v1/notifications
- GET /api/v1/notifications
- GET /api/v1/notifications/{id}
- PUT /api/v1/notifications/{id}/read
tests/unit/test_notifications_service.py (6 tests)
tests/integration/test_notifications_api.py (4 tests)
Wiring...
Updated src/myapp/main.py — registered notifications router
Verification...
Lint: passing
Tests: 10/10 passing
Module 'notifications' scaffolded successfully.