mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 22:46:31 +00:00
7b68e18957
- Added a new guideline to never suppress errors silently in coding rules. - Introduced specifications for command files, including markdown format and kebab-case filenames. - Updated Git workflow to require explicit user permission before pushing or merging changes. - Adjusted Woodpecker CI configuration to trigger on push events. Made-with: Cursor
26 lines
923 B
Plaintext
26 lines
923 B
Plaintext
---
|
|
description: "Enforces naming, frontmatter, and organization standards for all .cursor/ configuration files"
|
|
globs: [".cursor/**"]
|
|
---
|
|
# .cursor/ Configuration Standards
|
|
|
|
## Rule Files (.cursor/rules/)
|
|
- Kebab-case filenames, `.mdc` extension
|
|
- Must have YAML frontmatter with `description` + either `alwaysApply` or `globs`
|
|
- Keep under 500 lines; split large rules into multiple focused files
|
|
|
|
## Skill Files (.cursor/skills/*/SKILL.md)
|
|
- Must have `name` and `description` in frontmatter
|
|
- Body under 500 lines; use `references/` directory for overflow content
|
|
- Templates live under their skill's `templates/` directory
|
|
|
|
## Command Files (.cursor/commands/)
|
|
- Plain markdown, no frontmatter
|
|
- Kebab-case filenames
|
|
|
|
## Agent Files (.cursor/agents/)
|
|
- Must have `name` and `description` in frontmatter
|
|
|
|
## Security
|
|
- All `.cursor/` files must be scanned for hidden Unicode before committing (see cursor-security.mdc)
|