Skip to content
Development
Command

/quick-commit

Format, lint and commit with a conventional message on a kit-named branch

From plugin
ai-kit
11154 skills15 agents54 commands4 MCP
> /plugin marketplace add solanabr/ai-kit
> /plugin install solana-ai-kit@stbr

Command definition

quick-commit.md
description: "Format, lint and commit with a conventional message on a kit-named branch"

Commit the current work with a conventional commit message. `$ARGUMENTS`, if given, is the message or a hint for it.

Steps

1. **Branch.** On `main` or `master`, propose `<type>/<scope>-<description>-<DD-MM-YYYY>` (e.g. `feat/program-vault-15-01-2026`; date from `date +%d-%m-%Y`; type from the change: feat, fix, docs, test, refactor, chore) and ask: create it, use a custom name, or stay. Create it with `git checkout -b <name>`; uncommitted changes come along. 2. **Stage.** If `git status --short` is empty, stop. If something is already staged, commit only that. Otherwise stage modified and new files, leaving out secrets and build output (`.env`, `.env.local`, `*keypair*.json`, `id.json`, `target/`, `node_modules/`) and saying what was left out. 3. **Format**, then re-stage what it touched (`git add -u`): `cargo fmt` for Rust, `npx prettier --write` on the changed TS/JS/JSON files, `ruff format` for Python. 4. **Lint:** `cargo clippy --all-targets -- -D warnings`; `npm run lint` when `package.json` defines it. Fix what is quick and report the rest. 5. **Message:** `type(scope): summary`, imperative, under 72 characters, written from `git diff --cached` rather than from file names. Types: feat, fix, refactor, perf, test, docs, style, chore, ci. Scope is the area touched (program, frontend, tests, docs, deps). Add a body with the why when the change is not obvious. No AI attribution or `Co-Authored-By` trailer (the kit sets `attribution` to empty strings in settings.json). 6. **Commit.** Show `git diff --cached --stat` and the message, then `git commit`. If the project's own git pre-commit hook fails, fix, re-stage and retry; don't skip it with `--no-verify`.

Output

Branch, commit hash and message, files committed, and any lint warnings left unfixed. This only runs quick checks; run the full suites (`/test-rust`, `/test-ts`) before pushing.

Read more
@solanabr
Ships withai-kit

Claude Code, set up to ship on Solana. Not programs alone — the whole lifecycle: validating the idea, building the program and the app around it, shipping it, and the launch and growth work that follows.

1113 skills15 agents4 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
111
Star history of solanabr/solana-ai-kit on GitHub, a chart by star-history.com

Other commands on ai-kit.

add-skill

add-skill

Command

Install a pinned skill extension on demand (/add-skill <id>), or list core packs and extensions

@solanabr@solanabrInstall Command
adv

adv

Command

Short for /adversarial: run every task through proposer and adversary pairs, no triage

@solanabr@solanabrInstall Command
adversarial

adversarial

Command

Put a task's load-bearing claims and key decisions through a proposer and an adversary, with proof

@solanabr@solanabrInstall Command
audit-solana

audit-solana

Command

Audit Solana program code for exploitable bugs and write a findings report

@solanabr@solanabrInstall Command
benchmark

benchmark

Command

Compare per-instruction CU with the stored baseline to catch regressions

@solanabr@solanabrInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command