Keep · coding-agent SKILL.md
Project rules as .cursor/rules/*.mdc (always / globs / intelligent / manual)
WhenUse when the team needs versioned rules that are not a SKILL.md procedure.
StopNever put procedures that should be skills into alwaysApply rules. Keep under 500 lines. Never modify generated dist/build.
Steps
- All source files must include the company copyright header
- When you are unsure about implementation details, read the relevant
- Never modify generated files in the dist/ or build/ directories
- Use named exports, not default exports
- Co-locate styles in a module CSS file next to the component
- Keep components under 200 lines. Extract subcomponents into the same
- Prefer composition over prop drilling. Pass children or render props
- Define each service in its own file under src/services/
Load.cursor/rules/.mdc. /create-rule.
SourceCursor (cursor.com/docs)
--- name: Project rules as .cursor/rules/*.mdc (always / globs / intelligent / manual) description: Use when the team needs versioned rules that are not a SKILL.md procedure. --- # Project rules as .cursor/rules/*.mdc (always / globs / intelligent / manual) When: Use when the team needs versioned rules that are not a SKILL.md procedure. Stop: Never put procedures that should be skills into alwaysApply rules. Keep under 500 lines. Never modify generated dist/build. 1. All source files must include the company copyright header 2. When you are unsure about implementation details, read the relevant 3. Never modify generated files in the dist/ or build/ directories 4. Use named exports, not default exports 5. Co-locate styles in a module CSS file next to the component 6. Keep components under 200 lines. Extract subcomponents into the same 7. Prefer composition over prop drilling. Pass children or render props 8. Define each service in its own file under src/services/ Load: .cursor/rules/.mdc. /create-rule.
