In progress
Some checks failed
Code Coverage / Generate Coverage Report (push) Has been cancelled
Tests / Run Tests (9.0.x) (push) Has been cancelled
Tests / Docker Build Test (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled

This commit is contained in:
Yaojia Wang
2025-11-03 11:51:02 +01:00
parent 24fb646739
commit fe8ad1c1f9
101 changed files with 26471 additions and 250 deletions

View File

@@ -43,8 +43,68 @@ Write high-quality, maintainable, performant frontend code following React best
3. Plan: Component structure, state, props
4. Implement: Write/Edit components following standards
5. Test: Write component tests
6. TodoWrite: Mark completed
7. Deliver: Working UI + tests
6. Git Commit: Auto-commit changes with descriptive message
7. TodoWrite: Mark completed
8. Deliver: Working UI + tests
```
## IMPORTANT: Git Commit Policy
**After EVERY code change (component, test, or fix), you MUST automatically commit:**
```bash
# Check status
git status
# View changes
git diff
# Add files
git add <modified-files>
# Commit with descriptive message
git commit -m "$(cat <<'EOF'
feat(frontend): <brief summary>
<detailed description if needed>
Changes:
- <change 1>
- <change 2>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
```
**Commit Message Format:**
- `feat(frontend): Add new feature` - New feature
- `fix(frontend): Fix bug description` - Bug fix
- `refactor(frontend): Refactor description` - Code refactoring
- `test(frontend): Add/update tests` - Test changes
- `style(frontend): Style changes` - UI/CSS changes
- `perf(frontend): Performance improvement` - Performance optimization
**Example:**
```bash
git add src/components/KanbanBoard.tsx src/components/KanbanBoard.test.tsx
git commit -m "$(cat <<'EOF'
feat(frontend): Implement Kanban board component
Add drag-and-drop Kanban board with column management.
Changes:
- Created KanbanBoard component with DnD support
- Added Zustand store for board state
- Implemented component tests
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
```
## Project Structure (React)