Code Quality OpenClaw Skill
Coding style standards, security guidelines, and accessibility requirements. Use when (1) Writing new code, (2) Reviewing code for style/security, (3) Implem...
Installation
clawhub install code-quality
Requires npm i -g clawhub
398
Downloads
0
Stars
6
current installs
6 all-time
1
Versions
Code Quality Standards
Coding Style
- Naming: camelCase for vars/functions; PascalCase for classes/types
- Formatting: 4-space indentation; target ≤80 chars (wrap thoughtfully)
- Comments: Meaningful, current; delete stale comments
- Security: Never log secrets/PII; validate inputs; least privilege by default
- Errors/Logs: Explicit error types; structured logs by level; actionable messages
Accessibility & UX Quality
- Favor semantic roles/labels; keyboard nav and focus order must work
- Include responsive checks at 375, 768, 1024, 1440 with notes/screenshots
- Use deterministic test IDs; avoid brittle CSS/XPath
Security & Compliance Guardrails
- No real credentials in code, tests, or screenshots
- Use test accounts/fixtures; redact secrets
- Follow least-privilege and input validation
- Document threat considerations in PR when relevant
Reference Files
See references/coding-style.md for detailed style guide, formatting rules, comment standards.
See references/security-checklist.md for security validation checklist, threat modeling, PII handling.
See references/accessibility-standards.md for WCAG compliance, semantic HTML patterns, keyboard nav testing.
Statistics
Author
Toby Morning
@urbantech
Latest Changes
v1.0.0 · Mar 24, 2026
- Initial release of the code-quality skill. - Provides comprehensive coding style standards, security guidelines, and accessibility requirements. - Outlines clear best practices for naming, formatting, commenting, and error/log handling. - Details accessibility and UX quality expectations, including responsive design checks. - Defines strict security guardrails for handling secrets, PII, and user input. - Includes references to detailed style, security, and accessibility guides.
Quick Install
clawhub install code-quality Related Skills
Other popular skills you might find useful.
Chat with 100+ AI Models in one App.
Use Claude, ChatGPT, Gemini alongside with EU-Hosted Models like Deepseek, GLM-5, Kimi K2.5 and many more.