agentleFS
zeroonethingzeroonething/ultraship/skills/complete/SKILL.md

complete

Skill1 starsChanged 3 months agoMITView on GitHub

Use when a release claims to satisfy its contract - runs the applicable completion gates, stores evidence, produces the release record, and makes it immutable, or returns the release to develop or iterate

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

18 rules. About 0 are common, 10 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    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:

    Verify, package, deploy or publish as authorized, record, and close one version.

    line 8
  2. Very specific:

    If implementation has not happened, report the unmet gates and route to /ultraship:develop.

    line 27
  3. Distinctive:

    No placeholder or fake behaviour is presented as real.

    line 54
  4. Distinctive:

    Every acceptance criterion passes.

    line 57
  5. Distinctive:

    No secrets are committed. Check, do not assume.

    line 71
  6. Very specific:

    Use ultraship:verification-before-completion before claiming anything passed.

    line 96
  7. Distinctive:

    Every evidence entry names the command and its result.

    line 98
  8. Very specific:

    If the project declares delivery_hooks in ultraship.yaml, do not deploy by hand — run ultraship deploy for the release.

    line 127
  9. Very specific:

    Update the changelog before running ultraship deploy.

    line 140
  10. Distinctive:

    Do not mark the release complete.

    line 148
  11. Very specific:

    Run ultraship state; confirm the release and its target mode.

    line 215
  12. Distinctive:

    Run the narrowest reliable validation, then widen.

    line 218
  13. Distinctive:

    Write release notes and update the changelog.

    line 221
  14. Distinctive:

    Verify the target environment.

    line 223
  15. Very specific:

    Write the completion record and pin it.

    line 224
  16. Very specific:

    Run ultraship transition RELEASED, ultraship validate, ultraship views.

    line 226
  17. Very specific:

    Run ultraship commit complete-release — last, once the record, its lock entry, and every declared version file are written, or the shipped …

    line 227
  18. Distinctive:

    Every applicable gate passed, and you saw it pass.

    line 236

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

/ultraship:complete

Verify, package, deploy or publish as authorized, record, and close one version.

Completion is evidence-based. A release is not complete because it feels complete. It is complete because commands were run and their output was seen.

Read first: shared/skill-contract.md, shared/release-contract.md, shared/commit-protocol.md.

Independent gate checks can be run in parallel through /ultraship:subagent when the developer has asked for it — shared/subagent-protocol.md has the signals. Nothing there changes what a gate requires, and the evidence is still recorded here.

Invocation: /ultraship:complete [product] [version].

Runs when

The workspace state is DEVELOPING or COMPLETING.

If implementation has not happened, report the unmet gates and route to /ultraship:develop. Do not begin a completion attempt that cannot succeed.

What this skill owns

  • The completion half of releases/<version>.yaml
  • .ultraship/products/<id>/evidence/<version>/
  • .ultraship/releases.lock
  • CHANGELOG.md and release notes in their normal locations

What this skill does not own

Scope, acceptance criteria, and requirements. If a gate fails because the contract is wrong rather than the code, stop and route to /ultraship:iterate.

You may fix release-blocking defects in the code directly. You may not change what the release promised in order to make it pass.

Completion gates

Build the applicable checklist from the contract, the product type, and the target mode. Run the narrowest reliable check first, then widen.

Product gates

  • The intended user or operational outcome actually works.
  • Everything in scope.included is present.
  • Everything in scope.excluded is still absent.
  • No placeholder or fake behaviour is presented as real.

Functional gates

  • Every acceptance criterion passes.
  • Critical workflows pass end to end.
  • Error behaviour is validated, not assumed.
  • Edge cases appropriate to the release's risk are covered.

Engineering gates

  • Automated tests pass.
  • Static analysis passes where configured.
  • The build succeeds.
  • Dependencies resolve.
  • Migrations apply, and roll back if that is claimed.

Security gates

  • Required security checks pass.
  • No secrets are committed. Check, do not assume.
  • Permissions match what the product definition says.
  • Sensitive data handling matches the product definition.

Operational gates

  • Configuration is present.
  • Health checks work.
  • Logging and observability exist as the contract describes.
  • Rollback or recovery is documented and plausible.

Delivery gates

  • The target artifact is produced.
  • Deployment or publication succeeded, where authorized.
  • Post-deployment smoke tests pass.
  • The version is tagged.
  • Release notes exist and the changelog is updated.

Truth gates

  • Canonical state is updated.
  • Evidence is stored.
  • Known limitations are recorded.
  • The released record is pinned.

Evidence, not assertion

Use ultraship:verification-before-completion before claiming anything passed.

Every evidence entry names the command and its result. "Looks good", "should work", and "tests pass" without output are not evidence — they are assertions wearing evidence's clothes.

evidence:
  tests:
    - npm test — 112 passing, 0 failing
  builds:
    - npm run build — exit 0
  reviews: []
  deployments: []
  health_checks: []

Store fuller command output under .ultraship/products/<id>/evidence/<version>/.

Honesty about deployment

delivery.target_mode states the intended mode. Achieve it or record what actually happened.

Never claim production-deployed or published when credentials, permissions, or access were unavailable. Record mode: release-ready, note the missing access under known_limitations, and tell the user what remains. A release-ready artifact is a complete release. A fabricated deployment is a lie that someone will discover during an incident.

If the project declares delivery_hooks in ultraship.yaml, do not deploy by hand — run ultraship deploy for the release. It runs the declared command for the contract's target_mode, exporting VERSION, PRODUCT, and MODE, captures stdout/stderr/exit under evidence/<version>/, and runs the optional smoke command on success. Fold its result into the record: the printed deployment_evidence line goes under evidence.deployments and health_check_evidence under evidence.health_checks. The exit code is the gate — a non-zero ultraship deploy means the deployment did not succeed, so record mode: release-ready, note it under known_limitations, and do not claim the deployed mode. When no hook is declared for the mode, deploy reports nothing to run and you deploy and record by hand as before. The ultraship CLI itself opens no network connection; the declared command is the project's own.

Update the changelog before running ultraship deploy. A good publish hook sources its release notes from the changelog (for example --notes "$(awk '/^## \[/{n++} n==1' CHANGELOG.md)"), so the notes must already exist when the hook runs. Avoid --generate-notes; it only lists merged PR titles and produces a threadbare release.

When a gate fails

Do not mark the release complete. Then:

  1. Name the exact gate that failed.
  2. Classify it: implementation defect, or contract defect.
  3. Preserve the evidence of the failure.
  4. Implementation defect → fix it here if it is release-blocking and small, otherwise return to /ultraship:develop.
  5. Contract, scope, or requirement defect → route to /ultraship:iterate.
  6. External dependency unavailable → pause safely with a checkpoint and record the blocker.

A failed completion attempt is a normal outcome. The release stays mutable and the record stays unwritten.

Recording the release

Once every applicable gate passes, add the completion half of the contract:

status: released
released_at: 2026-07-21T09:00:00Z
mode: release-ready
delivered: A freelancer records an invoice and marks it paid.
evidence:
  tests:
    - npm test — 112 passing, 0 failing
  builds:
    - npm run build — exit 0
  reviews: []
  deployments: []
  health_checks: []
known_limitations:
  - Single user only.
supersedes: null
next_recommended_version: 0.2.0
immutable: true

known_limitations is where honesty lives. Every real release has them. An empty list on a first release usually means they were not looked for.

Then pin the record. Its SHA-256 goes into .ultraship/releases.lock, and ultraship validate fails afterwards if the file changes. This is what makes immutable: true a fact rather than a wish. Corrections require a new version.

Finally, run ultraship transition RELEASED, then ultraship validate and ultraship views.

ultraship transition RELEASED finalizes the shipped version's state itself: it marks the version released in roadmap.yaml and archives the execution pointer to execution/archive/<version>.yaml, so no shipped version keeps reading execution_state: DEVELOPING. Do not hand-edit the roadmap status or the active pointer to match — the transition already did, and a manual edit only competes with it.

ultraship validate now mechanically enforces the invariants completion used to depend on you remembering: a released record must be marked released in the roadmap, no shipped version may still hold an execution pointer, and every file declared under version_files in ultraship.yaml must carry the release version. So do not re-verify these by hand — if any are contradictory, validate fails and names the contradiction. One consequence: if the project declares version_files, bump those files (for example package.json and the plugin manifests) to the release version before ultraship transition RELEASED, or validate will report the drift.

Process

  1. Run ultraship state; confirm the release and its target mode.
  2. Run ultraship transition COMPLETING.
  3. Build the gate checklist from the contract.
  4. Run the narrowest reliable validation, then widen.
  5. Fix release-blocking defects; route scope changes to /ultraship:iterate.
  6. Produce the artifact.
  7. Write release notes and update the changelog.
  8. Deploy or publish, if authorized — ultraship deploy when a hook is declared.
  9. Verify the target environment.
  10. Write the completion record and pin it. Bump every file declared in version_files to the release version.
  11. Run ultraship transition RELEASED, ultraship validate, ultraship views.
  12. Run ultraship commit complete-release — last, once the record, its lock entry, and every declared version file are written, or the shipped commit is internally inconsistent. Call it unconditionally; shared/commit-protocol.md defines what it stages, and it is a no-op that exits 0 when the policy is off or nothing changed.
  13. Recommend the next version.

Done when

  • Every applicable gate passed, and you saw it pass.
  • Evidence is stored and cites real command output.
  • The target mode was achieved, or the shortfall is recorded.
  • The release record is written and pinned.
  • Known limitations are honest.
  • ultraship validate exits 0.

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.