Skip to content
Back to search

quality-gate

Agent skill that runs deterministic checks before work is called done.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/orenatobr--quality-gate/badge.svg)](/listings/orenatobr--quality-gate)

HTML

<a href="/listings/orenatobr--quality-gate"><img src="/api/listings/orenatobr--quality-gate/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

For Claude Code, copy the skill folders into your personal skills directory:

git clone https://github.com/orenatobr/quality-gate.git
mkdir -p ~/.claude/skills
cp -R quality-gate/skills/* ~/.claude/skills/
mkdir -p ~/.claude/scripts
cp quality-gate/scripts/* ~/.claude/scripts/
chmod +x ~/.claude/scripts/*.sh

Start a new Claude Code session. Skills load from the `description` in each `SKILL.md`, so they trigger on their own and can also be called by name.

Other agents: each skill is a folder with a `SKILL.md` (YAML frontmatter plus Markdown). Tools that read the Agent Skills format can load `skills/` as it is. For the rest, paste the body of the `SKILL.md` into the agent's instruction file.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 49 lines
  1. # quality-gate
  2. Runs deterministic checks over the git diff against HEAD plus untracked files, and over the project the working directory belongs to: well-formed JSON, YAML and TOML, the project's own lint, type and test commands (npm, ruff, mypy, pytest, go, cargo), `pre-commit`, and a secrets scan (gitleaks, or a regex scan when gitleaks is missing). It is fast, free and uses no LLM. It prints `GATE: PASS` or `GATE: FAIL` and exits 0 or 1.
  3. ## Install
  4. For Claude Code, copy the skill folders into your personal skills directory:
  5. ```bash
  6. git clone https://github.com/orenatobr/quality-gate.git
  7. mkdir -p ~/.claude/skills
  8. cp -R quality-gate/skills/* ~/.claude/skills/
  9. mkdir -p ~/.claude/scripts
  10. cp quality-gate/scripts/* ~/.claude/scripts/
  11. chmod +x ~/.claude/scripts/*.sh
  12. ```
  13. Start a new Claude Code session. Skills load from the `description` in each `SKILL.md`, so they trigger on their own and can also be called by name.
  14. Other agents: each skill is a folder with a `SKILL.md` (YAML frontmatter plus Markdown). Tools that read the Agent Skills format can load `skills/` as it is. For the rest, paste the body of the `SKILL.md` into the agent's instruction file.
  15. ## Usage
  16. Invoke `/quality-gate` before claiming work is done. Run it by hand with `~/.claude/scripts/quality-gate.sh --cwd <project>`.
  17. ## Requirements
  18. `bash`, `git`, `jq` and `python3`. Optional: `gitleaks`, `pre-commit`, and whatever your project already uses to lint and test.
  19. ## Related skills
  20. `llm-as-judge` runs after the gate passes.
  21. ## What is in this repo
  22. | Path | Purpose |
  23. |------|---------|
  24. | `skills/quality-gate/` | The `quality-gate` skill. |
  25. | `scripts/` | Helper scripts that the skill calls. |
  26. | `CHANGELOG.md` | Notable changes, in Keep a Changelog format. |
  27. | `AGENTS.md` | Rules for AI agents that edit this repo. |
  28. ## Contributing
  29. `main` is protected: changes land through a pull request with one approval. See [AGENTS.md](AGENTS.md) for the conventions.
  30. ## License
  31. MIT, see [LICENSE](LICENSE).

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.