skilly. Buy ad slot
All skills
Community / AGENT SKILL

validate

flowexec/flow
0 installs 136 GitHub stars
0

Run flow validate and fix any failures. Invoke after completing a feature or bug fix to confirm the codebase is clean before committing.

BEFORE YOU INSTALL

Understand the trade-offs.

SECURITY REVIEW

Not yet assessed

Review the original instructions and requested permissions before installing.

No security review is available for this catalog entry yet.

SKILL QUALITY

Not yet assessed

How clearly the skill guides your agent, how complete its workflow is, and how you can check the outcome.

No quality assessment is available for this catalog entry yet.

The full skill.

Original instructions from the publisher’s SKILL.md

Run the `validate` executable via `mcp__flow__execute` (ref: `validate`) rather than a raw shell
call, so the run inherits workspace env/secrets and is captured in flow's history.

It runs these steps in order: `generate` → `lint` → `test` → `validate generated` (checks for uncommitted generated diffs in CI).

For each failure, diagnose and fix before moving on:

- **generate fails**: Schema syntax error in the source schema — `types/executable/*_schema.yaml`, or `types/{config,workspace,common}/schema.yaml`. Read and fix the schema, never the `.gen.go` output.
- **lint fails**: Read the golangci-lint output, fix each violation, re-run
- **test fails**: Read the Ginkgo output, identify the failing spec, fix the root cause — do not skip or comment out tests
- **validate generated fails**: Generated files are out of sync — re-run the `generate` executable and stage the regenerated files; this is always the fix

Use `mcp__flow__get_execution_logs` with `mine: true` to re-read output from a run instead of
re-running it.

Do not report done until `validate` exits 0 with all steps passing.