cursorrules-generation

Community

Define AI agent rules for new projects.

Authorgitwalter
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill generates the .cursorrules file that governs AI agent behavior in generated cursor projects.

Core Features & Use Cases

  • Load a templates file from templates/factory/cursorrules-template.md and apply it to the current project configuration.
  • Replace variables such as {PROJECT_NAME}, {PROJECT_DESCRIPTION}, {PRIMARY_LANGUAGE}, {STYLE_GUIDE}, {DOMAIN}, and {GENERATED_DATE} with actual values.
  • Generate Agent List and Skill List from the configured agents and skills, then assemble an MCP section for server integration.
  • Write the resulting file to a target path as UTF-8 encoded .cursorrules, with a fallback to an embedded default template if the template is missing.

Quick Start

Use the cursorrules-generation skill to generate the .cursorrules file for your project. Example: python tools/generate_cursorrules.py --config config.json

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cursorrules-generation
Download link: https://github.com/gitwalter/cursor-agent-factory/archive/main.zip#cursorrules-generation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.