commit

Review staged changes, lint shell scripts, and create Git commits.

2|Updated Apr 6, 2017
One-click install
npx skills add https://github.com/shiiman/dotfiles --skill commit-shiiman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: commit
Source: https://github.com/shiiman/dotfiles/tree/main/.claude/skills/commit
Command: npx skills add https://github.com/shiiman/dotfiles --skill commit-shiiman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the process of reviewing changes and creating safe commits.

Core Features & Use Cases

  • Automatic review of staged changes before commit, with optional bypass via --skip-review.
  • Shellcheck linting for shell scripts prior to committing to ensure code quality.
  • Enforced commit message formatting and an option to amend the last commit when needed.

Quick Start

Run the commit workflow on your repository to automatically review, lint, and commit changes.

Frequently Asked Questions about commit

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

FAQPage Schema
How do I automate git commit review and linting in my local workflow?

Automating git commit review involves checking staged changes and running linters before creating a commit. This Skill automates that process by reviewing changes, enforcing shellcheck linting for shell scripts, and ensuring safe commits in local Git workflows.

Can I skip the code review step when committing changes?

Yes, you can skip the code review step when committing changes by using the optional bypass feature. Passing the --skip-review flag allows you to bypass the automatic review process and commit directly without the pre-commit review checks.

Does this workflow enforce shellcheck linting for shell scripts before committing?

Yes, the workflow enforces shellcheck linting for shell scripts prior to committing. It automatically runs shellcheck on your staged shell scripts to ensure code quality standards are met before the commit is created.

How do I amend the last commit with enforced commit message formatting?

You can amend the last commit using the built-in amend capability, which also enforces commit message formatting. This allows you to modify your most recent commit while maintaining consistent and enforced commit message standards.

What is the best way to ensure safe commits in team coding practices?

Ensuring safe commits in team coding practices requires pre-commit linting and review. This Skill applies those practices by automatically reviewing staged changes, enforcing shellcheck linting, and enforcing commit message formatting to maintain code quality across the team.