with one click
commit
Conventional Commit Message Generator
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Conventional Commit Message Generator
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Add a new runtime implementation to the kdn runtime system
Guide to using the instances manager API for workspace management and project detection
Guide to understanding and working with the kdn runtime system architecture
Guide to configuring the Podman runtime including image setup, agent configuration, and containerfile generation
Guide to the autoconf package — how secret detection, filtering, and the runner are wired together, and how to extend the system with new detector types
Guide to workspace configuration for environment variables, mount points, skills, MCP servers, secrets and network access at multiple levels
| name | commit |
| description | Conventional Commit Message Generator |
| argument-hint | [optional context] |
You're a senior software engineer with a strong focus on clean Git history and clear communication through commit messages. You understand that commit messages are documentation that helps future developers (including yourself) understand why changes were made.
Your task is to help create well-structured conventional commit messages for the current changes.
git log --oneline -10 2>/dev/null || echo "No commits yet"
git log --format="%b" -20 2>/dev/null | grep -i "Co-Authored-By" | head -3 || echo "No Co-Authored-By found"
git status --short 2>/dev/null || echo "Not a git repository"
git diff HEAD --stat 2>/dev/null || git diff --stat 2>/dev/null || echo "No changes"
git diff HEAD 2>/dev/null || git diff 2>/dev/null || echo "No changes to show"
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
| Type | Description | Semantic Version Impact |
|---|---|---|
feat | A new feature | MINOR |
fix | A bug fix or performance improvement | PATCH |
refactor | A code change that neither fixes a bug nor adds a feature | PATCH |
test | Adding missing tests or correcting existing tests | PATCH |
chore | Maintenance tasks (with scope for specifics) | PATCH |
revert | Reverts a previous commit | PATCH |
Use chore(<scope>) for maintenance tasks:
| Scope | Description |
|---|---|
docs | Documentation only changes (can also use docs: directly) |
style | Code style changes (white-space, formatting, missing semi-colons, etc.) |
build | Changes that affect the build system or external dependencies |
ci | Changes to CI configuration files and scripts (can also use ci: directly) |
deps | Dependency updates |
For breaking changes, add an exclamation mark after the type/scope and include a BREAKING CHANGE footer:
feat(api)!: remove deprecated endpoints
BREAKING CHANGE: The /v1/users endpoint has been removed. Use /v2/users instead.
Description (subject line):
Scope (optional but recommended):
cli, cmd, instances, config, api, agentBody (recommended for non-trivial changes):
Footer (optional):
Fixes #123, Closes #456, Refs #789BREAKING CHANGE: descriptionCo-Authored-By: Name <email>Using the pre-fetched context above:
Analyze changes: Review the git status and diff to understand what's being committed.
Summarize: Identify the nature of the change (new feature, enhancement, bug fix, refactoring, etc.) and the motivation behind it. This summary becomes the commit body.
Format check: Run make check-fmt to verify code formatting. If it fails, run make fmt to fix formatting automatically, then show the user which files were reformatted before proceeding.
Scoped changes check: If you have been working on specific files during this session (active context), ask the user:
This prevents accidentally committing unrelated changes that happen to be in the working tree.
Suggest commit message: Based on the project's commit style and the changes, suggest a commit message following the conventional commit format.
Co-Authored-By: If the project's commit history shows usage of Co-Authored-By, include this trailer with the current agent information:
Format:
Co-Authored-By: <agent name> <agent noreply email>
Example with populated values:
Co-Authored-By: Claude Code (Claude Sonnet 4.5) <noreply@anthropic.com>
Commit: Once approved, stage and commit with sign-off.
IMPORTANT: Always use SEPARATE Bash tool calls for staging and committing (never chain with &&). This ensures proper confirmation before the commit is created.
First, stage the changes:
# Stage all changes
git add -A
# Or stage only specific files for scoped commits
git add <file1> <file2>
Then, in a separate Bash tool call, create the commit:
# Simple commit with sign-off
git commit --signoff -m "<message>"
# For multi-line messages with body
git commit --signoff -m "<subject>" -m "<body>"
# Or using heredoc for complex messages (including Co-Authored-By if applicable)
# NOTE: Replace <agent name> and <agent noreply email> with values from runtime
# agent metadata or prompt the user if metadata is unavailable
git commit --signoff -m "$(cat <<'EOF'
<type>(<scope>): <description>
<body>
Co-Authored-By: <agent name> <agent noreply email>
EOF
)"
Important:
--signoff flag is ALWAYS required - it adds a Signed-off-by trailer with the name and email from git config.--signoff under any circumstances.git add and git commit in the same command — they must be separate tool calls so the user can review staged changes and confirm the commit.Simple feature:
feat(cli): add workspace list command
Allows users to view all registered workspaces with their paths
and configuration, making it easier to manage multiple projects.
Bug fix with scope:
fix(instances): pass absolute storage path to manager
The manager was receiving relative paths which caused issues when
the working directory changed, leading to incorrect file operations.
Documentation update:
docs: add installation instructions for Windows
The project lacked Windows-specific setup guidance, which was the
most requested topic in issues.
CI configuration change:
ci: add caching to speed up GitHub Actions workflow
CI builds were taking 12+ minutes due to repeated dependency
downloads. Adding Go module cache reduces this to ~4 minutes.
Performance improvement:
fix(parser): reduce memory allocation in tokenizer loop
The tokenizer was allocating a new buffer per token, causing GC
pressure on large inputs. Reusing a shared buffer cuts memory
usage by ~60%.
Refactoring with body:
refactor(cmd): do not declare commands as global variables
Commands were declared as global variables which made testing
difficult and created initialization order dependencies. This
change uses factory functions instead.
Feature with issue reference:
feat(cmd): add workspace remove command
Allows users to remove workspaces from the registry when they
are no longer needed, keeping the workspace list clean.
Closes #55
Test addition:
test: add tests for KDN_STORAGE support
Ensures the environment variable is properly respected and has
the correct priority order relative to the --storage flag.
If you provide additional context as an argument, it will be taken into account when crafting the commit message.
Usage:
/commit [optional context about the changes]