## 주요 변경사항: ### UI/UX 개선 - shadcn/ui 스타일 기반의 새로운 디자인 시스템 도입 - 모든 주요 화면에 대한 리디자인 구현 완료 - 로그인 화면: 모던한 카드 스타일 적용 - 대시보드: 통계 카드와 차트를 활용한 개요 화면 - 리스트 화면들: 일관된 테이블 디자인과 검색/필터 기능 - 다크모드 지원을 위한 테마 시스템 구축 ### 기능 개선 - Equipment List: 고급 필터링 (상태, 담당자별) - Company List: 검색 및 정렬 기능 강화 - User List: 역할별 필터링 추가 - License List: 만료일 기반 상태 표시 - Warehouse Location: 재고 수준 시각화 ### 기술적 개선 - 재사용 가능한 컴포넌트 라이브러리 구축 - 일관된 코드 패턴 가이드라인 작성 - 프로젝트 구조 분석 및 문서화 ### 문서화 - 프로젝트 분석 문서 추가 - UI 리디자인 진행 상황 문서 - 코드 패턴 가이드 작성 - Equipment 기능 격차 분석 및 구현 계획 ### 삭제/리팩토링 - goods_list.dart 제거 (equipment_list로 통합) - 불필요한 import 및 코드 정리 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
---
|
|
description: Guidelines for creating and maintaining Cursor rules to ensure consistency and effectiveness.
|
|
globs: .cursor/rules/*.mdc
|
|
alwaysApply: true
|
|
---
|
|
|
|
```markdown
|
|
- **Required Rule Structure:**
|
|
---
|
|
description: Clear, one-line description of what the rule enforces
|
|
globs: path/to/files/*.ext, other/path/**/*
|
|
alwaysApply: boolean
|
|
---
|
|
|
|
- **Main Points in Bold**
|
|
- Sub-points with details
|
|
- Examples and explanations
|
|
```
|
|
|
|
- **File References:**
|
|
- Use `[filename](mdc:path/to/file)` ([filename](mdc:filename)) to reference files
|
|
- Example: [prisma.mdc](mdc:.cursor/rules/prisma.mdc) for rule references
|
|
- Example: [schema.prisma](mdc:prisma/schema.prisma) for code references
|
|
|
|
- **Code Examples:**
|
|
- Use language-specific code blocks
|
|
```typescript
|
|
// ✅ DO: Show good examples
|
|
const goodExample = true;
|
|
|
|
// ❌ DON'T: Show anti-patterns
|
|
const badExample = false;
|
|
```
|
|
|
|
- **Rule Content Guidelines:**
|
|
- Start with high-level overview
|
|
- Include specific, actionable requirements
|
|
- Show examples of correct implementation
|
|
- Reference existing code when possible
|
|
- Keep rules DRY by referencing other rules
|
|
|
|
- **Rule Maintenance:**
|
|
- Update rules when new patterns emerge
|
|
- Add examples from actual codebase
|
|
- Remove outdated patterns
|
|
- Cross-reference related rules
|
|
|
|
- **Best Practices:**
|
|
- Use bullet points for clarity
|
|
- Keep descriptions concise
|
|
- Include both DO and DON'T examples
|
|
- Reference actual code over theoretical examples
|
|
- Use consistent formatting across rules |