# Code Quality

> Code Quality & Reviews

- Skill: `dvcrn/code-quality` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dvcrn/code-quality`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/code-quality/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/dvcrn/code-quality

---

# Code Quality & Reviews

## Clean Code Principles

| Principle | Description |
|-----------|-------------|
| SRP | One responsibility per function/class |
| DRY | Don't Repeat Yourself |
| KISS | Keep It Simple |
| YAGNI | You Aren't Gonna Need It |
| naming | Clear, descriptive names |

## Code Review Checklist

### Before Submitting
- [ ] Code compiles without errors
- [ ] Tests pass
- [ ] No console.log/debug code
- [ ] Types are correct
- [ ] No hardcoded secrets

### Review Points
- [ ] Logic is correct
- [ ] Error handling is proper
- [ ] Performance is acceptable
- [ ] Security considerations
- [ ] Code is readable

## PR Standards

```markdown
## Description
Brief description of changes

## Type
- [ ] Bug fix
- [ ] Feature
- [ ] Refactor

## Testing
- [ ] Unit tests added
- [ ] Integration tests pass

## Screenshots (if UI)
```

## Checklist

- [ ] Follow naming conventions
- [ ] Write self-documenting code
- [ ] Keep functions small
- [ ] Handle errors properly
- [ ] Add comments for complex logic
- [ ] Review your own PR first

