.cursor/skills/create-rules/SKILL.md
Create or update Cursor Rules (.mdc files) and Skills (SKILL.md). Use when creating rules, adding coding standards, setting up conventions, updating .cursor/rules/, or converting rules to skills. Defines standard format, naming, frontmatter, token budget.
npx skillsauth add dmitryprg-ai/cursor-develop-autorules create-rulesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Type | Frontmatter | When loaded | Filename suffix |
|------|-------------|-------------|-----------------|
| Always | alwaysApply: true, description/globs blank | Every conversation | -always.mdc |
| Auto | alwaysApply: false, globs filled | When matching file is open | -auto.mdc |
| Agent | alwaysApply: false, description filled | Agent decides | -agent.mdc |
| Manual | alwaysApply: false, both blank | Only via @ mention | -manual.mdc |
{CATEGORY}-rule-name-{always|auto|agent|manual}.mdc
Categories: core, _base, protocol, standard, workflows, error
See template in rule-template.mdc.
ACTION-TRIGGER-OUTCOME format: "Применять при [TRIGGER]. [ACTION] для [OUTCOME]."
Rules must work in ANY project:
development
Scan codebase for technical debt and fix safely with TDD. Use to find oversized files, duplicated code, code smells, and refactor safely. Workflow - SCAN, TEST CASES, REFACTOR, VERIFY. Keywords - techdebt, tech debt, duplicates, code quality audit.
development
Test-Driven Development workflow with strict Red-Green-Refactor cycle. Use when developing features with TDD, writing tests before code, or when test-driven approach is needed. MANDATORY order - test cases table BEFORE code, failing tests BEFORE implementation.
testing
Review work session quality and capture improvements. Use at end of session, after large tasks, after series of errors, or when user asks for session review, retrospective, lessons learned. Records improvements to backlog.
data-ai
Analyze data, investigate datasets, work with CSV/parquet/pandas/dataframes. Use when analyzing data, exploring datasets, running experiments, or when user mentions data, analysis, parquet, csv, pandas, dataframe, statistics, investigation.