Cline rules
.clinerules/01-general.mdCline rules
Quality
67/100
Scores the file, not the repository.Length
429 words
10 headings · 0 code blocksRepository
1
— · pushed 256 days agoLast changed
3 days ago
First indexed 3 days ago.1# General Rules (Reusable)23## CRITICAL: No Unsolicited Documentation45**NEVER create documentation files (README, guides, tutorials, FIXES, SUMMARY, USAGE, etc.) unless EXPLICITLY requested by the user.**67This includes but is not limited to:8- README files9- Usage guides10- Fix summaries11- Tutorial documents12- API documentation13- Architecture documents1415Only create standalone documentation files when the user specifically asks for them.1617---1819## Code Quality Standards2021### Architecture Principles22- **Separation of Concerns**: Each module has a single, well-defined responsibility23- **Dependency Injection**: Components receive dependencies rather than creating them24- **Configuration Management**: Use dataclasses for type-safe configuration25- **Error Handling**: Comprehensive error handling with informative messages26- **Type Safety**: Full type hints throughout the codebase2728### Code Style29- **Type Hints**: All functions must have parameter and return type hints30- **Docstrings**: All public classes and functions must have one-line docstrings31- **Naming**: Use descriptive names (e.g., `screen_manager` not `sm`)32- **Line Length**: Max 88 characters (Black default)33- **Imports**: Group by stdlib, third-party, local (use isort)34- **Simplicity**: Keep code simple and straightforward - avoid over-engineering35- **Leverage Libraries**: Use well-established libraries instead of custom implementations where they add value36- **Pylance Errors**: All Pylance errors must be addressed before finishing a task3738### Testing Approach39- Each module should be independently testable40- Use dependency injection to facilitate mocking41- Configuration should be passed in, not read from environment4243### Logging44- Use language-appropriate logging frameworks45- Log at appropriate levels (DEBUG, INFO, WARNING, ERROR)46- Include context in log messages4748## Import Rules4950- Use absolute imports within package51- Keep imports organized: stdlib → third-party → local52- Avoid circular dependencies53- Use package initialization files to expose public API5455## Documentation Standards5657**IMPORTANT: Do NOT add documentation (README, guides, tutorials, etc.) unless explicitly requested by the user.**5859When documentation is requested:60- Keep it minimalistic, functional, and no fluff61- Focus on what's needed, not what's nice to have62- Code examples over explanations63- No marketing language or excessive descriptions6465Docstrings:66- One-line docstrings for all public functions/classes67- Explain what it does, parameters, return values, exceptions68- Keep concise and technical69- Focus on code over documentation7071## Research and Verification7273**ALWAYS search online before implementing features or using APIs:**741. Search for the latest official documentation752. Verify API methods, parameters, and best practices763. Check for deprecations or breaking changes774. Use the most recent stable versions785. Example workflow:79 - Search for official documentation80 - Verify from authoritative sources81 - Implement using verified patterns and methods82
Also in behoss/computer-use
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| behoss/computer-use.clinerules/04-workflow.md · 1 | Cline rules | setuptestagent-behaviour | 56/100 | 3 days ago | |
| behoss/computer-use.clinerules/02-techstack.md · 1 | Cline rules | setupdo-not | 66/100 | 3 days ago | |
| behoss/computer-use.clinerules/03-project.md · 1 | Cline rules | archdeploymentdo-notagent-behaviour | 73/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| u9401066/zotero-keeper.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/50-pubmed-project.md · 6 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| u9401066/pubmed-search-mcp.clinerules/50-pubmed-project.md · 23 | Cline rules | testlint-formatstylearch+1 | 94/100 | 3 days ago | |
| ryok/python-boilerplate.clinerules/common-commands.md · 0 | Cline rules | setupbuildtestlint-format+3 | 90/100 | 2 days ago | |
| u9401066/pubmed-search-mcp.clinerules/00-project.md · 23 | Cline rules | testlint-formatstylearch+1 | 86/100 | 3 days ago | |
| u9401066/pubmed-search-mcp.clinerules/60-pubmed-python.md · 23 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago | |
| u9401066/zotero-keeper.clinerules/60-pubmed-python.md · 6 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago | |
| u9401066/zotero-keepervscode-extension/resources/repo-assets/pubmed-search-mcp/.clinerules/60-pubmed-python.md · 6 | Cline rules | setuptestlint-formatstyle+2 | 86/100 | 3 days ago |
