Skip to content

oedokumaci/gale-shapley-algorithm / .agents/skills/commit

commit

Verified

Create well-structured git commits following conventional commit format. Use when the user asks to commit changes, create a commit, or save their work to git.

Commit Skill

Create commits following the project's conventional commit format.

Commit Format

<type>[(scope)]: Subject

Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, deps

Changelog types: build, deps, feat, fix, refactor

Process

  1. Run git status to see changes
  2. Run git diff --staged and git diff to understand changes
  3. Analyze all changes and draft commit message:
    • Summarize the nature (feat, fix, refactor, etc.)
    • Focus on "why" rather than "what"
    • Keep subject under 72 characters
  4. Stage specific files (avoid git add -A)
  5. Create commit with conventional format
  6. Verify with git status

Guidelines

  • Never commit sensitive files (.env, credentials)
  • Stage specific files rather than using git add -A
  • One logical change per commit
  • Subject should complete: "If applied, this commit will..."
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 319kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 319kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 319kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 319kUpdated Claude CodeCodexVerifiedInstall