# Commandkit Workflow

> Commandkit Workflow is an Agent Skill for agent building published in the neplextech/commandkit repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Build durable workflow orchestration with @commandkit/workflow. Use for workflow entrypoints, step design, command-triggered workflow starts, and long-running stateful process handling.

- Skill name: `commandkit-workflow`
- Category: [Agent Building](https://www.openparable.com/skill/agent-building/1)
- Source: https://github.com/neplextech/commandkit/blob/HEAD/skills/commandkit-workflow/SKILL.md
- Repository: neplextech/commandkit (161 GitHub stars when collected)

## SKILL.md

# CommandKit Workflow Plugin

## Activation guidance

Use for multi-step processes that should survive restart and run
reliably.

## Required filesystem expectations

- plugin registration in `commandkit.config.ts`
- workflow files in `src/workflows/**`
- trigger commands/events in `src/app/**`

## Execution workflow

1. Register workflow plugin.
2. Create workflow entrypoint using `'use workflow'`.
3. Create step functions using `'use step'`.
4. Start workflows from commands/events.

## Guardrails

- Keep step boundaries explicit and side effects controlled.
- Keep workflow inputs deterministic and serializable.

## Reference index

| Name                                    | Description                                                  |
| --------------------------------------- | ------------------------------------------------------------ |
| `references/00-filesystem-structure.md` | Workflow/trigger file placement and project layout guidance. |
| `references/01-plugin-setup.md`         | Plugin wiring baseline.                                      |
| `references/02-workflow-and-step.md`    | Entry/step design pattern and best practices.                |
| `references/03-start-workflow.md`       | Starting workflows from command handlers.                    |

## Tool index

| Name  | Description                                      |
| ----- | ------------------------------------------------ |
| `N/A` | This skill currently has no helper tool scripts. |

---

Source: https://www.openparable.com/skill/agent-building/commandkit-workflow (OpenParable). Cite the canonical URL above.
