协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
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.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.
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)