Skip to content
Back to skills

Quality Gates

ASecurity

This skill should be used when the user wants to run code quality checks (linting, formatting, type checking, tests) on the lazyclaude project. Use this skill when asked to "run quality gates", "check the code", "run tests", "lint the code", or verify code quality before committing.

  • 41 stars
  • 0 votes
  • 0 copies
  • 11 views
  • Added December 19, 2025
code-qualitybash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add NikiforovAll/lazyclaude --skill quality-gates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quality Gates?

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

Security grade badge for Quality Gates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nikiforovall-quality-gates/badge)](https://www.skillsdirectory.com/skills/nikiforovall-quality-gates)

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: quality-gates
description: This skill should be used when the user wants to run code quality checks (linting, formatting, type checking, tests) on the lazyclaude project. Use this skill when asked to "run quality gates", "check the code", "run tests", "lint the code", or verify code quality before committing.
---

# Quality Gates

Run code quality checks for the lazyclaude project. This skill executes the same checks used in pre-commit hooks plus tests.

## Quality Checks

The following checks are run in order:

| Check | Command | Purpose |
|-------|---------|---------|
| **Ruff Lint** | `uv run ruff check src tests --fix` | Lint code and auto-fix issues |
| **Ruff Format** | `uv run ruff format src tests` | Format code consistently |
| **Mypy** | `uv run mypy src` | Static type checking |
| **Pytest** | `uv run pytest tests/ -q` | Run test suite |

## Usage

To run all quality gates:

```bash
.claude/skills/quality-gates/scripts/check.sh
```

Or run individual checks as needed using the commands above.

## Workflow

1. Run the `.claude/skills/quality-gates/scripts/check.sh` script from the project root
2. Review any failures and fix issues
3. Re-run until all checks pass
4. Present user with concise summary of results in markdown table format

## Common Issues

- **Ruff lint failures**: Usually auto-fixed. If not, check the error message for manual fixes needed.
- **Mypy errors**: Type annotation issues. Add or fix type hints as indicated.
- **Test failures**: Review test output, fix failing tests or underlying code.

Files in this skill

  • SKILL.md1.5 KB
  • scripts/check.sh508 B

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…