Back to skills
SkillHub ClubShip Full StackFull Stack

cursor-rules

How to add or edit Cursor rules in our project

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
240
Hot score
98
Updated
March 20, 2026
Overall rating
C3.2
Composite score
3.2
Best-practice grade
B78.7

Install command

npx @skill-hub/cli install spirimirror-libuipc-cursor-rules

Repository

spiriMirror/libuipc

Skill path: .cursor/skills/cursor-rules

How to add or edit Cursor rules in our project

Open repository

Best for

Primary workflow: Ship Full Stack.

Technical facets: Full Stack.

Target audience: everyone.

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: spiriMirror.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install cursor-rules into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/spiriMirror/libuipc before adding cursor-rules to shared team environments
  • Use cursor-rules for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

Original source / Raw SKILL.md

---
name: cursor-rules
description: How to add or edit Cursor rules in our project
---

# Cursor Rules Location

How to add new cursor rules to the project

1. Always place rule files in PROJECT_ROOT/.cursor/rules/:
    ```
    .cursor/rules/
    ├── your-rule-name.mdc
    ├── another-rule.mdc
    └── ...
    ```

2. Follow the naming convention:
    - Use kebab-case for filenames
    - Always use .mdc extension
    - Make names descriptive of the rule's purpose

3. Directory structure:
    ```
    PROJECT_ROOT/
    ├── .cursor/
    │   └── rules/
    │       ├── your-rule-name.mdc
    │       └── ...
    └── ...
    ```

4. Never place rule files:
    - In the project root
    - In subdirectories outside .cursor/rules
    - In any other location

5. Cursor rules have the following structure:

```
---
description: Short description of the rule's purpose
globs: optional/path/pattern/**/*
alwaysApply: false
---
# Rule Title

Main content explaining the rule with markdown formatting.

1. Step-by-step instructions
2. Code examples
3. Guidelines
cursor-rules | SkillHub