clarify workflows and scripts are both part of a skill

This commit is contained in:
lyn
2026-04-17 15:33:12 +00:00
parent 240e52a76e
commit 01d52f42e5
2 changed files with 12 additions and 8 deletions

View File

@@ -28,8 +28,10 @@ description: {when-to-use}
## When to Use Scripts vs Workflows
- **Scripts** — handle logic/flow that is completely fixed. When the steps are predictable and always the same, encode them in a script.
- **Workflows** — handle flexible situations semantically. When context matters, decisions are needed, or the process is nuanced, describe it in a workflow document.
Both scripts and workflows are parts of a skill — scripts live in `{skill-name}/scripts/`, workflows in `{skill-name}/workflows/`.
- **Scripts** — handle logic that is completely fixed. When the steps are predictable and always the same, encode them in a script.
- **Workflows** — handle flexible situations. When context matters, decisions are needed, or the process is nuanced, describe it in a workflow document.
## Script Hint