Use when adding new error messages to React, or seeing "unknown error code" warnings.
npx skills add jeninh/ampskills-dotfile --skill "formatting-commits"
Install specific skill from multi-skill repository
# Description
Creates commits strictly following Conventional Commits format. ALWAYS read BEFORE committing changes, amending commits, or when the user mentions git commits, conventional commits, or commit messages.
# SKILL.md
name: formatting-commits
description: Creates commits strictly following Conventional Commits format. ALWAYS read BEFORE committing changes, amending commits, or when the user mentions git commits, conventional commits, or commit messages.
compatibility: Requires git and formatted-commit CLI tools
license: AGPL-3.0-or-later
metadata:
author: Amolith [email protected]
Create commits using formatted-commit. For amends, choose the appropriate approach:
- Message stays accurate β
git commit --amend --no-edit(or-a --amend --no-editto stage all) - Message needs updating β
formatted-commit --amendto reconstruct with new type/scope/body
formatted-commit has no sub-commands and the following options:
-t --type Commit type (required)
-s --scope Commit scope (optional)
-B --breaking Mark as breaking change (optional)
-m --message Commit message (required)
-b --body Commit body (optional)
-T --trailer Trailer in 'Sentence-case-key: value' format (optional, repeatable)
-a --add Stage all modified files before committing (optional)
--amend Amend the previous commit (optional)
-h --help
formatted-commit -t feat -s "web/git-bug" -m "do a fancy new thing" -b "$(cat <<'EOF'
Multi-line
- Body
- Here
EOF
)" -T "Assisted-by: [Model] via [Agent]"
Most source code repositories require both an appropriate prefix and scope. Necessity of scope increases with repository size; the smaller the repo, the less necessary the scope. Valid trailers for ticket tracking integration depend on the platform in use.
- GitHub
- Closes:
- Fixes:
- Resolves:
- References:
- SourceHut
- Closes:
- Fixes:
- Implements:
- References:
Refer to installing-formatted-commit.md if it's unavailable.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.