Our review
Runs Python formatting checks and generates a commit message before committing changes.
Strengths
- Automates formatting with black and isort
- Generates a concise commit message
- Asks for user approval before committing
- Includes sign-off for compliance
Limitations
- Requires the project to use black and isort with uv
- Only checks Python files
- Commit message may need manual tweaking
When you want to enforce Python code formatting and automate commit messages before each commit.
For non-Python projects or if you prefer manual formatting and commit messages.
Security analysis
SafeThe skill runs common development tools (black, isort, git) for linting and pre-commit tasks. Commands are non-destructive, and the git commit is prompted with user review. No exfiltration, obfuscation, or disabling of safety mechanisms. Safe for listing.
No concerns found
Examples
Run pre-commit checks on my Python project before committing.Format my Python code with black and isort, then generate a commit message and commit.name: pre-commit description: Summarize commit messages for recent changes disable-model-invocation: true
The following steps are done before git commit
Instructions
-
Check if all Python files under the project root directory pass the linter
# run the following command under the project root directory uv run black --check --diff . && uv run isort --check --diff . -
Handle linting issues, if any; otherwise, skip this step
-
Show violations and list the diff summary for manual review
-
Run
blackandisortto fix these issues# run the following command under the project root directory uv run black . && uv run isort .
-
-
Run
git statusto see changed files -
Generate a commit message for users
- Keep it concise
-
Ask users if he/she wants to commit these changes on his/her behalf
-
List the commit message for manual review
-
List all changed files for manual review, in case we wrongly include any files
-
Remember to include the sign-off
git commit -s -m "<your commit message>" # or git commit --signoff -m "<your commit message>"
-
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.