Git Workflow

Commit and PR standards

hongmaple0820 3012705 735 B Updated

File contents

Git Workflow

Clean, traceable history.

Commit Format

<type>: <description>

[optional body]

Types: feat, fix, refactor, test, docs, chore, perf, ci

Commit Rules

  • One logical change per commit
  • Describe WHY not HOW
  • No WIP commits
  • Tests must pass

PR Workflow

  1. Create feature branch
  2. Make commits with messages
  3. Run all tests
  4. Push with -u
  5. Create PR with summary
  6. Wait for review
  7. Address feedback
  8. Merge when approved

PR Description

  • Summary of changes
  • Link to issue/PRD
  • Test plan checklist
  • Screenshots (if UI)

Branch Names

  • feature/xxx - new features
  • fix/xxx - bug fixes
  • refactor/xxx - code cleanup

hongmaple0820/scale-engine/tree/main/.scale/skills/git-workflow commit 3012705db6

Frequently asked questions

npx skillmds@latest add hongmaple0820/git-workflow