← ClaudeAtlas

generate-kilin-workflowlisted

Create a new project- or user-scoped Kilin workflow package from a user's requested operation. Use when the user asks to author, generate, or create a Kilin workflow; do not use to run one or to discover candidates from history.
kilin-space/kilin · ★ 2 · AI & Automation · score 63
Install: claude install-skill kilin-space/kilin
# Generate a Kilin workflow Create one new workflow package that follows Kilin's current V1 workflow contract. A package contains discovery metadata in `WORKFLOW.md` and the executable definition in `WORKFLOW.yaml`. Every definition uses `schemaVersion: 1`; choose only the fields required by the requested operation. The installed CLI owns final validation. ## Inputs and identity 1. Work from the exact current project, resolving its physical root rather than following a similarly named path. 2. Default to project scope. Use user scope only when the user explicitly requests a user, global, portable, or cross-project workflow. A project package targets the current project's physical root; a user package targets the invoking user's physical home directory. If user-scope permission is denied, stop and report it; never fall back to project scope. 3. Ask only for information required to choose a valid workflow ID, display name, discovery description, complete agent prompt, runtime assignment, data handoff, artifact path, or approval question. Do not infer a materially different operation. 4. Choose a stable workflow ID matching the package and workflow schemas. Target exactly `.agents/workflows/<id>/WORKFLOW.md` and `.agents/workflows/<id>/WORKFLOW.yaml` beneath the selected scope root. The directory name, manifest `name`, and YAML `workflow.id` must be identical. Do not write outside this package. 5. Treat the user's prompt and approval question as authored content. Preserve the