skflow-transform
Installation
SKILL.md
skflow-transform
Transform a verbose markdown skill into a deterministic skflow script. The generated script runs shell commands automatically and only pauses for LLM judgment or user input — reducing token usage and improving reliability.
When to Use
Use this skill when you have a markdown skill/command (.md file) that walks the LLM through a series of steps, many of which are deterministic (running shell commands, checking output, branching on exit codes). This skill rewrites it into:
- A TypeScript script using skflow primitives (
sh,ask,askUser,done) - A thin markdown wrapper that delegates to the compiled script via the yield protocol
Input
The user provides a path to an existing markdown skill file. For example:
/skflow-transform .claude/commands/commit.md