quality-commit

Automate pre-commit quality gates for staged JavaScript/TypeScript changes.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/acedergren/oci-self-service-portal --skill quality-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: quality-commit
Source: https://github.com/acedergren/oci-self-service-portal/tree/main/.agents/skills/quality-commit
Command: npx skills add https://github.com/acedergren/oci-self-service-portal --skill quality-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stage, lint, scan, review, and commit changes with full quality gates in a single standardized flow.

Core Features & Use Cases

  • Lint staged frontend/api/shared code
  • Type-check staged TypeScript/Svelte code
  • Semgrep security scan per file
  • Optional CodeRabbit review and guidance
  • Atomic commit with guardrails and push options

Quick Start

Run quality-commit to lint, typecheck, scan for issues, run tests, and commit when all gates pass.

Frequently Asked Questions about quality-commit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate linting, type checking, and tests before a git commit?

Automating linting, type checking, and tests before a git commit is done by running a pre-commit quality gate. This Skill sequences linting, type checking, Semgrep scanning, and test execution, committing changes only when all gates pass.

Can I run security scans and type checking on staged TypeScript files in a monorepo?

Yes, you can run security scans and type checking on staged TypeScript files in a monorepo. The Skill applies Semgrep scanning and type checking across multi-workspace JavaScript/TypeScript projects, including frontend, API, and shared code.

How does Semgrep scanning integrate into a pre-commit hook workflow?

Semgrep scanning integrates into a pre-commit hook workflow by executing per file during the staged changes evaluation. It acts as a deterministic security gate that runs alongside linting and type checks before allowing an atomic commit.

What is the best way to add automated code review to a pre-commit quality gate?

The best way to add automated code review to a pre-commit quality gate is using an optional review step. This Skill supports optional CodeRabbit review and guidance as part of its configurable commit workflow before finalizing the commit.

Does this pre-commit quality gate support pushing changes directly after checks pass?

Yes, this pre-commit quality gate supports pushing changes directly after checks pass. It implements a guarded commit workflow with configurable flags that include optional push steps once linting, scanning, and test executions succeed.