agentsclimarketplace

Git workflow

Skill RAM-Companies/ram-claude-plugin/skills/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

Install
npx -y skills add RAM-Companies/ram-claude-plugin --skill git-workflow

Assembled 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:

TypeUse for
featNew user-facing feature or capability
fixBug fix
choreTooling, deps, config, non-functional changes
refactorCode restructuring with no behavior change
docsDocumentation only
testAdding or fixing tests only
perfPerformance 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:

ScopeCovers
dbSupabase migrations, schema, RLS policies
authAuthentication, session handling
uiShared components, design tokens, styles
apiEdge Functions, service layer, Supabase queries
adminAdmin panel features
hooksClaude Code plugin hooks
skillsClaude 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

  1. Confirm the type and scope with the user if not already clear.

  2. Create the branch from dev:

    git checkout dev && git pull origin dev
    git checkout -b <type>/<description>
    
  3. Confirm the branch was created: git branch --show-current.

Step-by-step: committing changes

  1. Show the diff so nothing unexpected is staged:

    git diff --staged --stat
    git status
    
  2. Stage the relevant files. Stage specific files by name — avoid git add . which can pick up .env, generated files, or unrelated changes.

  3. 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 a BREAKING CHANGE: footer
  4. Commit:

    git commit -m "feat(scope): description"
    
  5. Before pushing, run the /ram:verify-build skill (tsc --noEmit + npm test) and fix any failures it surfaces.

Step-by-step: opening a PR

  1. Push the branch:

    git push -u origin <branch-name>
    
  2. PR targets dev, not main. main is the production branch; only dev merges into it on release.

  3. PR title must follow conventional commit format (same as a commit message):

    feat(db): add status column to quotes table
    
  4. 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
  5. Request review before merging. Do not self-merge without a review except for chore or docs branches.

Common mistakes to avoid

  • Branching from main instead of dev
  • 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 main directly without going through dev
  • Past-tense commit descriptions ("added", "fixed")

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.