feat: initialize project with Vite + React + TypeScript + Tailwind CSS
- Set up Vite 7 + React 19 + TypeScript 5 + Tailwind CSS 4 - Configure path aliases (@/ -> src/) - Create Layout with Header and Footer components - Create HomePage with hero section and feature highlights - Set up cursor rules for agent-driven development - Create PLAN.md and LESSONS.md for progress tracking Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
28
.cursor/rules/agent-workflow.mdc
Normal file
28
.cursor/rules/agent-workflow.mdc
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
description: Agent workflow rules for 100% agent-driven development
|
||||
alwaysApply: true
|
||||
---
|
||||
|
||||
# Agent Workflow
|
||||
|
||||
## Before Making Changes
|
||||
1. Read PLAN.md to understand current phase and priorities
|
||||
2. Check LESSONS.md for relevant past decisions
|
||||
3. Read existing code before editing — never guess at file contents
|
||||
|
||||
## After Making Changes
|
||||
1. Run `npm run build` to verify no errors
|
||||
2. Update PLAN.md checkboxes when a feature is complete
|
||||
3. Add important learnings to LESSONS.md
|
||||
4. Commit with conventional message format
|
||||
|
||||
## When Stuck
|
||||
- Check LESSONS.md for similar past issues
|
||||
- Prefer simple solutions over clever ones
|
||||
- If a decision has trade-offs, document the reasoning in LESSONS.md
|
||||
|
||||
## Code Quality
|
||||
- Fix all TypeScript errors before committing
|
||||
- Fix all linter warnings before committing
|
||||
- No `console.log` in committed code (use only for debugging)
|
||||
- Remove unused imports and variables
|
||||
Reference in New Issue
Block a user