agentleFS
nodealchemynodealchemy/powernode-platform/.claude/skills/commit/SKILL.md

commit

Skill4 starsChanged 18 days agoMITView on GitHub

Create staged logical commits grouped by concern

188 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use validate-plan, act-on-feedback and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • shawn-dumasSkill

    validate-plan

    Validate an orchestration plan after pre-flight certification. Runs adversarial review, deep review (verify prompt data against codebase), and PoC gate for risky approaches. Auto-invoked by orchestrate-* skills at Step 8.

    Also in 5 projects that use this

  • MicrosoftSkill

    act-on-feedback

    Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

    Also in 3 projects that use this

  • decocmsSkill

    add-mcp-tools

    Guide for adding new MCP tools with consistent patterns for schemas, tool definitions, registry updates, and Better Auth integration

    Also in 3 projects that use this

  • MicrosoftSkill

    generate-run-commands

    Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.

    Also in 3 projects that use this

  • mitsuhikoSkill

    oebb-scotty

    Austrian rail travel planner (ÖBB Scotty). Use when planning train journeys in Austria, checking departures/arrivals at stations, or looking for service disruptions. Covers ÖBB trains, S-Bahn, regional trains, and connections to neighboring countries.

    Also in 3 projects that use this

  • mitsuhikoSkill

    pi-share

    Load and parse session transcripts from shittycodingagent.ai/buildwithpi.ai/buildwithpi.com/pi.dev (pi-share) URLs. Fetches gists, decodes embedded session data, and extracts conversation history.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. 0 are common, 7 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 168 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create logical, grouped commits from all current changes.

    line 10
  2. Distinctive:

    Before analyzing changes, verify the working state:

    line 14
  3. Very specific:

    If any submodule shows a + prefix (modified pointer), note it — this must be committed after the submodule's internal commits.

    line 20
  4. Distinctive:

    Run these commands in parallel:

    line 24
  5. Distinctive:

    Before creating any commits:

    line 33
  6. Very specific:

    Extension file leak: Check git status output for any files under extensions/*/ staged in the parent repo.

    line 35
  7. Very specific:

    If found: Unstage them (git reset HEAD extensions/...) and commit inside the submodule instead

    line 36
  8. Very specific:

    Ruby syntax gate: If there are staged .rb files, verify: git diff --cached --name-only -- '*.rb' | head -5 | xargs -I{} ruby -c {}

    line 37
  9. Very specific:

    TypeScript gate: If there are staged .ts/.tsx files, verify: cd frontend && npx tsc --noEmit 2>&1 | tail -5

    line 38
  10. Distinctive:

    When changes span multiple repos, group each submodule's changes separately from core.

    line 49
  11. Very specific:

    After all submodule commits, update pointers in parent: git add extensions/<name>

    line 60
  12. Very specific:

    Commit with conventional format: type(scope): description

    line 66
  13. Very specific:

    If submodule pointers changed (from submodule commits above), include them in the appropriate parent commit or as a separate chore(<name>): …

    line 71
  14. Distinctive:

    If a hint/scope argument was provided, use it to guide the commit messages

    line 76
  15. Distinctive:

    Run these in parallel:

    line 80

“Common” is measured: kept by at least 6 in 10 of the 168 edited versions of this file we could read. “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

Staged Commit Workflow

Create logical, grouped commits from all current changes. Follow this process exactly:

Step 0: Verify CWD & Submodule State

Before analyzing changes, verify the working state:

  1. pwd — confirm you are in the project root
  2. git rev-parse --show-toplevel — confirm parent repo identity
  3. git submodule status — check all submodule pointers

If any submodule shows a + prefix (modified pointer), note it — this must be committed after the submodule's internal commits.

Step 1: Analyze Changes

Run these commands in parallel:

  • git status — see all changed/untracked files in the parent repo
  • git diff --stat — see change summary for tracked files
  • git diff --cached --stat — see already-staged changes
  • for d in extensions/*/; do git -C "$d" status --short; done — changes in each extension submodule (the public ones and any private extension a maintainer has added)
  • git log --oneline -5 — see recent commit style

Step 1.5: Pre-commit Safety Scan

Before creating any commits:

  1. Extension file leak: Check git status output for any files under extensions/*/ staged in the parent repo. These MUST be committed inside their submodule, not the parent.
    • If found: Unstage them (git reset HEAD extensions/...) and commit inside the submodule instead
  2. Ruby syntax gate: If there are staged .rb files, verify: git diff --cached --name-only -- '*.rb' | head -5 | xargs -I{} ruby -c {}
  3. TypeScript gate: If there are staged .ts/.tsx files, verify: cd frontend && npx tsc --noEmit 2>&1 | tail -5

Step 2: Group Files by Concern

Group changed files by concern: one commit per logical change, keeping a fix or feature together with its migration, specs, and docs. Use these areas to spot unrelated changes that belong in separate commits, not as the commit boundaries themselves: migrations (db/migrate/), models, services, controllers and routes, frontend (frontend/src/), tests, seeds and config (db/seeds/, config/, .claude/, scripts/), documentation (docs/, *.md, only if explicitly changed).

When changes span multiple repos, group each submodule's changes separately from core.

Step 3: Create Commits

Submodules (commit FIRST if they have changes)

For each extension submodule with changes (iterate extensions/*/):

  1. git -C extensions/<name> rev-parse --show-toplevel — verify identity
  2. Group submodule changes by concern (backend vs frontend vs worker)
  3. Stage with git -C extensions/<name> add <specific-files>
  4. Commit with git -C extensions/<name> commit -m "type(scope): description"
  5. After all submodule commits, update pointers in parent: git add extensions/<name>

Parent repo

For each non-empty group:

  1. git add <specific-files> — NEVER use git add -A or git add .
  2. Commit with conventional format: type(scope): description
    • Types: feat, fix, refactor, test, chore, docs
    • Scope: backend, frontend, worker, config, db, or an extension name (e.g. system)
    • Description: concise, lowercase, no period

If submodule pointers changed (from submodule commits above), include them in the appropriate parent commit or as a separate chore(<name>): update submodule pointer commit.

Rules:

  • NO AI attribution from any model (no Co-Authored-By, no "Generated with")
  • NO git add -A or git add .
  • If a hint/scope argument was provided, use it to guide the commit messages

Step 4: Summary

Run these in parallel:

  • git log --oneline -10 — show parent repo commits
  • for d in extensions/*/; do echo "== $d =="; git -C "$d" log --oneline -5; done — show each extension's commits (if changes)

Show all commits created across all repos.

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.