flowstate-verify
/flowstate-verify
Use when choosing, running, or reporting Flowstate verification (a bounded targeted test, the diff-scoped gate, or the full CI-parity rehearsal) before a handoff, a pull request, or a merge.
- Author
- picatz ↗
- Repository
- flowstate ↗
- Licence
- MIT
- Last repository change
- 23.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 23.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when choosing, running, or reporting Flowstate verification (a bounded targeted test, the diff-scoped gate, or the full CI-parity rehearsal) before a handoff, a pull request, or a merge.
Arguments
/flowstate-verify [targeted|gate|full] [package or test pattern]
Original author description
Use when choosing, running, or reporting Flowstate verification (a bounded targeted test, the diff-scoped gate, or the full CI-parity rehearsal) before a handoff, a pull request, or a merge.
How it works
- 1. Determine the affected surface
- 2. Inner loop
- 3. Normalize and derive
- 4. Before a PR handoff
- 5. Report honestly
SKILL.md preview
--- name: flowstate-verify description: Use when choosing, running, or reporting Flowstate verification (a bounded targeted test, the diff-scoped gate, or the full CI-parity rehearsal) before a handoff, a pull request, or a merge. argument-hint: "[targeted|gate|full] [package or test pattern]" --- # Flowstate verification Verification is evidence, not a ritual. Select the cheapest check that can falsify the changed behavior, then broaden according to the diff's reach and the handoff being prepared. Requested scope, if any: $ARGUMENTS. ## 1. Determine the affected surface Inspect the diff and identify changed packages, generated artifacts, public interfaces, both-driver behavior, and external integrations. Do not run the largest suite merely to avoid making that judgment. ## 2. Inner loop Run focused tests with explicit time and memory bounds. A common bounded tier is: ```sh GOMEMLIMIT=1GiB go test -short -timeout 120s ./... ``` For one package or test, narrow the package and `-run` pattern further. Ask how much may run before choosing a tier, not after: `go run ./tools/fleet` computes how many lanes this machine can hold right now and `-env` prints what each lane must export (`GOMAXPROCS`, `GOFLAGS=-p`, `GOMEMLIMIT`). Run it before dispatching concurrent lanes or a wide suite, and take its numbers rather than restating them. A lane on a busy machine caps itself with that environment instead of saturating the box or idling until it is quiet. A failure seen under contention (timeouts, "condition never satisfied", `race detected` in an unrelated package) is re-run alone on its package before it is reported; one that vanishes alone is contention, not a defect in the diff. The packages that share a Temporal dev server (`engine`, `server`, `temporalclient`, `cmd/flow`) each boot one in `TestMain`, about eleven seconds before the first test runs. Without `-short`, `engine`'s own suite alone runs about 264s on two CPUs — well past a 120s bound — which is why the always-loaded example in `AGENTS.md` and `CONTRIBUTING.md` carries `-short`; `engine` honors it and drops to about 20s. When iterating on one of them, start a server once and let every run attach to it: ```sh make dev-temporal # prints the export line, stays up export FLOWSTATE_TEST_TEMPORAL_ADDRESS=127.0.0.1:PORT GOMEMLIMIT=1GiB go test -timeout 120s -run TestOne ./pkg/flowstate/v1/engine/ ``` Unset, nothing changes. Stop the server you started, by its PID, when you are done; never kill by pattern on a shared machine. Bound a fuzzer by time, memory, and parallelism: ```sh GOMEMLIMIT=512MiB go test -timeout 120s -parallel 1 \ -run=XXX -fuzz FuzzName -fuzztime 60s ./path/ ``` ## 3. Normalize and derive Use `make fmt`, not a bare `gofmt`: a `gofmt` from `PATH` may be a different binary from the pinned toolchain's and can disagree on formatting. Run `make regen` when schemas or generated surfaces may have changed, and commit what it writes: it is every generator in order, and `make regen-check` (what `make check` and CI run) fails with "run make regen and commit the result". Never edit generated files directly. ## 4. Before a PR handoff Run the diff-scoped repository gate unless the user explicitly requested a narrow draft that is not ready for review: ```sh go run ./tools/gate # equivalent: make gate ``` Use `make check` for a full CI-parity rehearsal when the task, risk, or requested handoff warrants the full repository cost. On Claude Code, the `flowstate-verifier` subagent runs either and returns only the evidence. ## 5. Report honestly For every attempted leg, report the command and one of: passed, failed, timed out, unavailable, or not run. Name the first actionable failure. Do not translate a skipped leg or silent tool absence into green. Check for stray processes and the final diff before declaring completion. `make test` and the gate's test legs pipe `go test -json` through `tools/testsum`, which prints the failing tests with their `file.go:NN`, the shuffle seed to rerun them when `-shuffle` is on, and a count of what passed. Quote that block rather than the log; for one package, `go test -json ./path/ | go run ./tools/testsum` prints the same shape.
Versions
The database has no other skills named flowstate-verify.
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version c37849455d13 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90flowstate-ship
Use when asked to land, ship, or merge a Flowstate pull request, or to take one through the exact-head review, disposition, shipcheck, and manual-merge gates that an autonomous merge requires. - 100flowstate-plugin-author
Use when asked to write or change a Flowstate plugin (a task provider, the executable flowstate-plugin-<name>): decide if a plugin is needed, define the schema in Protobuf, test and rehearse it locally. - 100verification-loop
This skill should be used when the user asks to "verify code", "run verification", "check quality", "validate changes", or before creating a PR. Provides comprehensive verification including build, type check, lint, tests, security scan, and diff review. - 90dev-pr-review
Use for reviewing a branch, pull request, local diff, or implementation plan before merge, including alignment of existing PR metadata with the diff and delivery state. - 90safeguarding-ai-generated-code
Use when AI-generated or AI-modified changes need a Code Health gate before commit, handoff, or pull request. - 80pull-request:create
Create a pull request, merge request, or change request (PR, MR, CR). Use when the user asks to open one, including right after committing changes.