A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
clinerules
ClineRules is a standardized format for instructing Claude on various aspects of software development workflows. These rules empower users to clearly define expectations for documentation, Git practices, and coding standards, ensuring consistency, quality, and productivity across projects. ClineRules is designed to work alongside the CLINE project to enhance AI-assisted development workflows.
Rules for comment formatting, documentation coverage, writing style, markup usage, and versioning practices.
Rules for commit messages, branching strategies, merging practices, versioning, and issue linking.
Rules for code formatting, naming conventions, error handling, logging, security, performance, and complexity limits.
.clinerules files to your project.clinerules directoryClineRules supports three implementation approaches to fit different workflow preferences:
The manual approach gives you complete control over which rules Claude follows:
.clinerules directoryThis approach is ideal when you want to tailor the ruleset precisely to your project needs.
The automated approach provides a comprehensive documentation and governance system with minimal setup:
default.md file from clinerules-templates to your project's .clinerules directoryWhen Claude detects the default rule, it will:
.my_stuff documentation structureThis approach is ideal for projects requiring thorough documentation and governance.
Combine both approaches by:
default.md for documentation governanceThis gives you both comprehensive documentation automation and precise control over specific rules.
| Project Type | Documentation | Git | Coding |
|---|---|---|---|
| Personal project | Basic | Basic | Basic |
| Team prototype | Basic/Standard | Standard | Standard |
| Production application | Standard | Standard | Standard |
| Mission-critical system | Strict | Strict | Strict |
| Open source project | Standard/Strict | Standard | Standard/Strict |
| Regulated industry | Strict | Strict | Strict |
These rule sets are designed to be customizable to your specific needs. You can:
CLINE is a command-line tool that enhances development workflows with AI assistance. ClineRules is specifically designed to integrate with CLINE to provide structured guidance and standards for AI interactions.
These rule sets are living documents. As best practices evolve and as you discover what works best for your projects, consider:
ClineRules is an enhancement for Claude developed to work with the CLINE project.
ClineRules is licensed under the Apache License 2.0.
A VSCode plugin to help you quickly configure rules for the Cline / Roo AI programming assistant. With this plugin, you
Tired of paying for frontier AI models? Break free with this guide to 100% local, private LLM code generation on Apple S
Cline-Prompts-Tips-and-Tricks: A repository of AI prompt templates, coding best practices, and project organization tips