agentleFS
leaf76leaf76/agent-skills/review-fix-ship/SKILL.md

review-fix-ship

Skill0 starsChanged 3 months agoMITView on GitHub

Coordinate end-to-end repository delivery: inspect local changes, review and repair actionable issues, verify the result, then commit, push, open a PR, and deploy through the project-approved release path. Use when the user explicitly wants one guarded flow such as review-and-ship, fix-and-deploy, take the current diff to release, or move a branch through validation and deployment. Stop and ask before unapproved production deploys, unclear environments, risky release actions, or missing acceptance criteria.

The file

Show its rules and text

We split this skill into the rules it gives an agent

38 rules. About 0 are common, 28 are distinctive, and 10 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈28

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill as an orchestration layer for repository work that must move from local changes to a releasable outcome.

    line 17
  2. Distinctive:

    If the user explicitly requested deploy and named the target environment in the current request or current release lane, treat that as …

    line 25
  3. Very specific:

    Do not ask for deploy approval again after verification unless the scope, final diff, deploy path, target environment, database lane, …

    line 26
  4. Distinctive:

    If the user asks for an end-to-end flow but the environment, blast radius, or success criteria are unclear, stop and ask before modifying …

    line 27
  5. Very specific:

    Read references/deploy-discovery.md when the deployment path is not already obvious from the repository.

    line 34
  6. Distinctive:

    If the worktree is dirty in ways that could create merge or release risk, stop and ask instead of force-cleaning or overwriting changes.

    line 36
  7. Very specific:

    Use review-changes to review staged and unstaged changes before commit or push.

    line 41
  8. Distinctive:

    If the user asked for shipping but not for a review, still perform a focused release review before continuing.

    line 43
  9. Very specific:

    Use fix-bug when the task is a bug, regression, broken behavior, or failure that needs RCA-first handling.

    line 47
  10. Very specific:

    Use fix-lint when the blockers are lint, formatting, or type-check issues.

    line 48
  11. Distinctive:

    Keep fixes scoped to actionable findings that block the requested release lane.

    line 50
  12. Distinctive:

    Run deterministic tests or the smallest reliable automated checks that match the risk of the change.

    line 54
  13. Distinctive:

    If the diff changes migrations, schema, repository-layer SQL, or DB-backed invariants, verify the target database state explicitly instead …

    line 57
  14. Distinctive:

    If automation is not practical, provide a reproducible manual verification plan with concrete scenarios, inputs, and actual outcomes.

    line 59
  15. Distinctive:

    Do not move to commit, push, or deploy while verification is missing, red, or materially incomplete.

    line 60
  16. Distinctive:

    Only commit, push, or open a PR when the user asked for shipping or explicitly approved it.

    line 64
  17. Very specific:

    Prefer github:yeet or yeet for the branch, commit, push, and draft-PR flow.

    line 65
  18. Distinctive:

    Keep commit messages and PR text aligned with the actual diff and validation evidence.

    line 66
  19. Distinctive:

    If final review still finds blocking issues, stop before publishing.

    line 67
  20. Distinctive:

    Use the repository's existing release path instead of inventing a new one.

    line 71
  21. Distinctive:

    Prefer an existing deploy command, release script, CI workflow, or platform-specific skill.

    line 72
  22. Very specific:

    Use cloudflare-deploy for Cloudflare Workers, Pages, or related Cloudflare products.

    line 73
  23. Very specific:

    If the repository deploy path is unclear, read references/deploy-discovery.md, inspect the repo, and stop if the target path is still …

    line 74
  24. Distinctive:

    Never deploy to production without explicit user approval in the current release lane.

    line 75
  25. Distinctive:

    If the release includes database changes, perform the database lane explicitly: discover pending remote migrations, apply them through the …

    line 77
  26. Distinctive:

    When the code deploy and database rollout are separate commands, do not assume one implies the other.

    line 78
  27. Distinctive:

    When a deploy changes infrastructure, data, config, or permissions, state the blast radius and rollback path before running it.

    line 79
  28. Distinctive:

    Call out any approvals that were required, obtained, or still missing.

    line 86
  29. Distinctive:

    Treat this skill as the parent controller for full release-lane work.

    line 90
  30. Distinctive:

    Keep existing AGENTS.md and project-specific guardrails in force at all times.

    line 100
  31. Distinctive:

    Do not assume the user wants to commit, push, or deploy just because they asked for a review or a fix.

    line 101
  32. Distinctive:

    Do not auto-deploy after a successful push unless the repository's approved path does that by design and the user approved the target …

    line 102
  33. Distinctive:

    Do not require duplicate approval at the final deploy step when the user already approved that target environment for the same release lane …

    line 103
  34. Distinctive:

    Do not ship schema-dependent code to production while remote migrations are still pending or unverified.

    line 104
  35. Distinctive:

    Do not ship if there are unresolved blocking findings, unclear blast radius, or missing rollback notes for risky release actions.

    line 105
  36. Distinctive:

    Prefer stopping with a precise explanation over guessing the deploy path or environment.

    line 106
  37. Very specific:

    Read references/gates.md before commit, push, PR, or deploy actions.

    line 110
  38. Very specific:

    Read references/deploy-discovery.md when the repository's release path is not obvious.

    line 111

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Review Fix Ship

Overview

Use this skill as an orchestration layer for repository work that must move from local changes to a releasable outcome. Reuse existing skills for review, bug fixing, lint repair, git publishing, and platform-specific deploys instead of duplicating their detailed procedures.

Workflow

1. Clarify the target release lane

  • Confirm the requested stop point: review only, review + fix, ready to commit, push + PR, deploy, or full lane.
  • Confirm acceptance criteria, target environment, and whether production deploy is explicitly approved.
  • If the user explicitly requested deploy and named the target environment in the current request or current release lane, treat that as deploy approval for the same final diff, deploy path, and target environment.
  • Do not ask for deploy approval again after verification unless the scope, final diff, deploy path, target environment, database lane, infrastructure/config/permission blast radius, or rollback risk changes.
  • If the user asks for an end-to-end flow but the environment, blast radius, or success criteria are unclear, stop and ask before modifying or shipping anything.

2. Inspect repository readiness

  • Confirm the working directory is inside a git repository before proceeding.
  • Inspect branch, remotes, worktree state, and any staged, unstaged, or unrelated changes.
  • State which existing changes will remain untouched and which files are in scope.
  • Read references/deploy-discovery.md when the deployment path is not already obvious from the repository.
  • Inspect whether the diff changes schema, migrations, repositories, or data-access code that may require a database rollout step.
  • If the worktree is dirty in ways that could create merge or release risk, stop and ask instead of force-cleaning or overwriting changes.

3. Review the current diff

  • For non-trivial work, keep the execution discipline from $dev-workflow: clarify, plan, worktree check, validation-first implementation, and final summary.
  • Use review-changes to review staged and unstaged changes before commit or push.
  • Prioritize correctness, security, compatibility, and missing verification over style commentary.
  • If the user asked for shipping but not for a review, still perform a focused release review before continuing.

4. Route fixes to the right helper skill

  • Use fix-bug when the task is a bug, regression, broken behavior, or failure that needs RCA-first handling.
  • Use fix-lint when the blockers are lint, formatting, or type-check issues.
  • Apply direct edits only when the fix is small, local, and does not need a dedicated helper workflow.
  • Keep fixes scoped to actionable findings that block the requested release lane. Do not broaden scope into unrelated cleanup.

5. Verify before shipping

  • Run deterministic tests or the smallest reliable automated checks that match the risk of the change.
  • For bug work, preserve the reproduce -> root cause -> fix -> regression verification order.
  • For release work touching business logic, shared helpers, public contracts, auth, permissions, or data mutation, do not skip meaningful verification.
  • If the diff changes migrations, schema, repository-layer SQL, or DB-backed invariants, verify the target database state explicitly instead of assuming code deploy is sufficient.
  • For database-backed releases, check whether remote migrations are pending before deploy, and treat pending migrations as a release checklist item rather than an optional follow-up.
  • If automation is not practical, provide a reproducible manual verification plan with concrete scenarios, inputs, and actual outcomes.
  • Do not move to commit, push, or deploy while verification is missing, red, or materially incomplete.

6. Ship through the approved git path

  • Only commit, push, or open a PR when the user asked for shipping or explicitly approved it.
  • Prefer github:yeet or yeet for the branch, commit, push, and draft-PR flow.
  • Keep commit messages and PR text aligned with the actual diff and validation evidence.
  • If final review still finds blocking issues, stop before publishing.

7. Deploy through the approved platform path

  • Use the repository's existing release path instead of inventing a new one.
  • Prefer an existing deploy command, release script, CI workflow, or platform-specific skill.
  • Use cloudflare-deploy for Cloudflare Workers, Pages, or related Cloudflare products.
  • If the repository deploy path is unclear, read references/deploy-discovery.md, inspect the repo, and stop if the target path is still ambiguous.
  • Never deploy to production without explicit user approval in the current release lane.
  • Reuse earlier approval from the same release lane when the target environment, final diff, deploy path, database lane, blast radius, and rollback risk still match what was approved.
  • If the release includes database changes, perform the database lane explicitly: discover pending remote migrations, apply them through the approved path, and verify the remote database is caught up before calling the deploy complete.
  • When the code deploy and database rollout are separate commands, do not assume one implies the other; run and verify both lanes.
  • When a deploy changes infrastructure, data, config, or permissions, state the blast radius and rollback path before running it.

8. Report the result clearly

  • State where the flow stopped: review complete, fixes complete, committed, pushed, PR opened, deployed, or blocked.
  • Summarize what changed, what was verified, and what remains risky or unverified.
  • Include rollback notes when code was published or deployed.
  • Call out any approvals that were required, obtained, or still missing.

Routing

  • Treat this skill as the parent controller for full release-lane work.
  • Reuse $dev-workflow discipline for non-trivial engineering changes.
  • Reuse review-changes for release review.
  • Reuse fix-bug for RCA-first bug repair.
  • Reuse fix-lint for lint, formatting, and type-check blockers.
  • Reuse github:yeet or yeet for git publishing and PR creation.
  • Reuse cloudflare-deploy when the deployment target is Cloudflare.

Guardrails

  • Keep existing AGENTS.md and project-specific guardrails in force at all times.
  • Do not assume the user wants to commit, push, or deploy just because they asked for a review or a fix.
  • Do not auto-deploy after a successful push unless the repository's approved path does that by design and the user approved the target environment.
  • Do not require duplicate approval at the final deploy step when the user already approved that target environment for the same release lane and no material deploy risk changed.
  • Do not ship schema-dependent code to production while remote migrations are still pending or unverified.
  • Do not ship if there are unresolved blocking findings, unclear blast radius, or missing rollback notes for risky release actions.
  • Prefer stopping with a precise explanation over guessing the deploy path or environment.

References

  • Read references/gates.md before commit, push, PR, or deploy actions.
  • Read references/deploy-discovery.md when the repository's release path is not obvious.

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.