OpenParable
Skip to content
← Back to skills

Meta Pre Commit Quality Gate

Testing & Quality
meta-pre-commit-quality-gate

Meta Pre Commit Quality Gate is an Agent Skill for testing & quality published in the opensquilla/opensquilla repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run three quality gates (ruff + mypy + pytest) in parallel over the staged diff, then arbitrate a single BLOCK/APPROVE verdict. Use before committing changes locally when you want a comprehensive pre-commit gate beyond per-file linting — exactly the same gate set CI enforces.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/opensquilla/opensquilla/blob/HEAD/src/opensquilla/skills/exp/meta-pre-commit-quality-gate/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/meta-pre-commit-quality-gate, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Pre-Commit Quality Gate (Meta-Skill)

A combinator-style meta-skill that runs three independent quality gates in parallel over the currently-staged diff, then arbitrates a single ship-readiness verdict.

Trigger surface

Fire by saying pre-commit quality gate or one of the localized triggers listed in the frontmatter. The skill is also designed to be invoked from a git pre-commit hook via the soft path (meta_invoke), but hook installation is a separate manual step.

Fallback

If the orchestrator fails (sub-Agent error, timeout, etc.), the caller should manually run, in order: uv run ruff check src tests, uv run mypy src/opensquilla --show-error-codes, then uv run pytest -q. The same three commands are the CI quality gate in .github/workflows/ci.yml.