Skip to content
Skills Library
Programming · Testing

workflow-environment-ready

/workflow-environment-ready

Prove runtimes, installs, tools, services, env names, and the repo's verification commands work before a long run. Use when "preflight the repo", "set up the environment", or tests cannot start. Failing tests → workflow-green-repo.

Licence
MIT
Last repository change
19.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 19.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Prove runtimes, installs, tools, services, env names, and the repo's verification commands work before a long run. Use when "preflight the repo", "set up the environment", or tests cannot start. Failing tests → workflow-green-repo.

Triggers from the description

s verification commands work before a long run. Use whenset up the environment
Original author description

Prove runtimes, installs, tools, services, env names, and the repo's verification commands work before a long run. Use when "preflight the repo", "set up the environment", or tests cannot start. Failing tests → workflow-green-repo.

How it works

  1. This skill vs neighbors
  2. How to reason
  3. Worked example
  4. Self-critique before reporting
  5. Phase 0 — Detect the stack and requirements [LOW freedom — run exactly]
  6. Phase 1 — Verify toolchain and dependencies [LOW freedom — run exactly]
  7. Phase 2 — Verify services and configuration [LOW freedom — run exactly]
  8. Phase 3 — Prove the verification commands execute [LOW freedom — run exactly]
  9. Phase 4 — Readiness report [HIGH freedom]
  10. Related
Original SKILL.md headings · 138 lines, 957 words
SKILL.md preview
---
name: workflow-environment-ready
description: >
  Prove runtimes, installs, tools, services, env names, and the repo's
  verification commands work before a long run. Use when "preflight the repo",
  "set up the environment", or tests cannot start. Failing tests →
  workflow-green-repo.
license: MIT
---

# workflow-environment-ready — Preflight the Working Environment

**Degree of freedom: MIXED.** READY/BLOCKED verdict `[HIGH freedom]`; executed
probes and never echoing secrets `[LOW freedom — run exactly]`.

Long autonomous runs fail most expensively at the end — the work is done, then
the build won't run, a service is down, or a key is missing. This skill front-
loads that risk: prove the environment can build, test, and reach its
dependencies **before** implementation starts.

> **Verify the environment can run the task, don't assume it.** Every check is
> an executed command with observed output, not an inference from a config file.

Copy this checklist and tick items as you go:

```
- [ ] Step 1: Detect the stack and requirements; list gate commands
- [ ] Step 2: Verify toolchain and dependencies with a frozen install
- [ ] Step 3: Verify services and configuration; env names only
- [ ] Step 4: Prove the verification commands execute (not green)
- [ ] Step 5: Classify cannot-run (env) vs runs-and-fails (code)
- [ ] Step 6: Readiness report: READY / READY WITH NOTES / BLOCKED
```

## This skill vs neighbors

| Skill | Owns |
|---|---|
| **workflow-environment-ready** (this) | Prove runtimes, installs, services, env names, and gate commands run |
| `workflow-green-repo` | Drive typecheck, lint, tests, and build to green when fixing is authorized |

## How to reason

1. **Detect** — required runtimes, services, env names, gate commands
2. **Probe** — run each check; record observed output
3. **Classify** — cannot-run (env) vs runs-and-fails (code)
4. **Verdict** — READY / READY WITH NOTES / BLOCKED

## Worked example

> **Detect:** Node 22 + pnpm, `supabase/config.toml`, `.env.example` has `NEXT_PUBLIC_SUPABASE_URL`.
> **Probe:** `node -v` 22.4; `pnpm install --frozen-lockfile` ok; `supabase status` not running.
> **Classify:** toolchain ok; local Supabase down is an environment blocker, not a test failure.
> **Verdict:** BLOCKED — start Supabase, then re-run Phase 2; do not start `complete-everything`.

## Self-critique before reporting

- **Executed** — every row is a command + output, not a config inference
- **Secrets** — presence/absence only
- **Cannot-run vs red** — code failures are notes, not BLOCKED
- **Right owner** — commands run but code is red → `workflow-green-repo`; diagnose a hung command → `debug-error`

## Phase 0 — Detect the stack and requirements  [LOW freedom — run exactly]

Read, don't guess:

- **Runtimes/managers:** `package.json` (`engines`, `packageManager`),
  `.nvmrc`, `.tool-versions`, `pyproject.toml`/`requirements.txt`, `go.mod`,
  `Gemfile`, `Cargo.toml`.
- **Verification commands:** scripts in `package.json`/`Makefile`/`justfile`,
  CI workflows, `AGENTS.md`/`CLAUDE.md`, README.
- **Services:** `docker-compose.yml`, `supabase/config.toml`, DB URLs, Redis,
  queues, external APIs.
- **Config contract:** `.env.example` / `.env.sample` — the list of required
  variables (names only).

Produce a requirements checklist before running anything.

## Phase 1 — Verify toolchain and dependencies  [LOW freedom — run exactly]

1. Confirm each required runtime is present at the required version
   (`node -v`, `python --version`, etc.). A mismatch is a blocker to surface
   now, not at hour three.
2. Confirm dependencies are installed and consistent with the lockfile
   (`npm ci` / `pnpm install --frozen-lockfile` / `pip install -r` / etc.).
   Prefer the reproducible/frozen install. Report, don't hide, install errors.
3. Confirm the package manager matches the repo (`packageManager` field / lock
   file) — do not switch managers.

## Phase 2 — Verify services and configuration  [LOW freedom — run exactly]

1. For each required service, confirm reachability with a real check (DB
   connect/ping, `supabase status`, an HTTP health request, container up).
   A required service that is down is a blocker with a precise remedy.
2. Confirm every variable in `.env.example` is present in the environment.
   **Report only presence/absence — never print, log, or echo secret values.**
   Per project rules, `.env*` may be read to understand config but never
   transmitted.
3. Note any variable that is present but obviously placeholder (`YOUR_*`,
   empty) so it fails now rather than mid-run.

## Phase 3 — Prove the verification commands execute  [LOW freedom — run exactly]

Run the cheapest form of each gate to confirm it actually starts and the
harness is wired — not to make it fully green (that is `workflow-green-repo`):

- typecheck: does it run and resolve config? (compile errors are fine to note)
- lint: does the linter start and find the config?
- tests: does the runner discover and start the suite? Run a fast subset.
- build/dev server: does it boot far enough to prove the pipeline works?

Distinguish "the command cannot run" (environment blocker) from "the command
runs and reports code issues" (normal work for the task ahead).

## Phase 4 — Readiness report  [HIGH freedom]

```md
## Environment Readiness — <repo> — <date>
### Verdict: READY | READY WITH NOTES | BLOCKED
### Toolchain
- <runtime>: required <x>, found <y> — ok/mismatch
- dependencies: <install command> → ok/failed
### Services
- <service>: reachable? <how checked> → ok/down
### Configuration
- env vars: <n>/<n> present (names only) — missing: <names or none>
### Verification commands
- typecheck/lint/test/build: runs? <yes/no + note>
### Blockers (must resolve before the long run)
- none | <blocker + one precise ask/remedy>
```

Only declare **READY** when the toolchain installs, required services are
reachable, all config names are present, and each gate command executes. A
missing credential, unreachable service, or absent tool is a genuine blocker —
ask one precise question immediately rather than starting a run that will fail.

## Related

- `workflow-green-repo` — after the environment runs, make every gate pass
- `audit-env-parity` — after local is runnable, check staging/prod agree
- `complete-everything` / `burndown-full` — run this first for long closures
- `workflow-onboard` — orient to an unfamiliar codebase
- `debug-error` — diagnose a command that cannot start
- `audit-agent-speed` — the environment runs but the agent host is slow
  (hooks, status line, CPU hogs, worktree pile-up)

Versions

The database has no other skills named workflow-environment-ready.

Database snapshot: 13.11.2026 · package version d9c592819bda (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100auto-env
    Configure runnable development environments for repositories using repo inspection, targeted environment-variable discovery, Docker or local setup, and smoke-test evidence. Use this skill whenever the user asks to set up a repo, make a project runnable, configure environment…
  • 100workflow-green-repo
    Drive a repository to a green baseline — typecheck, lint, tests, and build passing from a clean checkout — when fixing is authorized. Use when "make the repo green", "get CI passing", or "fix all the failing tests".
  • 82env-blueprint
    Generate and verify a working environment.yaml for this repo. Use when setting up Devin snapshot environments or when environment.yaml fails validation.
  • 100svelte-env-vars-check
    This skill should be used when the user says "check svelte env vars", "check environment variables", "validate env vars", "check env var patterns", "audit environment variables", "audit env vars", "check SvelteKit env", "svelte env check", or any phrase asking to audit or…
  • 100env-vars
    Vercel environment variable expert guidance. Use when working with .env files, vercel env commands, Secret or Config variable types, OIDC tokens, or managing environment-specific configuration.
  • 100local-env-vars-6f5b31bd
    Vercel environment variable expert guidance. Use when working with .env files, vercel env commands, OIDC tokens, or managing environment-specific configuration.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.