Workflow validate

From makenotion/notion-cookbook · View interactive version

Workflow validate is an AI agent skill from the GitHub repository makenotion/notion-cookbook. Review Notion Worker Workflows for trigger typing and retry safety.

How to use this skill

Skill file

Workflow validation

Review every file in src/workflows/ and any modules it calls. Report each

finding with its file, line, impact, and fix.

Treat these as errors:

  1. A Workflow is not a direct file or does not default-export createWorkflow.
  2. Trigger-specific event fields are used without type narrowing.
  3. Non-deterministic work occurs outside an awaited step.
  4. Step order or names can change between retries.
  5. A step result is not JSON-serializable or later code needs an in-memory mutation.
  6. A retry-sensitive write lacks an idempotency key or duplicate guard.
  7. External failures are ignored, or credentials are hard-coded or logged.

Run npm run check and npm run build when dependencies are installed.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.