code-quality

Enforce code quality and safety standards during code edits and reviews.

4|Updated Sep 6, 2013
One-click install
npx skills add https://github.com/mway/dotfiles --skill code-quality-mway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality
Source: https://github.com/mway/dotfiles/tree/main/home/dot_codex/skills/code-quality
Command: npx skills add https://github.com/mway/dotfiles --skill code-quality-mway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code quality and safety guidelines establish a consistent standard for coding and reviewing, helping teams prevent defects, runtime issues, and security vulnerabilities.

Core Features & Use Cases

  • Quality priorities: Correctness, Safety, Security, Performance, Maintainability.
  • Safety Checks: Runtime safety checks, error handling, resource management, input validation, and thread safety.
  • Language Guidance: References for Go and other languages with style guides and idioms.
  • Use Case: Enforce a uniform quality bar during code reviews and edits to block unsafe changes.

Quick Start

Review your codebase against the listed quality and safety standards to ensure correctness, safety, and maintainability.

Frequently Asked Questions about code-quality

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce code quality and safety standards during code reviews?

Code quality and safety standards are enforced during code reviews by applying explicit checks for correctness, safety, and security to block unsafe changes across pull requests and merge checks.

What static analysis checks are applied for runtime safety and error handling in Go?

Static analysis checks for Go apply runtime safety checks, error handling, resource management, input validation, and thread safety to prevent runtime issues and security vulnerabilities.

Can I use this to block unsafe code changes in pull requests?

Yes, you can block unsafe code changes in pull requests by enforcing a uniform quality bar that satisfies blocking requirements for correctness, safety, and security through explicit checks.

What quality priorities should I check my codebase against?

You should check your codebase against quality priorities including correctness, safety, security, performance, and maintainability to ensure a consistent standard for coding and reviewing.

Does this code review approach work for languages other than Go?

Yes, this code review approach works for other languages by providing language guidance and style references for Go and additional languages to maintain code quality and safety.

Why do I need input validation and thread safety checks in my codebase?

Input validation and thread safety checks are needed in your codebase to establish a consistent standard for coding that prevents defects, runtime issues, and security vulnerabilities.