checking-quality

Ensures code quality through comprehensive checks including TDD practices, lint/test/build validation, and prevention of common mistakes. Use after completing implementations, fixing bugs, refactoring, or before committing code.

16 stars

Best use case

checking-quality is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Ensures code quality through comprehensive checks including TDD practices, lint/test/build validation, and prevention of common mistakes. Use after completing implementations, fixing bugs, refactoring, or before committing code.

Teams using checking-quality should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/checking-quality/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/checking-quality/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/checking-quality/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How checking-quality Compares

Feature / Agentchecking-qualityStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Ensures code quality through comprehensive checks including TDD practices, lint/test/build validation, and prevention of common mistakes. Use after completing implementations, fixing bugs, refactoring, or before committing code.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Checking Quality

Comprehensive code quality assurance through systematic validation and common mistake prevention.

## Table of Contents

1. [Quick Start Checklist](#quick-start-checklist)
2. [Quality Gates](#quality-gates)
3. [Test-First Development](#test-first-development)
4. [Common Mistakes](#common-mistakes)
5. [Workflows](#workflows)
6. [Error Recovery](#error-recovery)

## Quick Start Checklist

Before committing any code changes, verify all quality gates pass:

```bash
# Frontend
cd frontend
npm run lint && npm run test && npm run build

# Backend
cd backend
npm run lint && npm run test && npm run build
```

**Commit only when all checks pass:**
- [ ] ✅ Lint: 0 errors, 0 warnings
- [ ] ✅ Tests: All passed
- [ ] ✅ Build: Success

## Quality Gates

### When to Run Quality Checks

Execute complete quality validation after:
- [ ] New feature implementation
- [ ] Bug fixes
- [ ] Refactoring
- [ ] Responding to feedback
- [ ] Before every commit (mandatory)

### Frontend Validation

```bash
cd frontend
npm run lint      # Linting
npm run test      # All tests
npm run build     # Build verification
```

### Backend Validation

```bash
cd backend
npm run lint      # Linting
npm run test      # All tests
npm run build     # Build verification
```

## Test-First Development

**Critical Rule: Always modify tests before implementation.**

### Correct Modification Sequence

When changing implementation:

1. **Modify tests first**
2. Verify tests fail (proving test validity)
3. Update implementation
4. Verify tests pass

### Red-Green-Refactor Cycle

For new features and bug fixes:

1. **RED**: Write failing test
2. **GREEN**: Minimal code to pass test
3. **REFACTOR**: Improve while tests stay green

See [TDD Practices](tdd-practices.md) for detailed guidelines and examples.

## Common Mistakes

### Most Frequent Errors

1. **Forgetting test updates** when modifying implementation
2. **Missing related file updates** after interface changes
3. **Overlooking lint warnings** before committing
4. **Skipping quality checks** when rushed

### Detailed Patterns

For comprehensive coverage of common mistakes with examples, see [Common Mistakes Guide](common-mistakes.md).

### Quick Prevention

- [ ] Change interface → Update all call sites
- [ ] Modify types → Update all usages
- [ ] Add async → Add await to callers
- [ ] Remove unused imports/variables
- [ ] Convert `let` to `const` when not reassigned

## Workflows

### New Feature Implementation

```
1. Write failing test (RED)
2. Run test to confirm failure
3. Write minimal implementation (GREEN)
4. Run test to confirm pass
5. Refactor while keeping tests green
6. Run quality checks (lint/test/build)
7. Commit when all checks pass
```

### Bug Fixing

```
1. Write test reproducing the bug
2. Confirm test fails
3. Fix implementation
4. Confirm test passes
5. Check for related file updates
6. Run quality checks (lint/test/build)
7. Commit when all checks pass
```

### Responding to Feedback

```
1. Understand the feedback
2. Modify tests first (critical!)
3. Update implementation
4. Verify related files
5. Run quality checks (lint/test/build)
6. Commit when all checks pass
```

## Error Recovery

### Lint Errors

1. Read error message carefully
2. **Check tests first** (may have same issue)
3. Fix implementation
4. Re-run `npm run lint`

### Test Failures

1. Identify failing test
2. Determine if implementation or test expectations changed
3. Apply appropriate fix
4. Re-run `npm run test`

### Build Errors

1. Check type errors
2. Verify dependencies
3. Fix issues
4. Re-run `npm run build`

## Best Practices

### Small, Frequent Commits

- Commit after each completed feature
- Break large changes into incremental steps
- Keep each commit focused and self-contained

### Automation

- Configure pre-commit hooks for automatic validation
- Use CI/CD pipelines to enforce quality gates
- Automate repetitive quality checks

### Self-Review

- Re-read code changes before committing
- List modified files and their dependencies
- Verify test coverage for changes

## Integration with Development

Quality checking should be seamless:

1. **During development**: Run specific tests frequently
2. **Before breaks**: Run full test suite
3. **Before committing**: Run complete quality validation
4. **After merging**: Verify integration tests pass

This systematic approach prevents quality issues from reaching the codebase while maintaining development velocity.

Related Skills

code-quality

16
from diegosouzapw/awesome-omni-skill

A protocol for performing a deep code quality analysis using static analysis tools and formatting. It covers C++ (cppcheck) and React/JavaScript (ESLint).

bio-read-qc-quality-reports

16
from diegosouzapw/awesome-omni-skill

Generate and interpret quality reports from FASTQ files using FastQC and MultiQC. Assess per-base quality, adapter content, GC bias, duplication levels, and overrepresented sequences. Use when performing initial QC on raw sequencing data or validating preprocessing results.

atft-code-quality

16
from diegosouzapw/awesome-omni-skill

Enforce lint, formatting, typing, testing, and security hygiene across the ATFT-GAT-FAN codebase.

assessing-architecture-quality

16
from diegosouzapw/awesome-omni-skill

Use when assessing codebase architecture and you feel pressure to soften critique, lead with strengths, or frame problems diplomatically - provides evidence-based critical assessment resisting relationship and economic pressures

architecture-quality-assess

16
from diegosouzapw/awesome-omni-skill

Converted Claude skill for architecture-quality-assess. Use when Codex should run the converted architecture-quality-assess workflow.

aposd-maintaining-design-quality

16
from diegosouzapw/awesome-omni-skill

Enforce strategic programming discipline when modifying existing code. Guide through STOP-ASK-DECIDE-VERIFY workflow with urgency tier assessment (trivial/minor/standard/emergency). Include when NOT to refactor (Chesterton's Fence, performance-critical, no tests) and block tactical shortcuts via anti-rationalization tables. Use when fixing bugs, extending features, or tempted to make quick fixes. Triggers on: modify code, fix bug, extend feature, quick fix, tactical change.

agentic-jumpstart-code-quality

16
from diegosouzapw/awesome-omni-skill

Code quality guidelines for Jarvy CLI - Rust formatting, Clippy linting, error handling patterns, documentation standards, and Conventional Commits.

data-quality-frameworks

16
from diegosouzapw/awesome-omni-skill

Implement data quality validation with Great Expectations, dbt tests, and data contracts. Use when building data quality pipelines, implementing validation rules, or establishing data contracts.

51-execute-quality-150

16
from diegosouzapw/awesome-omni-skill

[51] EXECUTE. Commitment to maximum quality work with 150% coverage. Use when you need the highest quality output for critical tasks, complex problems, important decisions, or when standard work isn't enough. Triggers on "maximum quality", "150% mode", "full quality", "critical task", or when you explicitly want AI to work at its best.

ai-content-quality-checker

16
from diegosouzapw/awesome-omni-skill

AI生成コンテンツの総合品質チェックスキル。読みやすさ、正確性、関連性、独自性、SEO、アクセシビリティ、エンゲージメント、文法・スタイルを多角的に評価。

1k-code-quality

16
from diegosouzapw/awesome-omni-skill

Code quality standards for OneKey. Use when fixing lint warnings, running pre-commit tasks, handling unused variables, writing comments, or ensuring code quality. All comments must be in English. Triggers on lint, linting, eslint, oxlint, tsc, type check, unused variable, comment, documentation, spellcheck, code quality, pre-commit, yarn lint.

Verification & Quality Assurance

16
from diegosouzapw/awesome-omni-skill

Comprehensive truth scoring, code quality verification, and automatic rollback system with 0.95 accuracy threshold for ensuring high-quality agent outputs and codebase reliability.