Automated summary
This skill prepares and writes high-quality Git commits for pending changes by gathering repository context and then running a chain of quality sub-agents before committing.
Strengths
- Gathers context in parallel (diff, diff --cached, status, recent log) so commit messages match the repository's existing style.
- Orchestrates an ordered Python agent pipeline (moderniser, Click audit, docstrings, copy-editing, tests, lint) scoped to the changed files only.
- Decides when to split work into multiple logical commits and recognises incidental files like CHANGELOG.md when picking the component prefix.
- Only triggers the changelog agent for genuinely user-facing changes, with an explicit skip list for CI, docs and internal refactors.
Limitations
- Heavily tied to one project layout (youtube_unofficial/, Wiswa, .claude/agents/), so it is not directly reusable elsewhere.
- Assumes every referenced .claude/agents/<name>.md file exists and that the Agent tool with the general-purpose subagent type is available.
- Does not cover merge conflicts, rebases, or undoing already-pushed commits.
Use it when there are uncommitted changes and you want coherent, correctly typed commits with an updated changelog.
Avoid it on repositories that don't follow this agent and directory structure, or for history-editing operations such as an interactive rebase.
Security analysis
SafeThe skill instructs the agent to run read-only Git commands (diff, status, log) and launch internal subagents for code quality tasks before committing. It does not include destructive shell commands, network exfiltration, token handling, or obfuscation. The use of the Agent tool and git commit is within the intended scope of a coding assistant and poses no meaningful security risk.
No concerns found
How this analysis is madeExamples
Commit my pending changes with a good message and update the changelog if needed.Review everything I've changed and split it into separate logical commits following our conventions.I've modified some files under youtube_unofficial/ — run the usual agents and commit the result.Commit
Create high-quality Git commits for all pending changes.
Gathering context
Run these in parallel:
git diff- unstaged changes.git diff --cached- staged changes.git status- untracked files and overall state.git log --no-merges --format='%s%n%b---' -20 | grep -v '^bump:' | grep -iv dependabot- recent commit message style examples.
Running agents
After gathering context but before committing, determine which agents to run based on the changed
files. Launch each agent sequentially using the Agent tool with subagent_type general-purpose,
telling it to follow the corresponding .claude/agents/<name>.md file. Scope each agent to only the
changed files, not the entire project.
You must skip any agents that are not relevant to the changed files (e.g. if no Click command files changed, skip the click-auditor).
When Python code is being committed
If any changed files are under youtube_unofficial/ or tests/, run the following
agents in order:
- python-moderniser - upgrade to modern Python features.
- click-auditor - validate Click command consistency. Only run if files under
youtube_unofficial/commands/changed. - docstring-fixer - fix missing or incomplete docstrings.
- copy-editor - fix prose in comments, docstrings, and strings.
- test-writer - generate/update tests for new/changed code. Skip if the only changes are in
tests/. - qa-fixer - format and fix lint/spelling issues.
When user-facing changes are being committed
-
changelog - update
CHANGELOG.mdonly for user-facing changes (behaviour, CLI, public API, security, or meaningful dependency constraints that affect installs). After it completes, check ifCHANGELOG.mdwas modified (git diff CHANGELOG.md). If it was, stage it with the relevant commit. Follow.claude/agents/changelog.md, including its skip list.Files under
youtube_unofficial/,tests/, or version changes inpyproject.tomlare candidates for the changelog agent only when they change what users see or how the software behaves. Editing those paths is not sufficient on its own.Skip the changelog agent for workflows, CI config,
.claude/, documentation-only churn, cruft or generator clean-up (for example replacing template placeholders such asunknownin repository URLs, badges, packaging metadata, orCODEOWNERSwith the real project identity), internal refactors with no behaviour change, and other non-user-facing work.
Analysing changes
Group changed files by component. Determine if one commit or multiple logical commits are needed.
Incidental files
The following files do not count when determining the component prefix, unless they are the only file in a commit:
CHANGELOG.md.vscode/dictionary.txt
For example, if a commit contains youtube_unofficial/commands/main.py,
tests/test_main_command.py, and CHANGELOG.md, the component is determined by
the source files only. CHANGELOG.md is simply staged alongside them.
If CHANGELOG.md is the only file being committed, use the changelog: prefix. If
.vscode/dictionary.txt is the only file, use dictionary: prefix.
When to split into multiple commits
- Changes span unrelated components.
- A refactor and a bug fix in the same file should be separate commits.
- New tests for existing code should be separate from the code changes they test only if the code changes are themselves separate.
- Dictionary updates (
.vscode/dictionary.txt) should be committed first with messagedictionary: update.
Cruft updates
When all changes are from re-running Wiswa (the project generator) and no hand-written code changed, this is a cruft update. Indicators:
- Only Wiswa-managed files changed (workflows,
package.json,pyproject.toml,.pre-commit-config.yaml,.claude/agents/,.claude/rules/,CITATION.cff,.vscode/dictionary.txt,uv.lock,.wiswa.jsonnet, etc.). - No files under the primary module or
tests/changed.
Commit everything in a single commit with the subject cruft: update. Include a body summarising
what changed (e.g. new/updated workflows, updated agent files, dependency version bumps, new managed
files). Do not run any agents. Do not split into multiple commits. Do not update the changelog.
When a single commit is fine
- All changes serve the same purpose within a closely related set of files.
- A bug fix and its test.
Commit message format
component.name: short description
Optional longer description explaining the why, not the what. Wrap at 72
characters.
Signed-off-by: Author Name <email>
Closes: #123
Subject line rules
- Format:
component.name: short description. Component name must be lowercase and must skip the first period if present (vscodenot.vscode,README.md->readmenotREADME), and must omit the period with extension. - Lowercase after the colon (unless a proper noun).
- No period at the end.
- Maximum 72 characters.
- Use imperative mood: 'add', 'fix', 'update', 'remove', not 'added', 'fixes', 'updated'.
Component prefix rules
For Python files, strip the youtube_unofficial/ prefix and replace / with . (like module imports).
- Python file
youtube_unofficial/media.py→media:. - Multiple files under
youtube_unofficial/commands/→commands:. - Single command file
youtube_unofficial/commands/admin.py→commands.admin:. - Workflow file
.github/workflows/qa.yml→workflows/qa:. - Multiple workflows →
workflows/*:. - Agent files
.claude/agents/*.md→.claude:or specific agent name. - Instruction files across all 3 locations →
project:(since they span Copilot/Cursor/Claude). - Test files
tests/test_media.py→tests/test_media:(ortests:for multiple). - Dictionary
.vscode/dictionary.txt→dictionary:(only when committed alone). - Top-level config (
pyproject.toml,package.json) →project:. - If changes span many unrelated areas →
project:. - CHANGELOG.md →
changelog:(only when committed alone). - CONTRIBUTING.md →
contributing:.
Trailers
Closes: #N- when a commit closes an issue. If it is another project, use the full URI.Fixes: #N- when a commit fixes a bug reported in an issue. If it is another project, use the full URI.Related: #N- when a commit is related to an issue but does not fully close or fix it. If it is another project, use the full URI.Reviewed-by:- if applicable.Co-authored-by:- if applicable.Reported-by:: - if applicable. Could get this information from a bug report that led to the fix if the issue ID/URL is known.Signed-off-by:- always included on every commit. This will be added with-s.
Making commits
Run commands separately. Do not chain commands with && or ;. Do not use scripts.
- Stage files for each logical commit using
git addwith specific file paths. - If
CHANGELOG.mdwas updated by the changelog agent, stage it with the relevant commit. - Create the directory if it does not exist:
mkdir -p .wiswa-ci. Skip if it already exists. - Create a unique temp file with
mktemp .wiswa-ci/message-XXXXXXXX. Write the commit message there using the Write tool (not Bashechoorcat) - Commit with
git commit -S -s -F <tempfile>without using the sandbox. - If a pre-commit hook fails, fix the issue, re-stage (use appropriate agent if there is one), and try to commit again.
- After all commits, run
git statusto verify clean state.
Temp commit message files under .wiswa-ci/ do not need to be deleted after a successful commit; you
may leave them in place.
Rules
- Never use
--no-verifyor--no-gpg-sign. - Amend the previous commit when the new change is logically part of it (e.g. same file, same topic, fixing something just committed). Create a new commit when the change is distinct.
- Never push unless explicitly asked.
- Always use
-Sfor GPG signing and-sfor sign-off. - If there are no changes, do nothing.
- Stage specific files, never use
git add -Aorgit add ..
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/create-high-quality-git-commits-ms47vnyy/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/create-high-quality-git-commits-ms47vnyy' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-high-quality-git-commits-ms47vnyy/download' --output '.skill-downloads/create-high-quality-git-commits-ms47vnyy/SKILL.md.part' && mv '.skill-downloads/create-high-quality-git-commits-ms47vnyy/SKILL.md.part' '.skill-downloads/create-high-quality-git-commits-ms47vnyy/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/create-high-quality-git-commits-ms47vnyy/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.