- .git-commit-template.txt: 커밋 메시지 템플릿 추가 - .gitignore: OS 및 데이터베이스 관련 파일 무시 설정 추가 - .mcp.json: MCP 서버 설정 추가 - CLAUDE.md: SuperClaude 엔트리 포인트 문서 추가 - README.md: 프로젝트 템플릿 설명 추가 - .claude/COMMANDS.md: 명령어 실행 프레임워크 문서 추가 - .claude/FLAGS.md: 플래그 시스템 문서 추가 - .claude/MCP.md: MCP 서버 통합 문서 추가 - .claude/MODES.md: 운영 모드 문서 추가 - .claude/ORCHESTRATOR.md: 지능형 라우팅 시스템 문서 추가 - .claude/PERSONAS.md: 페르소나 시스템 문서 추가 - .claude/PRINCIPLES.md: 핵심 원칙 문서 추가 - .claude/RULES.md: 실행 가능한 규칙 문서 추가 - .claude/settings.json: 권한 설정 추가 - .claude/commands 디렉토리: 다양한 명령어 문서 추가 - .taskmaster/config.json: 기본 설정 파일 추가 - .taskmaster/docs 디렉토리: 문서 파일 추가 - .taskmaster/tasks/tasks.json: 기본 작업 파일 추가
2.3 KiB
2.3 KiB
End-to-End Feature Implementation Guide
Context
- When implementing new end-to-end features
- When planning feature development workflow
- When ensuring consistent architecture
Requirements
- Follow the implementation steps in order
- Use the appropriate standards for each step
- Ensure consistency across all implementation layers
- Test each phase before moving to the next
Implementation Steps
-
Schema Definition → Use rule @.cursor/rules/2101-schema-prisma.mdc
- Define Prisma schema with standard fields
- Add proper relations and indexes
- Use correct field types and constraints
- Follow naming conventions
-
Router Implementation → Use rule @.cursor/rules/2102-router.mdc
- Create protected tRPC router
- Add input validation with Zod
- Implement cursor-based pagination
- Handle security and responses
-
React Query Integration → Use rule @.cursor/rules/2103-trpc-react-query.mdc
- Set up queries with queryOptions
- Handle loading states
- Implement optimistic updates
- Manage cache invalidation
-
CRUD Implementation → Use rule @.cursor/rules/2105-crud.mdc
- Follow phased implementation approach
- Start with Create & Read operations
- Add Update & Delete operations
- Implement advanced features last
-
Authentication → Use rule @.cursor/rules/2106-auth.mdc
- Use protectedProcedure for routes
- Add session checks in components
- Implement auth guards
- Handle unauthorized states