agentleFS
MicrosoftKnown publishermicrosoft-foundry/foundry-agent-webapp/.github/skills/committing-code/SKILL.md

committing-code

Skill124 starsChanged 7 months agoMITView on GitHub

Provides commit message format and workflow for this repository. Use when creating git commits, reviewing staged changes, or generating conventional commit messages.

  • Commits and pushes

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run git diff --staged to review all staged changes

    line 48
  2. Distinctive:

    Read files for context if needed.

    line 49
  3. Very specific:

    Write the commit message to COMMIT_MESSAGE.md

    line 50
  4. Distinctive:

    Always list all changed files in the Files Changed section

    line 58
  5. Very specific:

    Always include the Co-authored-by trailer as the last line of the commit body: Co-authored-by: Copilot …

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 <223556219+Copilot@users.noreply.github.com>

Type Prefixes

TypeWhen to Use
featNew feature or capability
fixBug fix
refactorCode restructuring (no behavior change)
choreDependencies, config, tooling
docsDocumentation only

Scope is optional — use when the change targets a specific area (e.g., feat(citations):, fix(auth):).

Commit Workflow

  1. Run git diff --staged to review all staged changes
  2. Read files for context if needed; look for related issue numbers
  3. Write the commit message to COMMIT_MESSAGE.md
  4. Run git commit -F COMMIT_MESSAGE.md
  5. Delete COMMIT_MESSAGE.md

Rules

  • Subject line: max 72 chars, imperative mood ("Add" not "Added")
  • Include Fixes #N or Closes #N in 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 <223556219+Copilot@users.noreply.github.com>

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

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.