Skip to content
Agentmart
Submit a tool

workflow-guide

Reference for typed triggers, durable steps, replay-safe data flow, and idempotent Workflow effects.

Skill by makenotionOfficial

IndexedMIT★ 220
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/makenotion-workflow-guide

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Reference for typed triggers, durable steps, replay-safe data flow, and idempotent Workflow effects.

Use cases: data, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/workflow-guide

What's inside

Skill name
workflow-guide
Description
Reference for typed triggers, durable steps, replay-safe data flow, and idempotent Workflow effects.
License
MIT
Instructions
34 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Workflow guide

Each direct `src/workflows/*.ts` file must default-export `createWorkflow(...)`.
The file name becomes its Workflow key.

Use a step for every result that can change and every external effect. This
includes network and Notion API calls, mutable state reads, timestamps, random
values, generated IDs, messages, creates, and updates. Keep deterministic
transforms of the event and completed step results outside a step.

Completed steps can replay saved results. Do not rely on in-memory mutations
inside a step. Return the values required by later code. Keep calls in a stable
order and give every step a stable display name. The name is also the replay
key by default. For a repeated step, do not interpolate an item ID or loop
index into the name; pass a stable composite key instead:

```ts
await context.step(
  "Process page",
  { key: ["process-page", page.id] },
  async ({ id }) => processPage(page, { idempotencyKey: id })
)
```

Keys must be stable across retries and unique within one workflow run.

Retries can repeat an external effect when it succeeds before its step result
is saved. Pass the callback `id` as an idempotency key. Use a stable external
ID, an upsert, or a duplicate check when the service lacks native support.

Return JSON-serializable values. Throw on failed requests and missing required
configuration. Do not log secrets or private payloads.

From makenotion/notion-cookbook, MIT.

More from makenotion/notion-cookbook

Signals

Stars
220
Forks
59
Open issues
2
Last commit (this folder)
Aug 25, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from makenotion

Cite this page

workflow-guide skill. Agent Mart. https://agentmart.dev/skills/makenotion-workflow-guide (last updated 2026-10-24)