ClineDocumentation
Documentation Ai Rules for Cline
Generic AI coding rules for Cline. Improve consistency, output quality, and SEO discoverability with copy-paste ready conventions.
.clinerules
# Documentation Ai Rules for Cline Use this ruleset in `.clinerules`. ## Universal AI coding principles - Be explicit with goals, constraints, and acceptance criteria. - Enforce clean architecture, readable naming, and test coverage. - Validate inputs, handle errors intentionally, and avoid silent failures. - Keep changes small, reviewable, and reversible. - Write docs for non-obvious decisions and trade-offs. ## Prompting and implementation rules - Ask for clarifications when requirements are ambiguous. - Prefer deterministic logic and stable interfaces. - Avoid introducing unneeded dependencies. - Match existing style/lint/test pipeline exactly. - Include migration notes for any breaking behavior. ## Shipping checklist - Lint passes - Type checks pass - Tests pass - Performance and security risks reviewed - README/changelog updated when behavior changes
How to use with Cline
Create a `.clinerules` file in your project root. Cline reads this file and applies the rules to all AI-assisted coding.
#cline#general#ai-coding-rules#generic-ai-rules#documentation-ai-rules
Related Rules
Python Cline Rules
ClinePython
Cline AI coding rules for Python: automated coding patterns and best practices for the Cline VS Code extension.
Code Style
python · clineCopy Ready
React Cline Rules
ClineReact
Cline rules for React: component patterns, performance, and modern React architecture.
Architecture
react · clineCopy Ready
Next.js Cline Rules
ClineNext.js
Cline rules for Next.js: full-stack patterns, deployment, and modern Next.js conventions.
Architecture
nextjs · clineCopy Ready
Docker Cline Rules
ClineDocker
Cline rules for Docker: container security, image optimization, and production container patterns.
Security
docker · clineCopy Ready