From casomoltd
Run checks and commit cleanly — detect the toolchain, run the repo's checks, stage explicitly, show the diff for approval, write a conventional message. Does NOT bump the version (that's release-version) or push (a separate, explicitly-requested step).
How this skill is triggered — by the user, by Claude, or both
Slash command
/casomoltd:commit [message] [-C <repo>][message] [-C <repo>]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run checks, then commit. Follow these steps in order; do NOT skip or
Run checks, then commit. Follow these steps in order; do NOT skip or
reorder. This skill commits only — it does not bump the version or
push. The release tail (bump → push → publish/deploy) is a separate,
deliberate step (release-version).
Decide which repo to commit in:
-C <path> given → that directory (resolved relative to the current
dir, git-style; e.g. -C tooling from a multi-repo workspace root).cd there, then confirm it's the intended repo with
git rev-parse --show-toplevel. If it isn't a git repo with a recognised
toolchain (e.g. you're at a multi-repo workspace root with no
package.json / pyproject.toml), stop and ask which repo — never
guess. Every step below runs in this repo.
Pick the command by toolchain, detected from the repo root:
package.json present): npm run checkpyproject.toml, no package.json): there's no
npm run check; run the strict suite directly, e.g.
uv run ruff check && uv run ruff format --check && uv run pyright && uv run pytestIf checks fail, fix the issues and re-run until they pass. Do NOT proceed until they pass.
Stage files explicitly by name. Never git add -A or git add . —
list specific files. Review with git diff --stat first.
After staging, run git diff --stat again. If there are related changes
that should ship together, make multiple commits (repeat steps 2–4
per batch) rather than lumping unrelated work into one commit.
Run git diff --staged and present it. Stop and wait for explicit
approval before committing. Do not proceed until the user confirms.
Closes #<n> / Refs #<n> footer; don't prompt for one otherwise.Use a quoted message from the arguments if given.
The version bump and push are not part of committing. After the
commit, report the local state and hand off: the release tail lives in
release-version, and pushing happens only on an explicit request.
Never use destructive git commands to "fix" a mistake — no
git reset --hard, git push --force, or history rewrites. Clean
history is worth more than a tidy-looking sequence.
git restore --staged <file> and
re-stage correctly; don't force anything.npx claudepluginhub casomoltd/tooling --plugin casomoltdOffers UI/UX design guidance for web and mobile with 50+ styles, 161 color palettes, 57 font pairings, and 99 UX guidelines across 10 stacks. Use for designing pages, components, color systems, or reviewing UI code.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.