agentleFS
devnomad-bytedevnomad-byte/techneering/skills/ship/SKILL.md

ship

Skill13 starsChanged 5 months agoMITView on GitHub

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion by presenting structured options for merge, PR, or cleanup

  • Commits and pushes

179 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use cso, setup-deploy and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ayudaySkill

    cso

    Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".

    Also in 10 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 10 projects that use this

  • AICreator-WindSkill

    document-release

    技术作家工具。更新项目文档。

    Also in 10 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 11 projects that use this

  • AICreator-WindSkill

    freeze

    文件编辑锁定工具。限制文件编辑范围。

    Also in 14 projects that use this

  • CodeWithBehnamSkill

    setup-browser-cookies

    Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.

    Also in 9 projects that use this

  • +2 more from AICreator-Wind
  • +1 more from ayuday

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 162 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    If tests fail: Stop. Report failures. Don't proceed.

    line 28
  2. Distinctive:

    Don't cleanup worktree.

    line 73
  3. Distinctive:

    Never proceed with failing tests

    line 129
  4. Distinctive:

    Never merge without verifying tests on result

    line 130
  5. Distinctive:

    Never delete work without typed "discard" confirmation

    line 131
  6. Distinctive:

    Never force-push without explicit user request

    line 132
  7. Distinctive:

    Always present exactly 4 options

    line 133

“Common” is measured: kept by at least 6 in 10 of the 162 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Finishing a Development Branch

Guide completion of development work. Verify tests, present clear options, execute the chosen workflow, clean up.

Core Principle

VERIFY TESTS → PRESENT OPTIONS → EXECUTE CHOICE → CLEAN UP.
No merge without verification. No discard without confirmation.

Steps

Step 1: Verify Tests

Before presenting options, verify tests pass:

# Run project's test suite
npm test / cargo test / pytest / go test ./...

If tests fail: Stop. Report failures. Don't proceed. If tests pass: Continue to Step 2.

Step 2: Determine Base Branch

git merge-base HEAD main 2>/dev/null || git merge-base HEAD master 2>/dev/null

Step 3: Present Options

Present exactly these 4 options:

Implementation complete. What would you like to do?

1. Merge back to <base-branch> locally
2. Push and create a Pull Request
3. Keep the branch as-is (I'll handle it later)
4. Discard this work

Which option?

Step 4: Execute Choice

Option 1: Merge Locally

git checkout <base-branch>
git pull
git merge <feature-branch>
<test command>
git branch -d <feature-branch>

Then: Cleanup worktree

Option 2: Push and Create PR

git push -u origin <feature-branch>
gh pr create --title "<title>" --body "<body>"

Then: Cleanup worktree

Option 3: Keep As-Is

Report: "Keeping branch <name>. Worktree preserved at <path>." Don't cleanup worktree.

Option 4: Discard

Confirm first: Require typed "discard" confirmation. Then: Delete branch + cleanup worktree. Also: Ask user if they want to remove the change directory from techneering/changes/. If yes, move to techneering/archive/YYYY-MM-DD-<name>-discarded/.

Step 5: Cleanup Worktree

For Options 1, 2, 4:

git worktree list | grep $(git branch --show-current)
# If in worktree:
git worktree remove <worktree-path>

Red Flags

ThoughtReality
"Tests passed before, no need to rerun"Must rerun before merge — context may have changed
"Discard without confirmation"Discard is irreversible — must have typed confirmation
"Force push is fine"Force push may overwrite others' work unless the user explicitly asks
"Skip merge, push directly"Unmerged branches may have hidden conflicts
"Not enough options"Exactly 4 options — don't add or remove any

Common Rationalizations

ExcuseReality
"Tests should pass""Should" is not verification — run to confirm
"Small changes don't need a PR"Small changes can still conflict — PR is a safety net
"Just force push"Not allowed unless the user explicitly requests it
"Discard without confirmation"Discard is irreversible — must confirm
"Worktree doesn't need cleanup"Leftover worktrees cause confusion and disk bloat

Quick Reference

DimensionKey point
PreconditionAll tests must pass
4 optionsMerge / PR / Keep / Discard
ConfirmationDiscard requires typed "discard"
Worktree cleanupOptions 1/2/4 clean up, option 3 keeps
ForbiddenUnconfirmed discard / force push / skipping tests

Next Step

When done:

  • Normal case (options 1 or 2) → invoke tn:vault to archive the change
  • User chose keep (option 3) → end, wait for user follow-up
  • User chose discard (option 4) → clean change directory (move to archive or delete) → end
  • User requests stop → end the current flow

Guardrails

  • Never proceed with failing tests
  • Never merge without verifying tests on result
  • Never delete work without typed "discard" confirmation
  • Never force-push without explicit user request
  • Always present exactly 4 options
  • Announce at start: "I'm using the tn:ship skill to complete this work."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.