Agent skill
canva-validate
Runs Canva monorepo validation commands - pnpm fin, taz check, pnpm test, a11y storybook tests, typechecking, linting, and dependency fixes. Run before committing/pushing. Use when asked to lint, typecheck, test, run storybook, fix imports, or validate code in the Canva monorepo.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/canva-validate
SKILL.md
Canva Validation Commands
Validation and quality check commands for the Canva monorepo. Run before committing/pushing.
Commands
| Command | Description |
|---|---|
pnpm fin |
Runs a11y storybook tests, jest tests, taz linting, and typechecking |
pnpm fin --only types |
Runs TypeScript typechecking only (run from ~/work/canva/web) |
pnpm fin --only a11y_storybook |
Runs a11y storybook tests only |
pnpm test |
Runs all unit tests (run from ~/work/canva/web) |
taz check |
Runs all linters and formatters |
taz check --fix |
Fixes all linting and formatting issues |
pnpm lint:deps:fix |
Fixes dependency/import issues and regenerates tsconfig.json files |
pnpm lint:ts:types:changed |
Checks types only on changed files |
Usage
Run commands from the Canva monorepo root (~/work/canva).
Typecheck Only
pnpm fin --only types
Lint and Fix
taz check --fix
Run Specific Tests
cd ~/work/canva/web
pnpm test path/to/test.spec.ts
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?