| name | pi-validation-flow |
| description | Use when validating Pi monorepo changes after editing TypeScript, Svelte, package manifests, built-in registry, tests, repo tooling, skills, or docs. |
| compatibility | Requires the Pi coding-agent monorepo validation scripts. |
Pi Validation Flow
Use this before saying implementation work is done.
Workflow
- Inspect changed files with
git diff --name-only.
- Run the narrowest package validation for changed packages.
- Run LSP diagnostics for changed TypeScript/Svelte source files.
- Run root validation when shared files, root scripts, package
manifests, lockfile, or built-in registry changed.
- Report failures honestly: separate new failures, pre-existing
failures, skipped checks, and unavailable tools.
Command selection
- Single package:
pnpm --filter @spences10/<pkg> run check:self and
test:self.
- Root/shared changes:
pnpm run check.
- Boundary-sensitive changes:
pnpm run check:boundaries if available
or included by root check.
- Svelte files: use Svelte-specific validation and LSP diagnostics.
- Skills: run
pnpx check-skills validate <skill-path> --json after
every skill edit.
Reporting format
Keep the final report short:
- Changed: files/packages touched.
- Validation: commands run and results.
- Risks: only unresolved failures or skipped checks.