Git workflow
Start or finish a git feature branch following RAM branching conventions and conventional commits. Use when starting new work, committing changes, or preparing a PR.From its SKILL.md
npx -y skills add RAM-Companies/ram-claude-plugin --skill git-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.3 KB, as published. Nobody here has run it
Follow RAM's branching and commit conventions end-to-end. Work through the relevant steps below based on where the user is in their workflow.
Branch naming
All branches must follow this pattern:
<type>/<short-description>
Types and when to use them:
| Type | Use for |
|---|---|
feat | New user-facing feature or capability |
fix | Bug fix |
chore | Tooling, deps, config, non-functional changes |
refactor | Code restructuring with no behavior change |
docs | Documentation only |
test | Adding or fixing tests only |
perf | Performance improvement |
The description is lowercase, hyphen-separated, ≤5 words. Examples:
feat/add-quote-status-column
fix/notification-service-null-check
chore/upgrade-supabase-js-v2
refactor/extract-invoice-service
Never branch from main for feature work. Always branch from dev:
git checkout dev
git pull origin dev
git checkout -b feat/your-feature-name
If dev does not exist yet, confirm the base branch with the user before continuing.
Commit message format
RAM uses Conventional Commits. Every commit must follow:
<type>(<scope>): <description>
[optional body]
[optional footer]
Type
Same values as branch types: feat, fix, chore, refactor, docs, test, perf.
Scope
Scope is the area of the codebase affected. Use one of these established scopes, or omit if the change is cross-cutting:
| Scope | Covers |
|---|---|
db | Supabase migrations, schema, RLS policies |
auth | Authentication, session handling |
ui | Shared components, design tokens, styles |
api | Edge Functions, service layer, Supabase queries |
admin | Admin panel features |
hooks | Claude Code plugin hooks |
skills | Claude Code plugin skills |
Examples:
feat(db): add status column to quotes table
fix(api): handle null profile in notification service
chore(ui): upgrade shadcn/ui button component
refactor(admin): extract invoice list into service layer
Description
- Lowercase, imperative mood ("add", "fix", "remove" — not "added", "fixes", "removing")
- No period at the end
- ≤72 characters on the first line
Breaking changes
Add ! after the type/scope for a breaking change, and explain in the footer:
feat(db)!: rename quotes table to proposals
BREAKING CHANGE: all references to `quotes` must be updated to `proposals`
Step-by-step: starting new work
-
Confirm the type and scope with the user if not already clear.
-
Create the branch from
dev:git checkout dev && git pull origin dev git checkout -b <type>/<description> -
Confirm the branch was created:
git branch --show-current.
Step-by-step: committing changes
-
Show the diff so nothing unexpected is staged:
git diff --staged --stat git status -
Stage the relevant files. Stage specific files by name — avoid
git add .which can pick up.env, generated files, or unrelated changes. -
Compose the commit message following the format above. Check:
- Type is correct for the actual change
- Scope is present if the change is localized
- Description is imperative, lowercase, ≤72 chars
- If any public API or behavior changed, include
!and aBREAKING CHANGE:footer
-
Commit:
git commit -m "feat(scope): description" -
Before pushing, run the
/ram:verify-buildskill (tsc --noEmit+npm test) and fix any failures it surfaces.
Step-by-step: opening a PR
-
Push the branch:
git push -u origin <branch-name> -
PR targets
dev, notmain.mainis the production branch; onlydevmerges into it on release. -
PR title must follow conventional commit format (same as a commit message):
feat(db): add status column to quotes table -
PR description should include:
- What changed and why (not a list of files)
- Migration steps if there's a database change
- Screenshot or Loom if there's a UI change
- Link to the relevant ticket if one exists
-
Request review before merging. Do not self-merge without a review except for
choreordocsbranches.
Common mistakes to avoid
- Branching from
maininstead ofdev - Generic descriptions:
fix/bug,feat/update,chore/changes - Commit messages that describe the diff rather than the intent: "update types.ts" vs "fix(db): regenerate types after migration"
- Staging
.env,node_modules, or generated files - Merging to
maindirectly without going throughdev - Past-tense commit descriptions ("added", "fixed")