Commit

From platformplatform/PlatformPlatform · View interactive version

Commit is an AI agent skill from the GitHub repository platformplatform/PlatformPlatform. Commit session changes to git. Identify files from session context, ask user pick message, run validation only if needed. Use when user want commit / save / land changes.

How to use this skill

Skill file

Commit Workflow

Asked commit now != permission for future commits. Each commit needs explicit user instruction. No amend, revert, push without explicit ask.

Speed critical. No slow commands unless changes warrant.

Identify Files

Translations

Frontend changes touching user-facing strings: inspect .po files for missing translations and translate them. Missing keys: flag user; don't commit until resolved.

Validation (judgment)

Skip if build / test / lint / format / aspire-restart / e2e already ran clean this session on same files. No re-run, no offer.

When need:

Run build first:

After build, parallel (--no-build where applicable):

Judge target by file (project / manifest / lock files affect owning build, even when extension non-obvious).

Ask User

Simple, focused commit: propose one message, commit.

Complex (multiple unrelated changes, doesn't fit one line, validation choices needed, file set ambiguous): use AskUserQuestion - 2-4 message options + conditionals in one call. No back-and-forth. Follow up only on "Other" or unexpected input.

No conventional commit prefixes (feat:, fix:, docs:, chore:).

Conditional questions:

Stage and Commit

Stage explicit files. Never git add -A or git add ..


Asked commit now != permission for future commits.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.