Help us improve
Share bugs, ideas, or general feedback.
From devx
Conventional commit workflow with pre-commit checks (cargo fmt, clippy, ruff), auto-staging, and optional push. Activates when the user needs to commit or push changes.
npx claudepluginhub ohdearquant/lionagi --plugin devxHow this skill is triggered — by the user, by Claude, or both
Slash command
/devx:commitThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Smart git commit workflow. All commits go through khive.
Executes git commits with conventional commit message analysis, intelligent staging, and message generation. Use when asked to commit changes or when /commit is invoked.
Creates local Git commits with conventional messages and GitHub issue references. Handles staging, pre-commit hooks, and automatic issue detection from changes.
Creates conventional git commits with validation, branch safety checks, local Python/JS linting/formatting/typechecking, change review, and agent attribution. Use for safe commits.
Share bugs, ideas, or general feedback.
Smart git commit workflow. All commits go through khive.
Check for .khive/commit.toml in the project root:
# .khive/commit.toml (optional — sensible defaults if missing)
default_push = true
allow_empty_commits = false
conventional_commit_types = [
"feat", "fix", "build", "chore", "ci", "docs",
"perf", "refactor", "revert", "style", "test"
]
default_stage_mode = "all" # "all" or "patch"
# Pre-commit checks to run (ordered)
[pre_commit]
enabled = true
steps = [
{ cmd = "cargo fmt --check", stack = "rust" },
{ cmd = "cargo clippy --workspace", stack = "rust" },
{ cmd = "uv run ruff check .", stack = "python" },
{ cmd = "uv run ruff format --check .", stack = "python" },
]
# Git identity fallback
[identity]
name = "khive-bot"
email = "khive-bot@example.com"
git status
git diff --stat
git diff --cached --stat
Determine what needs staging. If nothing is staged, stage relevant files.
NEVER use git add -A blindly — review what's being added.
If .khive/commit.toml has [pre_commit] enabled, run each step:
rust: if Cargo.toml existspython: if pyproject.toml existsdocs: if .md files changedcargo fmt --check && cargo clippyuv run ruff check . && uv run ruff format --check .Format: <type>(<scope>): <subject>
Examples:
feat(memory): add semantic search with reranking
fix(cli): handle missing config gracefully
refactor(platform): extract policy engine into separate crate
docs: update lambda architecture README
If the user provides a message, validate it against conventional commit format. If invalid, suggest corrections.
git commit -m "$(cat <<'EOF'
<type>(<scope>): <subject>
<body if needed>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
EOF
)"
If default_push = true in config (or user says --push):
git push origin <current-branch>
If push fails (no upstream), set it:
git push -u origin <current-branch>
.env, credentials, or secrets--type feat --scope ui, use them directly