|
|
2 months ago | |
|---|---|---|
| .. | ||
| app | 2 months ago | |
| architecture | 2 months ago | |
| core | 2 months ago | |
| database | 2 months ago | |
| development | 2 months ago | |
| docs | 2 months ago | |
| features | 2 months ago | |
| templates | 2 months ago | |
| workflow | 2 months ago | |
| README.md | 2 months ago | |
| meta_bug_diagnosis.mdc | 2 months ago | |
| meta_bug_fixing.mdc | 2 months ago | |
| meta_core_always_on.mdc | 2 months ago | |
| meta_documentation.mdc | 2 months ago | |
| meta_feature_implementation.mdc | 2 months ago | |
| meta_feature_planning.mdc | 2 months ago | |
| meta_research.mdc | 2 months ago | |
| meta_rule_architecture.md | 2 months ago | |
README.md
.cursor Rules Organization
This directory contains all the rules and guidelines for AI assistants working with the TimeSafari project.
Directory Structure
core/ - Core Principles and Context
Core rules that apply to all AI interactions and provide fundamental context.
base_context.mdc- Human competence first principles and interaction guidelinesharbor_pilot_universal.mdc- Technical guide creation and investigation rulesless_complex.mdc- Minimalist solution principle and complexity guidelines
development/ - Development Practices and Standards
Rules for software development, coding standards, and development workflows.
software_development.mdc- Core development principles and evidence requirementstype_safety_guide.mdc- TypeScript type safety guidelines and best practicesdevelopment_guide.mdc- Development environment setup and standardslogging_standards.mdc- Logging implementation standards and ruleslogging_migration.mdc- Migration from console.* to structured loggingtime.mdc- Time handling principles and UTC standardstime_examples.mdc- Practical time implementation examplestime_implementation.mdc- Detailed time implementation guidelinesrealistic_time_estimation.mdc- Time estimation framework and principlesplanning_examples.mdc- Planning examples and best practicescomplexity_assessment.mdc- Complexity evaluation and assessmentdependency_management.mdc- Dependency management and version controlasset_configuration.mdc- Asset configuration and build integrationresearch_diagnostic.mdc- Research and investigation workflowsinvestigation_report_example.mdc- Investigation report templates and exampleshistorical_comment_management.mdc- Historical comment transformation ruleshistorical_comment_patterns.mdc- Comment transformation patterns and examples
architecture/ - Architecture and Design Patterns
Rules for architectural decisions, patterns, and system design.
build_architecture_guard.mdc- Build system protection and change levelsbuild_validation.mdc- Build validation procedures and testingbuild_testing.mdc- Build testing requirements and feedback collection
app/ - Application-Specific Rules
Rules specific to the TimeSafari application and its architecture.
timesafari.mdc- Core application context and principlestimesafari_platforms.mdc- Platform-specific implementation guidelinestimesafari_development.mdc- TimeSafari development workflowarchitectural_decision_record.mdc- ADR creation and managementarchitectural_implementation.mdc- Architecture implementation guidelinesarchitectural_patterns.mdc- Architectural patterns and examplesarchitectural_examples.mdc- Architecture examples and testing
database/ - Database and Data Management
Rules for database operations, migrations, and data handling.
absurd-sql.mdc- Absurd SQL implementation and worker thread setuplegacy_dexie.mdc- Legacy Dexie migration guidelines
workflow/ - Process and Workflow Management
Rules for development workflows, version control, and process management.
version_control.mdc- Version control principles and commit guidelinesversion_sync.mdc- Version synchronization and changelog managementcommit_messages.mdc- Commit message format and conventions
`features/ - Feature-Specific Implementations
Rules for implementing specific features across platforms.
camera-implementation.mdc- Camera feature implementation overviewcamera_technical.mdc- Technical camera implementation detailscamera_platforms.mdc- Platform-specific camera implementation
docs/ - Documentation Standards
Rules for creating and maintaining documentation.
markdown_core.mdc- Core markdown formatting standardsmarkdown_templates.mdc- Document templates and examplesmarkdown_workflow.mdc- Markdown validation and workflowdocumentation.mdc- Documentation generation principlesmeta_rule_usage_guide.md- How to use meta-rules in practice
templates/ - Templates and Examples
Template files and examples for various documentation types.
adr_template.mdc- Architectural Decision Record template
Meta-Rules - Workflow Bundling
High-level meta-rules that bundle related sub-rules for specific workflows.
meta_core_always_on.mdc- Core rules that apply to every single promptmeta_documentation.mdc- Documentation writing and education workflowmeta_feature_planning.mdc- Feature planning workflow bundlingmeta_bug_diagnosis.mdc- Bug investigation workflow bundlingmeta_bug_fixing.mdc- Bug fix implementation workflow bundlingmeta_feature_implementation.mdc- Feature implementation workflow bundling
Usage Guidelines
- Always-On Rules: Start with
meta_core_always_on.mdcfor every single prompt - Core Rules: Always apply rules from
core/directory - Context-Specific: Use rules from appropriate subdirectories based on your task
- Meta-Rules: Use workflow-specific meta-rules for specialized tasks
- Documentation: Use
meta_documentation.mdcfor all documentation work - Getting Started: See
docs/meta_rule_usage_guide.mdfor comprehensive usage instructions
- Documentation: Use
- Cross-References: All files contain updated cross-references to reflect the new structure
- Validation: All files pass markdown validation and maintain consistent formatting
Benefits of New Organization
- Logical grouping - Related rules are now co-located
- Easier navigation - Developers can quickly find relevant rules
- Better maintainability - Clear separation of concerns
- Scalable structure - Easy to add new rules in appropriate categories
- Consistent cross-references - All file links updated and working
- Workflow bundling - Meta-rules provide high-level workflow guidance
- Feedback integration - Built-in feedback mechanisms for continuous improvement
- Educational focus - Documentation emphasizes human competence over technical description
File Naming Convention
- Lowercase with underscores:
file_name.mdc - Descriptive names: Names clearly indicate the rule's purpose
- Consistent extensions: All files use
.mdcextension
Maintenance
- Cross-references: Update when moving files between directories
- Markdown validation: Run
npm run markdown:checkafter any changes - Organization: Keep related rules in appropriate subdirectories
- Documentation: Update this README when adding new rules or directories
Status: Active organization structure Last Updated: 2025-08-21 Maintainer: Development team