Skip to content
Back to skills

Managing Project Rules

ASecurity

Creates and updates modular project rules for Claude Code in .claude/rules/ directory. Use when creating, updating, or modifying rule files, organizing project guidelines, setting up code standards, or when user mentions "create rules", "update rules", "add rules", or "rule configuration".

  • 416 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 7, 2026
code-qualitygotestingsecuritydocumentation

Works with

  • claude code

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add aiskillstore/marketplace --skill managing-project-rules --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Managing Project Rules?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Managing Project Rules
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aiskillstore-managing-project-rules/badge)](https://www.skillsdirectory.com/skills/aiskillstore-managing-project-rules)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: managing-project-rules
description: Creates and updates modular project rules for Claude Code in .claude/rules/ directory. Use when creating, updating, or modifying rule files, organizing project guidelines, setting up code standards, or when user mentions "create rules", "update rules", "add rules", or "rule configuration".
---

**Goal**: Create and maintain focused, well-organized rule files in `.claude/rules/` following Claude Code best practices.

**IMPORTANT**: Rules should be concise, focused, and organized by topic. Follow the reference documentation structure.

## Workflow

### Phase 1: Assessment

- Read reference documentation at `references/project-rules-docs.md`
- Analyze existing rules in `.claude/rules/` to understand patterns
- Check if rule file exists (update vs create)
- Determine rule scope (general vs path-specific)
- Identify appropriate filename and organization

### Phase 2: Configuration

- For updates: read existing file and preserve structure
- Define rule topic and scope clearly
- Structure content with clear sections and lists
- Apply YAML frontmatter for path-specific rules
- Keep content focused on one topic

### Phase 3: Implementation

- Create new or update existing rule file in `.claude/rules/`
- Use subdirectories for better organization if needed
- Validate frontmatter syntax for path-specific rules
- Report completion with file location, scope, and changes made

## Rules

- One topic per rule file (code-style, testing, security)
- Use descriptive filenames (kebab-case)
- Path-specific frontmatter only when truly needed
- For updates: extend sections, remove duplicates, preserve existing content
- Consult user before major structural changes

## Acceptance Criteria

- Rule file created or updated in `.claude/rules/` directory
- Content is focused and well-organized
- YAML frontmatter valid for path-specific rules
- Filename is descriptive and follows kebab-case
- No conflicts with existing rules
- Report includes file location, scope, and summary of changes

Files in this skill

  • SKILL.md2 KB
  • references/project-rules-docs.md3.3 KB
  • skill-report.json15.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…