Skip to content
Back to skills

Code Quality 20

ASecurity

Code quality and safety standards. Activates when editing or reviewing code. Use for quality priorities, safety checks, and code correctness verification.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualitygoshellsecurityperformance

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill code-quality-20 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Quality 20?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Quality 20
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-code-quality-20/badge)](https://www.skillsdirectory.com/skills/david-li0406-code-quality-20)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-quality
description: Code quality and safety standards. Activates when editing or reviewing code. Use for quality priorities, safety checks, and code correctness verification.
allowed-tools: ["shell", "read_file", "apply_patch"]
metadata:
  short-description: Enforce code quality and safety
---

# Code Quality

**Read these references:**
- `references/quality.md` - Quality priorities (correctness, safety, performance)
- `references/safety.md` - Runtime and security safety guidelines

## Instructions

Apply all guidance from references when writing or reviewing code.

### Quality Priority Order

Per `quality.md`:
1. **Correctness** - Does it work? Handle all cases?
2. **Safety** - Runtime safety (no crashes, race conditions)
3. **Security** - No vulnerabilities, input validation
4. **Performance** - Efficient use of resources
5. **Maintainability** - Clear, consistent, documented

### Safety Checks

Per `safety.md`:
- **Runtime safety**: nil checks, bounds checking, race conditions
- **Error handling**: All errors checked and handled appropriately
- **Resource management**: Proper cleanup, no leaks
- **Input validation**: Sanitize and validate all external input
- **Thread safety**: Mutex usage, data races, concurrent access

### Language-Specific Guidance

For Go projects, also reference:
- `~/.config/agent/domain/coding/go/style.md`
- `~/.config/agent/domain/coding/go/idioms.md`
- `~/.config/agent/domain/coding/go/concurrency.md`
- `~/.config/agent/domain/coding/go/safety.md`

For other languages, check `~/.config/agent/domain/coding/<language>/` if available.

### All Steps Blocking

Quality and safety checks are **blocking** - code must pass all requirements before proceeding. Never compromise on correctness or safety for speed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…