commit-workflow
Prepare, verify, stage, and create atomic one-logical-change git commits with Conventional Commit subjects, enabled pre-commit hooks, and optional Lore trailers. Use when a user asks to commit, prepare a commit, write a commit message, push, or open a PR, replacing vendor-specific commit command plugins with a portable project workflow.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- commit-workflow
- description
- Prepare, verify, stage, and create atomic one-logical-change git commits with Conventional Commit subjects, enabled pre-commit hooks, and optional Lore trailers. Use when a user asks to commit, prepare a commit, write a commit message, push, or open a PR, replacing vendor-specific commit command plugins with a portable project workflow.
03 SKILL.md 正文
<!-- agent-workbench: managed portable-skill -->
Commit Workflow
Dispatch
Use the tier, delivery boundary, and escalation rule for commit-workflow in AI_AGENT_GUIDE.md's Skill Model and Reasoning Routing table, and resolve the tier through the active platform binding.
Workflow
- Read
.agents/prompts/commit-workflow.mdif present. - Run
git status --short. - Inspect relevant diffs before staging.
- Confirm the commit contains exactly one logical change; split unrelated edits.
- Run project verification when practical.
- Stage only intentional files.
- Re-check staged diff.
- Commit with an intent-oriented Conventional Commit subject and enabled pre-commit hooks.
- Add Lore trailers for non-trivial decisions when useful.
- Push or open a PR only if explicitly requested.
Safety
Never stage unrelated files, bypass hooks, push, rewrite history, or run destructive git commands without explicit authorization. Treat pre-commit hook failures as issues to diagnose and fix, not as obstacles to skip.
04 同仓库更多 Skills
sync-agent-workbench
Synchronize the fixture workbench.
sync-agent-workbench
Synchronize, audit, or repair composable agent-workbench policy in a project. Use when a user wants canonical AI_AGENT_GUIDE.md, thin vendor loader entrypoints, project-selected profiles, portable prompts, and standard Agent Skills without depending on a marketplace, plugin, global config, or submodule.
skill-authoring
Create or update portable Agent Skills under .agents/skills with concise SKILL.md instructions and optional scripts, references, or assets. Use when a user wants skill-creator behavior that works across Codex, Gemini, Claude Code, OpenCode, or other agents without relying on one vendor's built-in creator.
math-pdf-reader
Read, transcribe, summarize, or verify mathematical PDFs with high fidelity by combining rendered-page inspection, cautious text extraction, version-matched source checks, and explicit uncertainty. Use for theorem, proof, formula, notation, attribution, or bibliographic work where ordinary PDF text extraction can silently corrupt mathematical content.
loop-until-done
Keep working on a requested task through bounded work, root-cause diagnosis, verification, and retry iterations until explicit completion criteria are met or a maximum iteration limit is reached. Use for Ralph-style self-correction without requiring Claude plugins, Codex plugins, Gemini extensions, or hook support.
linus-review
Run a strict Linus-style code review focused on correctness, backward compatibility, simplicity, data structures, special cases, hardcoded values, root-cause proof, maintainability, and verification. Use when the user asks for Linus mode, Linus review, a blunt maintainer review, harsh review, kernel-style review, or an especially skeptical code review.