finishing-a-development-branch SKILL.md skillA
finishing-a-development-branch from ganyuanran/aegis is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ganyuanran/aegis/finishing-a-development-branch@git:20261010.8d5b88ePins git:20261010.8d5b88e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ganyuanran/aegis
- Path
skills/finishing-a-development-branch/SKILL.md- Versions recorded
- 6
- Latest version
- git:20261010.8d5b88e, committed Oct 10, 2026
- First version recorded
- Apr 30, 2026
- Size
- 5,602 bytes
- Repository stars
- 1,417
- License
- MIT
Use when verified work needs integration or cleanup of an existing task-created branch/worktree, or the user explicitly requests merge, PR, or branch lifecycle handling.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Finishing a Development Branch ## Overview Integration choice and checkout lifetime are separate. Verify first, mutate only task-owned resources, then prove what was removed or retained. **Core principle:** fresh evidence -> authorized integration -> ownership-aware cleanup -> Git/path readback. **Announce at start:** explain which branch/worktree lifecycle is being closed. ## Step 1: Environment and Ownership Detection Read the task's `TaskStartSnapshot` and current repository state. Record: - root, `HEAD`, branch/detached state, upstream divergence, and active Git ops; - staged/unstaged/untracked paths and the task-owned delta; - `git worktree list --porcelain`; - branch/worktree creator, task ownership, base branch, and cleanup trigger. Stop on conflicts, unexplained detached state, failed verification, dirty/untracked state in a cleanup target, or unknown ownership. Do not infer the base from the names `main` or `master`; use task records, repository authority, or explicit user direction. Never auto-stash, reset, clean, pull, rebase, amend, force-push, or bypass hooks. For a trusted host-managed detached checkout, follow the repository's approved …
Read the whole file at its exact version.
How to install
mdr add ganyuanran/aegis/finishing-a-development-branch@sha256:e731ca2008c78486The line at the top of this page pins the label git:20261010.8d5b88e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_aavh53fukbcbte7h)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Apr 30, 2026 and Oct 10, 2026, about one every 33 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261010.8d5b88e latest | 2026-10-10 | 8d5b88e | 5,602 B | A | view · diff |
| git:20260809.f62395b | 2026-08-09 | f62395b | 5,222 B | A | view · diff |
| git:20260731.818d42f | 2026-07-31 | 818d42f | 5,211 B | A | view · diff |
| git:20260723.88b8ec9 | 2026-07-23 | 88b8ec9 | 4,204 B | A | view · diff |
| git:20260510.b9bb317 | 2026-05-10 | b9bb317 | 4,202 B | A | view · diff |
| git:20260430.0f6a91b | 2026-04-30 | 0f6a91b | 4,250 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5602 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
ganyuanran/aegis · 1,417 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_aavh53fukbcbte7h GET https://markdownregistry.com/api/v1/resolve?ref=ganyuanran/aegis/finishing-a-development-branch GET https://markdownregistry.com/api/v1/blob/e731ca2008c7848654db2b76818b3be24269d0889ee1dd1cee81509f56a78271
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from ganyuanran/aegis
Every file in ganyuanran/aegis