/kenji:workflow-environment-readyfrom kenji skills
Preflights the working environment before long runs: verifies runtimes, installs, services, env names, and gate commands execute. Use when setting up a repo or when tests cannot start.
Ships in kenji skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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
| 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 |
Detect: Node 22 + pnpm,
supabase/config.toml,.env.examplehasNEXT_PUBLIC_SUPABASE_URL. Probe:node -v22.4;pnpm install --frozen-lockfileok;supabase statusnot 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 startcomplete-everything.
workflow-green-repo; diagnose a hung command → debug-errorRead, don't guess:
package.json (engines, packageManager),
.nvmrc, .tool-versions, pyproject.toml/requirements.txt, go.mod,
Gemfile, Cargo.toml.package.json/Makefile/justfile,
CI workflows, AGENTS.md/CLAUDE.md, README.docker-compose.yml, supabase/config.toml, DB URLs, Redis,
queues, external APIs..env.example / .env.sample — the list of required
variables (names only).Produce a requirements checklist before running anything.
node -v, python --version, etc.). A mismatch is a blocker to surface
now, not at hour three.npm ci / pnpm install --frozen-lockfile / pip install -r / etc.).
Prefer the reproducible/frozen install. Report, don't hide, install errors.packageManager field / lock
file) — do not switch managers.supabase status, an HTTP health request, container up).
A required service that is down is a blocker with a precise remedy..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.YOUR_*,
empty) so it fails now rather than mid-run.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):
Distinguish "the command cannot run" (environment blocker) from "the command runs and reports code issues" (normal work for the task ahead).
## 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.
workflow-green-repo — after the environment runs, make every gate passaudit-env-parity — after local is runnable, check staging/prod agreecomplete-everything / burndown-full — run this first for long closuresworkflow-onboard — orient to an unfamiliar codebasedebug-error — diagnose a command that cannot startaudit-agent-speed — the environment runs but the agent host is slow
(hooks, status line, CPU hogs, worktree pile-up)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kensaurus/skills --plugin kenji162 skills in this plugin
/audit-accessibilityWCAG 2.2 AA audit via playwright-cli: axe-core, keyboard, contrast, target size, focus, ARIA. Use when "audit accessibility", "check a11y", "WCAG audit", "check keyboard nav", or "test screen reader".
/audit-agent-speedMeasure and fix a slow coding-agent setup: status line, hooks, instruction bloat, effort, worktree pile-up, antivirus and indexer scans. Use when "Claude is slow" or "CPU is pinned". App speed → audit-performance.
/audit-analyticsRead-only audit of product-analytics events (PostHog, Amplitude, Mixpanel, GA4): taxonomy, funnels, consent-gated firing, dead or duplicate events. Use when "audit our analytics", "are we tracking the right events", or "funnel instrumentation".
Other plugins' skills for the same job