skills/commit-summary/SKILL.md
Generate Conventional Commit messages from staged or unstaged git changes, split unrelated changes into logical commits, detect breaking changes, and optionally create commits after approval. Use when writing commit messages, preparing commits, or committing local work.
npx skillsauth add shipshitdev/library commit-summaryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate accurate Conventional Commits from real git diffs.
Inputs:
Outputs:
Creates/Modifies:
External Side Effects:
Confirmation Required:
Delegates To:
gh-pr-publish when the commit should be pushed and opened as a PRgit-safety when secrets or sensitive files appear in the diffInspect repository state:
git status -sb
git log --oneline -5
git diff --stat
git diff --cached --stat
Determine whether changes are already staged:
git diff --staged.Guard against unsafe commits:
.env, credentials, private keys, local databases,
build caches, or large generated artifacts.git-safety.Choose the Conventional Commit type:
feat: user-visible feature or capabilityfix: bug fixdocs: documentation onlystyle: formatting only, no behavior changerefactor: code restructuring without behavior changeperf: performance improvementtest: tests onlybuild: build system, package manager, dependenciesci: CI/CD workflow changeschore: maintenance with no user-facing behaviorrevert: revert a previous commitDetect scope:
misc, stuff, changes).Detect breaking changes:
Format as type(scope)!: summary and include a BREAKING CHANGE: footer.
Generate the commit message:
type(scope): imperative summary
Optional body explaining why and any non-obvious implementation detail.
Optional footer such as:
BREAKING CHANGE: migration required because ...
Refs: #123
If the user asked to commit, show the exact message and get approval:
git add <approved-paths>
git diff --staged --stat
git commit -m "<subject>" -m "<body-or-footer>"
git add . can stage unintended files. If .gitignore does not exclude node_modules, .env*, or build artifacts, always prefer git add <specific-paths>. Verify with git diff --staged --stat before committing.BREAKING CHANGE: (with a space, all caps) for tools like semantic-release and conventional-changelog to detect it. BREAKING-CHANGE: is not equivalent.Co-Authored-By trailers. Check the repo's agent instruction file (AGENTS.md, CLAUDE.md, or equivalent) or recent commit history for the project convention before adding them.feat(auth): add password reset flowfix(api): handle null provider responseci(actions): restrict pull request token permissionsrefactor(utils): extract date formatting helperdocs: update GitHub project board workflowdevelopment
TypeScript refactoring and modernization guidelines from a principal specialist perspective. This skill should be used when refactoring, reviewing, or modernizing TypeScript code to ensure type safety, compiler performance, and idiomatic patterns. Triggers on tasks involving TypeScript type architecture, narrowing, generics, error handling, or migration to modern TypeScript features.
tools
Resolves TypeScript and JavaScript problems across type-level programming, performance, monorepo management, migration, and modern tooling. Invoke when diagnosing "type instantiation excessively deep" errors, migrating JS to TS, configuring strict tsconfig, debugging module resolution, or choosing between Biome/ESLint/Turborepo/Nx.
tools
Turborepo monorepo build system guidance. Triggers on: `turbo.json`, task pipelines, `dependsOn`, caching, remote cache, the `turbo` CLI, `--filter`, `--affected`, CI optimization, environment variables, internal packages, monorepo structure, and package boundaries. Use when the user configures tasks or workflows, creates packages, sets up a monorepo, shares code between apps, runs changed packages, debugs cache behavior, or works in an `apps/` plus `packages/` workspace.
tools
Provides Tailwind CSS v4 performance optimization and best practices guidelines. Triggers when writing, reviewing, or refactoring Tailwind CSS v4 code; when working with Tailwind configuration, @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization.