test-commit-push

Run tests, typecheck, lint, and gitleaks before committing.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sperezintexas/fintech-app --skill test-commit-push
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-commit-push
Source: https://github.com/sperezintexas/fintech-app/tree/main/.cursor/skills/test-commit-push
Command: npx skills add https://github.com/sperezintexas/fintech-app --skill test-commit-push

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill automates the safe local development workflow for preparing commits by validating tests, typechecks, lint checks, and pre-commit steps, reducing risk of broken code and sensitive data leaks.

Core Features & Use Cases

  • Orchestrates a deterministic commit workflow, running tests, type checks, lint, and gitleaks before commit.
  • Suggests and formats conventional commit messages, and can bump app versions when requested.
  • Provides guidance for resolving failures and re-running checks until all validations pass.

Quick Start

Run the test-commit-push workflow to validate tests, typecheck, lint, and gitleaks before committing.

Frequently Asked Questions about test-commit-push

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

FAQPage Schema
How do I automate git commit checks for tests, linting, and secrets scanning?

Automating git commit checks involves running a deterministic sequence of validations including tests, typechecking, linting, and gitleaks before committing. This workflow orchestrates these checks to reduce broken code and sensitive data leaks for JS/TS projects.

What is a safe local development workflow for preparing git commits?

A safe local development workflow validates code quality before committing by running tests, type checks, lint, and secrets scanning. It ensures determinism by enforcing a specific validation sequence and providing structured commit guidance until all checks pass.

Can I use conventional commits and version bumping with automated testing?

Yes, you can use conventional commits and version bumping with automated testing. This workflow suggests and formats conventional commit messages and can optionally bump app versions after all validations pass.

Does this automated git workflow support JS and TS projects?

Yes, this automated git workflow supports JS and TS projects. It applies to preparing commits across JavaScript and TypeScript projects by running npm test or vitest run, typechecking, and lint validations.

What happens if typecheck or linting fails during the pre-commit workflow?

When typecheck or linting fails during the pre-commit workflow, the sequence stops and provides guidance for resolving failures. Users can re-run checks until all validations pass before committing.

Why should I run gitleaks before committing code to git?

Running gitleaks before committing code to git prevents sensitive data leaks by scanning for secrets. Integrating secrets scanning into your local commit workflow ensures sensitive information is caught locally before reaching the repository.