commit

Run tests and linters, enforce conventional commit messages, and manage branches.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MattJColes/macols-configs --skill commit-mattjcoles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/MattJColes/macols-configs/tree/main/shared/personas/commit
Command: npx skills add https://github.com/MattJColes/macols-configs --skill commit-mattjcoles

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, ruff, dart, ast-grep, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the code commit process by automating tests and linters, ensuring code quality and reducing manual steps.

Core Features & Use Cases

  • Automated Testing: Executes predefined tests to verify code functionality.
  • Linting: Runs linters to enforce coding standards and identify issues.
  • Anchor Hygiene Check: Optionally checks the integrity of code specifications.
  • Conventional Commit Message: Creates a clear commit message adhering to a specific convention.
  • Branch Management: Handles branch creation if needed.
  • Push Commit: Pushes the commit to the remote repository.
  • Use Case: Perfect for developers looking to integrate code reviews and automated quality checks into their commit workflow.

Quick Start

Commit your current changes using the 'commit' skill.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate testing and linting before a code commit?

Automating testing and linting before a code commit involves running tools like pytest and ruff to verify functionality and enforce standards. This workflow streamlines the process by executing these checks automatically, ensuring code quality before finalizing changes.

What is the best way to enforce a conventional commit message workflow?

Enforcing a conventional commit message workflow requires an automated step that generates or validates messages against specific conventions. This automated approach integrates with branch management and pre-commit checks to standardize commit history across development teams.

How do I run ruff and pytest automatically when committing code?

Running ruff and pytest automatically when committing code is achieved by integrating an automated commit workflow that triggers these tools sequentially. The workflow executes linters and tests, managing branch creation and pushing only after all quality checks pass.

Does this automated commit workflow support dart analyze and ast-grep?

Yes, the automated commit workflow supports dart analyze and ast-grep for full functionality. These tools are integrated alongside pytest and ruff to perform comprehensive code quality checks, linting, and anchor hygiene verification before committing code.

Can I manage branch creation and push commits within an automated testing workflow?

Yes, you can manage branch creation and push commits within an automated testing workflow. The process handles branch creation if needed and pushes the commit to the remote repository only after automated tests and linters successfully pass.

Why use an automated commit workflow for code quality checks?

Using an automated commit workflow for code quality checks reduces manual steps and prevents untested code from entering the repository. By automating tests, linting, and anchor hygiene checks, it ensures consistent coding standards and verifies functionality before pushing.