best-practices
- **MANDATORY**: Follow PEP 8 style guide for Python code to maintain readability and consistency. - **REQUIRED**: Docstrings are **MANDATORY** for all public modules, functions, classes, and methods. - **MUST** use four spaces per indentation level.
Install / Use
npx skills add dimitritholen/airulesInstalls into whichever agent you are using.
.clinerules
Cline rules
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of best-practices
best-practices scores 59/100 on our quality scale, 4110th of 4,617 Development & Engineering skills we index.
Its .clinerules is 3.0 KB long, well organised into 12 sections and no code examples: a solid amount of guidance for an agent.
It has no GitHub stars yet, so there is no community track record; judge it on its content.
Maintenance, license and trust
- We could not determine when the repository was last updated.
- Our last check on 2026-10-18 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-23. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
best-practices compared with similar skills
All 4 of these similar skills score higher than best-practices; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| best-practices (this skill)by dimitritholen | 59 | 0 | — | .clinerules |
| taste-skillby Leonxlnx | 100 | 110.6k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 69.8k | today | CLAUDE.md |
Frequently asked questions
- How do I install best-practices?
- Run
npx skills add dimitritholen/airules. The install tabs above show the steps for each supported agent. - Which AI agents does best-practices work with?
- It is written for Cline, as a .clinerules file. Other agents that read the same format can often use it too.
- Is best-practices safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is best-practices still maintained?
- We could not determine when the repository was last updated.
Skill content
View source on GitHubPython Coding Best Practices for AI Assistant 'cline'
General Concepts
- MANDATORY: Follow PEP 8 style guide for Python code to maintain readability and consistency.
- REQUIRED: Docstrings are MANDATORY for all public modules, functions, classes, and methods.
- MUST use four spaces per indentation level.
- Use ALWAYS explicit variable names to enhance code readability.
Code Structure
- MANDATORY: Project structure should adhere to common Python frameworks expectations (e.g., Flask or Django for web apps).
- ALWAYS keep functions short and focused; each must perform a single task or responsibility.
- NEVER use hard-coded passwords or sensitive tokens directly in the codebase. Use environment variables or secure vault solutions.
Error Handling
- MANDATORY: Catch exceptions wherever possible. Specific exceptions MUST be preferred over general exceptions.
- Logging of errors is REQUIRED and MUST provide sufficient context to diagnose issues.
Dependencies
- MANDATORY: Manage all project dependencies using
pipand arequirements.txtfile orPipenv. - ALWAYS ensure that the versions of third-party libraries you depend on are pinned to avoid unexpected incompatibilities.
Testing
- MANDATORY: Include unit tests for all major functionality using frameworks like
pytestorunittest. - Aim for a high code coverage percentage; it is RECOMMENDED to have at least 80% code coverage but the more, the better.
Security
- MUST use secure coding practices to prevent SQL injection, XSS, CSRF, and other common security vulnerabilities.
- User input validation is REQUIRED for all external or user-provided data.
Performance
- Use ALWAYS performance profiling for critical applications to identify bottlenecks.
- RECOMMENDED: Implement caching mechanisms where appropriate to improve performance.
Documentation
- ALWAYS maintain a
README.mdfile with installation, configuration, and operation instructions. - Including a
CHANGELOG.mdfor tracking changes in versions is RECOMMENDED.
Version Control
- MANDATORY: Use Git for version control.
- ALWAYS use meaningful commit messages; each commit should clearly describe the changes made.
Code Reviews
- REQUIRED: Conduct regular code reviews to ensure compliance with these standards and overall quality improvement.
- RECOMMENDED: Use pull requests for introducing new features or changes, allowing for discussion and review before merging.
Continuous Integration/Continuous Deployment (CI/CD)
- MANDATORY: Set up CI/CD pipelines to automate testing and deployment processes.
- ALWAYS ensure that main/master branches are protected: direct pushes should be disabled, and merging should require pull request reviews and passing status checks.
By adhering to these rules, 'cline' will assist in maintaining high-quality and modern Python projects. Following these guidelines ensures not only functional code but also secure, maintainable, and robust Python applications.
Related Skills
taste-skill
110.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
69.8kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
