Agent skill

managing-project-rules

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".

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/emz1998/managing-project-rules

SKILL.md

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

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results