conf-rules

Generate and refine Claude Code domain rules in the .claude/rules directory.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/umatoma/claude-example --skill conf-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: conf-rules
Source: https://github.com/umatoma/claude-example/tree/main/.claude/skills/conf-rules
Command: npx skills add https://github.com/umatoma/claude-example --skill conf-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and improvement of .claude/rules/ files, ensuring consistent and well-defined domain-specific knowledge for Claude Code.

Core Features & Use Cases

  • New Rule Creation: Generates new rule files based on user requests and code analysis.
  • Rule Refinement: Analyzes existing rules against best practices (size, scope, specificity) and suggests improvements.
  • Gap Analysis: Identifies undocumented patterns in the codebase that could benefit from new rules.
  • Use Case: When introducing a new microservice, use this Skill to generate a comprehensive set of security and API design rules for its specific domain.

Quick Start

Use the conf-rules skill to analyze the existing rules and suggest improvements for the security domain.

Frequently Asked Questions about conf-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate domain-specific rules for Claude Code from an existing codebase?

Generating domain-specific rules for Claude Code involves analyzing existing codebases and rule files to create new rules in the .claude/rules/ directory. The skill automates this by extracting conventions for code style, testing, and security domains.

What are the best practices for refining configuration rules for code analysis?

Refining configuration rules for code analysis requires evaluating file size, scope, and specificity. The skill analyzes existing rules against these best practices to suggest improvements and identify gaps in documentation for better domain knowledge coverage.

Can I create framework-specific conventions for a new microservice using this approach?

Yes, creating framework-specific conventions for a new microservice is supported. The skill generates comprehensive sets of security and API design rules tailored to the specific domain by analyzing the existing codebase patterns.

How does gap analysis work for undocumented code style patterns?

Gap analysis for undocumented code style patterns works by scanning the codebase to identify conventions that lack corresponding rule files. The skill then suggests creating new rules in the .claude/rules/ directory to document these missing patterns.

Do I need existing rule files to use this code analysis tool?

No, existing rule files are not strictly required. The skill can generate entirely new rule files based on user requests and code analysis, but it also refines current rules if they already exist in the .claude/rules/ directory.