agentleFS
45ck45ck/prompt-language/skills/deploy-check/SKILL.md

deploy-check

Skill4 starsChanged 8 months agoMITView on GitHub

This skill should be used when the user asks to 'check if ready to deploy', 'pre-deploy check', 'verify before deploying', 'deployment readiness', 'is it ready to ship', or wants pre-deployment verification.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 8

    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
  1. Distinctive:

    Run a full pre-deployment verification pipeline: lint, test, build.

    line 12
  2. Distinctive:

    Run the full pipeline (lint + test + build).

    line 16
  3. Distinctive:

    If anything fails, read the error output, fix the issue, and re-run.

    line 17
  4. Distinctive:

    If a fix in a later stage breaks an earlier stage, the next retry will catch it.

    line 39
  5. Distinctive:

    When the repo uses a non-Node stack, substitute equivalent commands:

    line 44
  6. Distinctive:

    Use project-native commands if scripts are already defined in package/tooling config.

    line 50
  7. Distinctive:

    No unresolved TODO-level warnings introduced in touched files.

    line 59
  8. Distinctive:

    If failures are flaky or environment-specific, report the exact command and stderr fragment.

    line 68

“Common” is measured: kept by at least 6 in 10 of the 6 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

Deploy Check

Run a full pre-deployment verification pipeline: lint, test, build. Fix any failures automatically.

What to do

  1. Run the full pipeline (lint + test + build).
  2. If anything fails, read the error output, fix the issue, and re-run.
  3. Repeat until all three pass.

Flow

flow:
  retry max 5
    run: npm run lint && npm test && npm run build
    if command_failed
      prompt: The pipeline failed. Read the error output, fix the issue, and try again.
    end
  end

done when:
  tests_pass
  lint_pass

Rules

  • Fix the first error you encounter — later stages may depend on earlier ones.
  • If a fix in a later stage breaks an earlier stage, the next retry will catch it.
  • Report the final status of all three stages when done.

Environment-Specific Command Mapping

When the repo uses a non-Node stack, substitute equivalent commands:

  • Python: ruff check . && pytest && python -m build
  • Go: go test ./... && go vet ./...
  • Rust: cargo test && cargo clippy -- -D warnings && cargo build

Use project-native commands if scripts are already defined in package/tooling config.

Deployment Readiness Checklist

Before declaring ready:

  1. Lint is clean.
  2. Tests are green.
  3. Build/package step completes.
  4. No unresolved TODO-level warnings introduced in touched files.
  5. Any migration or rollout prerequisites are called out explicitly.

Failure Classification

  • lint failures: style/static correctness; fix first.
  • test failures: behavior regressions; isolate smallest failing unit first.
  • build failures: integration/packaging/runtime typing.

If failures are flaky or environment-specific, report the exact command and stderr fragment.

Done Response Template

  • Lint: pass/fail
  • Tests: pass/fail
  • Build: pass/fail
  • Ready: yes/no
  • Notes: any remaining risk or prerequisite

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.