Skip to content

ericrisco/rsc-harness / skills/git-workflow

git-workflow

Verified

Use when naming or scoping a branch, writing or fixing a commit message, picking the gitmoji for a commit, untangling history (rebase versus merge versus squash), or cutting a versioned release — the portable git-convention layer for any repo. Covers gitmoji + Conventional Commits, SemVer tags, branch hygiene, force-push safety and gh pr/release mechanics. NOT the land-it decision and pre-ship checklist (that is `ship`), NOT an isolated checkout before coding (that is `worktrees`), NOT CI/CD release automation (that is `deployment`).

FileKindSize
SKILL.mdskill md13.9 KB
evals/README.mdmarkdown808 B
evals/cases.yamlconfig3.4 KB
references/gitmoji.mdmarkdown8.6 KB
references/interactive-rebase.mdmarkdown3.5 KB

evals/cases.yaml

View on GitHub
skill: git-workflow

should_trigger:
  - prompt: "Is this commit message conventional? 'fixed the login bug'"
    why: Core Conventional Commits grammar check — past tense, no type, capitalized; the skill rewrites it.
  - prompt: "Should I rebase or merge this feature branch before opening the PR?"
    why: History-strategy decision — rebase private / merge shared — owned by the hygiene decision table.
  - prompt: "My git log is full of wip commits, clean it up before review"
    why: Non-obvious phrasing; routes to squash/interactive-rebase to collapse scratch commits.
  - prompt: "What version should this release be — we added a new endpoint and a breaking config change?"
    why: SemVer bump derived from the commit log; breaking change forces MAJOR.
  - prompt: "Limpia el historial y deja los commits en formato convencional antes del PR"
    why: Spanish trigger covering history cleanup plus conventional-commit formatting.
  - prompt: "Name a branch for the OAuth PKCE work"
    why: Branch-naming convention — feat/ prefix plus kebab slug from intent.
  - prompt: "Which gitmoji goes on this commit — I deleted a deprecated module"
    why: Gitmoji selection by intention (🔥 remove code, not ♻️ refactor); the commit-grammar layer owns the emoji.
  - prompt: "Mi commitlint rechaza el commit por el emoji delante del type"
    why: Spanish; the strict-parser escape hatch (widen headerPattern or move the emoji behind the header) lives in this skill.
  - prompt: "Tag v2.1.0 and write the release notes"
    why: Release mechanics — annotated tag plus gh release create --generate-notes.

should_not_trigger:
  - prompt: "I'm done and verified, land this work into main"
    route_to: ship
    why: The land/merge decision and pre-ship safety checklist are ship's phase, not the conventions layer.
  - prompt: "Set up an isolated checkout so I don't dirty main before I start coding"
    route_to: worktrees
    why: Workspace isolation up front, before any code is touched.
  - prompt: "Write a GitHub Actions workflow that publishes a release on tag push"
    route_to: deployment
    why: CI/CD release automation, not the manual/local release act.
  - prompt: "Review this diff for bugs before we merge"
    route_to: review
    why: Adversarial diff reading, not git mechanics.
  - prompt: "Containerize the app and deploy it to Coolify"
    route_to: deployment
    why: Build and deploy mechanics to a platform.

capability:
  - scenario: >
      A private feature branch has 4 messy commits: one adds a feature, one removes a deprecated
      config flag (a breaking change), and two are "wip". Produce (a) a clean conventional-commit
      plan, (b) the correct semver bump for the next release, and (c) the gh release create command.
    must_include:
      - Collapses the two "wip" commits via squash or fixup and explains why (one meaningful entry in main).
      - Identifies a feat commit and a BREAKING CHANGE footer written in uppercase.
      - Every proposed commit message opens with a gitmoji (✨ for the feature, 💥 for the breaking removal) before the conventional header.
      - Bump is MAJOR because of the breaking change, with a tag of the form vX.0.0.
      - Uses gh release create vX.0.0 --generate-notes (or an equivalent that produces notes).
      - Uses git push --force-with-lease (not bare --force) for the post-rebase push.
      - Does NOT add a Claude Co-Authored-By or "Generated with" footer; authorship stays Eric.
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall