<< All versions

Skill v1.0.0

currentAutomated scan100/100
atul-labs/dmag/finishing-branch
──Details
PublishedSeptember 27, 2026 at 08:32 AM
Content Hashsha256:dc5ddd1ba61c526f...
Git SHA
──Files
Files (1 file, 1.3 KB)
SKILL.md1.3 KBactive
SKILL.md · 43 lines · 1.3 KB

version: "1.0.0" name: finishing-branch description: Finish a development branch - decide how to integrate work. Use when implementation is complete, tests pass, and you need to merge, create a PR, or clean up.


Finishing a Branch

Implementation done, tests pass. Now decide how to integrate.

Process

  1. Verify - invoke the verification skill if not already done
  2. Review the diff - git diff main...HEAD to see all changes from this branch
  3. Present options to user:
  • Merge directly - if it's a solo project or user has merge rights
  • Create PR - with title, summary, and test plan
  • Squash and merge - if many small commits should be one clean commit
  • Clean up only - user will handle integration themselves
  1. Execute the chosen option
  2. Update `.dmag/` - status.md, session summary, clean up wip.md

PR Format

markdown
## Summary
1-3 bullet points describing what changed and why
## Test plan
-[ ] Verification steps
-[ ] Edge cases checked
Generated with dmag

Rules

  • Always show the full diff before asking how to integrate
  • Never force-push to main/master without explicit user approval
  • Never skip hooks (--no-verify) unless user explicitly asks
  • If the branch has merge conflicts, resolve them before proceeding
  • Log the integration action to .dmag/audit.log
All versions