一键导入
git-workflow
Best practices for git workflow automation including atomic commits, branch naming, conventional commit format, and changelog generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Best practices for git workflow automation including atomic commits, branch naming, conventional commit format, and changelog generation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Operational tooling for Talos Linux Kubernetes clusters via Sidero Omni with Proxmox infrastructure provider, covering machine classes, CEL storage selectors, and provider lifecycle management.
Mise configuration patterns, task definitions, hooks, presets, and language-specific setup guidance for dev environment management and project tooling.
Files a GitHub issue on this repo to tell Brent about anything worth his attention — confusion, something that didn't work, an idea or wish, or a new way the user phrased a request. Brent is a collaborator on this private repo and uses these issues to fix and improve the tools. Use this whenever the user sounds confused or frustrated, says something is broken or didn't work as expected, wishes something worked differently, or asks to tell Brent something — even if they never say "feedback" or "issue". Also invoked by blake-os:git-ops to log a request it could not cleanly route.
Internal commit step for the blake-os git-ops router. Stages explicit file paths and creates atomic commits on the current branch, matching the repo's existing message style and scanning for secrets before staging. Invoked by blake-os:git-ops — not a direct entry point. Trigger directly only on the exact request "git commit".
Single front door for everything git and GitHub — saving work, getting the latest, backing up, and putting changes online. Routes plain-language requests to the right operation in the correct order, even when the user does not use git terms. Use whenever the user wants to save, back up, update, sync, upload, publish, or check on their project's files — phrases like "save my work", "back it up", "I'm done", "get the latest", "put it online", "did it save?".
Internal push step for the blake-os git-ops router. Publishes local commits to origin only when the branch is current, after verifying it is not behind; never force-pushes. Invoked by blake-os:git-ops — not a direct entry point. Trigger directly only on the exact request "git push".
| name | git-workflow |
| description | Best practices for git workflow automation including atomic commits, branch naming, conventional commit format, and changelog generation. |
| when_to_use | Use when making commits, creating a branch, organizing commits, generating a changelog, releasing/bumping a version. |
Guidance for creating clean, atomic commits and organizing git workflows effectively.
This plugin provides fork-isolated skills to automate git workflows:
| Skill | Purpose |
|---|---|
git-status | Quick repository status summary |
git-commit | Create commits with pre-commit hooks via commit-craft agent |
branch-cleanup | Clean up merged/stale branches |
generate-changelog | Generate CHANGELOG.md using git-cliff |
All workflow skills use context: fork for delegation isolation. The git-commit skill delegates to the commit-craft agent, which handles the full commit workflow including pre-commit hook detection, execution, and failure recovery.
Use generate-changelog after creating commits to update CHANGELOG.md. Accepts an optional action argument (preview, generate, release). Without an argument, prompts interactively.
Structure commit messages following the conventional commit specification. Project-specific CLAUDE.md conventions take precedence over these defaults.
type(scope): subject
body (optional)
footer (optional)
| Type | Purpose |
|---|---|
feat | New feature |
fix | Bug fix |
docs | Documentation only |
style | Formatting, no code change |
refactor | Code restructuring |
perf | Performance improvement |
test | Adding/updating tests |
build | Build system changes |
ci | CI configuration |
chore | Maintenance tasks |
revert | Revert previous commit |
feat(auth): add oauth2 login — match the casing of existing commits in the repo if a different convention is established)Fixes #123 or Relates to #456BREAKING CHANGE: descriptionCo-Authored-By: Name <email>Use descriptive, prefixed branch names:
| Prefix | Purpose | Example |
|---|---|---|
feature/ | New functionality | feature/user-authentication |
fix/ | Bug fixes | fix/login-redirect-loop |
hotfix/ | Urgent production fixes | hotfix/security-patch |
release/ | Release preparation | release/v2.1.0 |
docs/ | Documentation updates | docs/api-reference |
refactor/ | Code restructuring | refactor/database-layer |
test/ | Test additions | test/integration-suite |
chore/ | Maintenance | chore/dependency-updates |
feature/123-user-authfeature/update or fix/bugCreate commits that are:
Before committing:
git diff and git status.env, credentials, API keysWhen hooks modify files:
git add <files>Use heredoc format for multi-line messages:
git commit -m "$(cat <<'EOF'
type(scope): subject line here
- Detailed bullet point explaining change
- Another relevant detail
Fixes #123
EOF
)"
Default for solo work: commit and push directly to main. Branches and PRs add friction without review value when no one else is reviewing.
Use a branch + PR only when:
Force-push to main is acceptable on solo repos to rewrite local mistakes (e.g. amending a just-pushed commit), but confirm with the operator first if the commit may already be referenced elsewhere.
git checkout -b feature/descriptive-name
git status # See all changes
git diff # Unstaged changes
git diff --cached # Staged changes
git log --oneline -5 # Recent commit style
git add path/to/specific/file.ext
git add -p # Interactive staging
# Simple commit
git commit -m "feat(auth): add OAuth2 login support"
# Multi-line commit
git commit -m "$(cat <<'EOF'
fix(api): resolve race condition in request handler
- Add mutex lock around shared state
- Implement request queuing for high load
- Add timeout handling for stale requests
Fixes #456
EOF
)"