Skip to content

chore: update cursor rules and add new debugging rules - #171

Merged
dgokcin merged 9 commits into
mainfrom
more-rules-for-agent
Mar 2, 2025
Merged

chore: update cursor rules and add new debugging rules#171
dgokcin merged 9 commits into
mainfrom
more-rules-for-agent

Conversation

@dgokcin

@dgokcin dgokcin commented Mar 2, 2025

Copy link
Copy Markdown
Owner

Summary

This PR updates several cursor rules and adds new debugging-related rules to improve documentation and troubleshooting processes.

Changes

  • Added alwaysApply flag to multiple rule files
  • Simplified rule structure by removing version tags and redundant fields
  • Added new rules:
    • 105-composer-date.mdc: For date handling in documentation
    • 106-kubernetes-debug.mdc: For Kubernetes debugging protocol
    • 107-debug-report.mdc: For comprehensive debugging session reports
    • 801-workflow-agile.mdc: For agile workflow documentation
  • Updated documentation standards for markdown files
  • Removed version tags from template files

Additional Notes

These changes aim to streamline rule management and improve debugging documentation. The new rules provide structured approaches for common troubleshooting scenarios.

- restore critical workflow rules file that was missing
- ensures proper ai-assisted development process
- reinstates mandatory PRD/architecture documentation requirements
- reestablishes story management and TDD guidelines
- add explicit date command requirement for lesson file creation
- clarify date context retention for accurate file naming
- remove unnecessary metadata tags from config header
- replace direct date command with composer date rule reference
- add dedicated composer date handling configuration
- ensure consistent YYYY-MM-DD format across project
- maintain date context throughout session
- establish systematic k8s troubleshooting workflow
- define required context verification steps
- specify debugging command sequence
- include example debugging scenarios
- enforce proper validation steps
- establish standardized debug report structure
- define comprehensive report requirements
- include detailed redis debugging example
- specify report naming and organization rules
- enforce thorough documentation standards
- remove redundant metadata fields from frontmatter
- move version info to xml tag format
- streamline ai optimization guidelines
- relocate prd rule to 901 sequence
- remove example frontmatter from md docs
- add -f/--force flag to allow overriding existing rule files
- implement interactive confirmation for file overrides
- add diff viewing capability when comparing existing and new files
- improve feedback messages with status emojis
- update usage instructions to include new force flag option
- added architecture documentation rules section
- specified format for architectural change files
- included examples of changes requiring documentation
- updated main architecture file reference requirements
- add alwaysApply flag to rule files
- enhance agile workflow documentation
- add lessons learned section to workflow
- create .ai, .ai/arch, and .ai/lessons directories
- remove version tags from template files
@dgokcin
dgokcin merged commit 1f3ccb1 into main Mar 2, 2025
@dgokcin
dgokcin deleted the more-rules-for-agent branch March 2, 2025 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant