Code Quality

Coding style standards, security guidelines, and accessibility requirements. Use when (1) Writing new code, (2) Reviewing code for style/security, (3) Implem...

Toby Morning

@urbantech

What This Skill Does

Enforces coding style standards, security guidelines, and accessibility requirements during development. Covers naming conventions, formatting, input validation, secret handling, semantic HTML, keyboard navigation, and responsive design.

Replaces manual code review checklists and scattered style guides by providing a single, actionable set of rules for style, security, and accessibility.

When to Use It

  • Review new code for naming convention and formatting compliance
  • Check code for hardcoded secrets, PII, or insecure input handling
  • Validate UI components for semantic HTML and keyboard navigation
  • Test responsive layout at breakpoints 375, 768, 1024, and 1440
  • Document security threat considerations in a pull request

Install

$ openclaw skills install @urbantech/code-quality

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.

Related skills

Python Coding Guidelines

@adarshdigievo

Python coding guidelines and best practices. Use when writing, reviewing, or refactoring Python code. Enforces PEP 8 style, syntax validation via py_compile, unit test execution, modern Python versions only (no EOL), uv for dependency management when available, and idiomatic Pythonic patterns.

1413k

Clean Code

@wpank

Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards.

65.4k

UI/UX Pro Max

@xobi667

UI/UX design intelligence and implementation guidance for building polished interfaces. Use when the user asks for UI design, UX flows, information architecture, visual style direction, design systems/tokens, component specs, copy/microcopy, accessibility, or to generate/critique/refine frontend UI (HTML/CSS/JS, React, Next.js, Vue, Svelte, Tailwind). Includes workflows for (1) generating new UI layouts and styling, (2) improving existing UI/UX, (3) producing design-system tokens and component guidelines, and (4) turning UX recommendations into concrete code changes.

17037k

Code Review

@wpank

Systematic code review patterns covering security, performance, maintainability, correctness, and testing — with severity levels, structured feedback guidance, review process, and anti-patterns to avoid. Use when reviewing PRs, establishing review standards, or improving review quality.

2018k

Claude Code Integration

@hw10181913

Claude Code integration for OpenClaw. This skill provides interfaces to: - Query Claude Code documentation from https://code.claude.com/docs - Manage subagents and coding tasks - Execute AI-assisted coding workflows - Access best practices and common workflows Use this skill when users want to: - Get help with coding tasks - Query Claude Code documentation - Manage AI-assisted development workflows - Execute complex programming tasks

1811k

Clean Code

@gabrielsubtil

Pragmatic coding standards - concise, direct, no over-engineering, no unnecessary comments

237.7k