Project Name: ek-cursor-rules Purpose: Comprehensive AI assistant directives for software development Owner: Ernest Koe Started: June 2024 Current Version: 1.0.0 Status: Active Development
- Name: Alex, Full-Stack Developer
- Background: 5+ years experience, works on multiple projects
- Goals:
- Maintain consistency across projects
- Reduce decision fatigue
- Enforce best practices automatically
- Pain Points:
- Different conventions across projects
- Forgetting best practices
- Manual enforcement of standards
- How This Helps: Pre-configured rules ensure every project follows same standards
- Name: Sarah, Engineering Manager
- Background: Manages team of 5-10 developers
- Goals:
- Standardize team practices
- Improve code quality
- Reduce onboarding time
- Pain Points:
- Inconsistent code reviews
- New developers learning standards
- Maintaining documentation
- How This Helps: Shared rules ensure team follows same conventions
Create a comprehensive, opinionated set of AI assistant rules that:
- Enforce software engineering best practices
- Maintain consistency across projects
- Reduce cognitive load on developers
- Serve as living documentation
- Work seamlessly with both Cursor and Claude Code
Target: June 2024 Status: Complete
Deliverables:
- Core directive and workflow rules
- Project plan format standards
- Pre/during/post work tracking
- Conflict resolution protocols
- Git basic standards
- Python project standards
- Import scripts (bash and python)
Target: August 2024 Status: Complete
Deliverables:
- Node.js code standards
- pnpm package management
- Vitest testing standards
- Express.js API standards
- Next.js and Vercel deployment
- Better-Auth integration
- ProofKit for FileMaker apps
Target: October 2024 Status: Complete
Deliverables:
- Security standards (comprehensive)
- Documentation consolidation
- Git standards expansion (commits, PRs, reviews)
- TypeScript standards
- Database standards (PostgreSQL, Prisma)
- Test organization improvements
- semantic-release mandatory
Target: October 2024 Status: 60% Complete
Deliverables:
- PROJECT_PLAN.md created
- /docs directory structure
- semantic-release configured
- commitlint enforced
- GitHub Actions CI/CD
- Reference implementation
Success Criteria:
- Repository follows all its own rules
- Automated releases working
- Conventional commits enforced
- Documentation centralized
Target: Q1 2025 Status: Planned
Deliverables:
- CI/CD standards (comprehensive)
- Docker/containerization rules
- Monitoring/observability standards
- GraphQL standards (if needed)
- React/frontend component standards
- Performance optimization rules
- Accessibility standards
Success Criteria:
- Cover 90%+ of common development scenarios
- Rules for all major tech stacks
- Comprehensive testing coverage
Target: Q2 2025 Status: Planned
Deliverables:
- Public documentation site
- VS Code extension for easy import
- Rule customization guide
- Community contributions guide
- Example projects using rules
- Video tutorials
Success Criteria:
- 100+ GitHub stars
- 5+ community contributions
- Public adoption examples
- Language: Markdown (.mdc files)
- Distribution: Python and Bash scripts
- Documentation: Markdown
- Version Control: Git + semantic-release
- CI/CD: GitHub Actions
- Package Manager: pnpm (for Node.js deps)
- Versioning: semantic-release
- Commit Linting: commitlint + husky
- Sync Tool: Python script (sync-to-claude.py)
rules/
├── 000-general-rules/ # Core directives for all projects
├── 100-git-rules/ # Version control standards
├── 200-design-rules/ # Design thinking standards
├── 300-python-projects/ # Python-specific rules
├── 400-versioning-rules/ # Release management
├── 500-nodejs-projects/ # Node.js ecosystem rules
└── 600-database-rules/ # Database standards
- Direct Copy: Import scripts copy rules to project
- Symlink: Dynamic linking for synchronized updates
- Claude.md: Single file for Claude Code projects
- None (pure Markdown)
- Python 3.6+ (for sync script)
- Bash (for legacy import script)
- pnpm (for semantic-release)
- Node.js 18+ (for semantic-release)
- Rule Count: 26 rules
- Rule Categories: 7 categories
- Line Coverage: ~8,500 lines in Claude.md
- Tech Stacks Covered: Python, Node.js, TypeScript, Next.js, FileMaker
- Consistency: 100% frontmatter standardization ✅
- Completeness: Cover 90% of common scenarios (75% ✅)
- Clarity: All rules have examples (80% ✅)
- Accuracy: Rules reflect current best practices ✅
⚠️ Claude.md file is large (195KB) - may need optimization⚠️ No automated testing of rule validity⚠️ Import scripts don't validate .mdc format⚠️ No versioning for individual rules
- Legacy .mdc files have inconsistent frontmatter (FIXED ✅)
- Some rules overlap (documentation rules consolidated ✅)
- Need better rule discovery mechanism
- Missing cross-references between related rules
-
Rule Drift: Rules become outdated as tech evolves
- Mitigation: Regular reviews, community feedback
-
Complexity Growth: Too many rules become overwhelming
- Mitigation: Keep rules focused, allow category selection
-
Technology Changes: Tools/frameworks we recommend change
- Mitigation: Version rules, support multiple approaches
-
User Confusion: Rules conflict or unclear
- Mitigation: Better documentation, examples, troubleshooting
- ✅ Project follows all its own rules
- ✅ Automated releases with semantic-release
- ✅ Conventional commits enforced
- ✅ Full documentation in /docs
- ✅ CI/CD pipeline running
- 📈 Adopted by 100+ developers
- 📈 Rules improve code quality measurably
- 📈 Reduces onboarding time by 50%+
- 📈 Community contributions accepted
- 📈 Referenced in best practice guides
- README.md: Quick start and overview
- PROJECT_PLAN.md: This document
- /docs: Comprehensive documentation
- CHANGELOG.md: Auto-generated from commits
- GitHub Releases: Automated via semantic-release
- Changelog: Auto-generated from conventional commits
- Breaking Changes: Documented in release notes
- ✅ Create PROJECT_PLAN.md
- Create /docs directory structure
- Configure semantic-release
- Add commitlint + husky
- Set up GitHub Actions
- Complete Milestone 4
- Publish v1.1.0 with semantic-release
- Add CI/CD standards
- Optimize Claude.md size
- Start Milestone 5 (Enhancement)
- Create documentation site
- Gather community feedback
- Plan VS Code extension
Last Updated: 2025-10-04 Next Review: 2025-11-01