Skip to main content

scaffold

Generate new code modules following existing codebase patterns. Use when user says 'scaffold', 'generate', 'create new endpoint', 'new component', or 'new module'.

소스 정보

저장소
shipshitdev/v0
최근 소스 활동
2026년 4월 23일 11:55
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
scaffold
description
Generate new code modules following existing codebase patterns. Use when user says 'scaffold', 'generate', 'create new endpoint', 'new component', or 'new module'.
metadata
{"version":"1.0.0","tags":"scaffolding, code-generation, boilerplate, productivity"}
# Scaffold Generate new code following existing codebase patterns. ## Steps 1. **Determine what to scaffold** from arguments: - `endpoint [name]` — New API endpoint (controller + service + module) - `module [name]` — New backend module with full structure - `component [name]` — New UI component with proper typing - `package [name]` — New shared package - `collection [name]` — New database collection with schema + service 2. **Find 3+ existing examples**: - Search for similar implementations in the codebase - Identify the exact patterns used (imports, naming, file structure) - Note any module-specific conventions 3. **Scaffold based on type**: ### API Endpoint - Controller, Service, Module in appropriate directory - Follow: auth guards, tenant filtering, serializer response ### UI Component - Component file with proper typing - Props interface in dedicated props file - Export from barrel ### Shared Package - Directory with package.json - Barrel export: `src/index.ts` - TypeScript config ### Database Collection - Schema/model file - Interface in shared interfaces package - Serializer in shared serializers package (if applicable) 4. **Apply critical rules**: - Interfaces in dedicated files, not inline - Path aliases, not relative imports - Tenant/organization filter in all queries (if applicable) 5. **Report**: List all files created and any manual steps needed ## Arguments - Required: what to scaffold (e.g., "endpoint tasks", "component ImageGrid", "collection workflows")
GitHub에서 보기