committing-code
FreeNo executable scriptsNot checkedProvides commit message format and workflow for this repository. Use when creating git commits, reviewing staged changes, or generating conventional commit…
by microsoft-foundry★ 137 GitHub starsAbout this skill
Commit Message Format
<type>(<scope>): <short description>
## Summary
Brief description of what was done. Fixes #<issue-number>.
## New Components
### ComponentName (path/to/file.ts)
- Bullet points describing the component
## Enhanced Components
### ExistingComponent.ts
- What was changed and why
## Files Changed
- path/to/file1.ts
- path/to/file2.ts
Co-authored-by: Copilot <[email protected]>
Type Prefixes
| Type | When to Use |
|---|---|
feat |
New feature or capability |
fix |
Bug fix |
refactor |
Code restructuring (no behavior change) |
chore |
Dependencies, config, tooling |
docs |
Documentation only |
Scope is optional — use when the change targets a specific area (e.g., feat(citations):, fix(auth):).
Commit Workflow
- Run
git diff --stagedto review all staged changes - Read files for context if needed; look for related issue numbers
- Write the commit message to
COMMIT_MESSAGE.md - Run
git commit -F COMMIT_MESSAGE.md - Delete
COMMIT_MESSAGE.md
Rules
- Subject line: max 72 chars, imperative mood ("Add" not "Added")
- Include
Fixes #NorCloses #Nin Summary when applicable - Always list all changed files in the Files Changed section
- Omit "Testing" and "Breaking Changes" sections — not used in this repo
- New components: document with bullet points describing key features
- Enhanced components: explain what changed and why
- Always include the Co-authored-by trailer as the last line of the commit body:
Co-authored-by: Copilot <[email protected]>
Constraints
- ❌ Don't stage files (
git add) — that's the caller's job - ❌ Don't push (
git push) — user decides when to push - ❌ Don't modify code — only create commits during the commit workflow
Install committing-code in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the committing-code skill do?
Provides commit message format and workflow for this repository. Use when creating git commits, reviewing staged changes, or generating conventional commit messages.
How do I install the committing-code skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the committing-code skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic