migrate-workflowslisted
Install: claude install-skill 0xdevhero/hypercraft-skills
# Migrate Workflows to Skills
Use this skill to autonomously migrate legacy workflow files to modern skills.
Workflows (`.agents/workflows/*.md` or `_agents/workflows/*.md`) are deprecated.
Skills (`.agents/skills/<name>/SKILL.md` or `_agents/skills/<name>/SKILL.md`)
provide all the capabilities of workflows, plus:
- First-class slash command support (typing `/<name>` in the chat input box).
- Semantic agent discovery (the agent can automatically invoke the skill when
relevant).
- Multi-file capabilities (supporting helper scripts, templates, and
references).
--------------------------------------------------------------------------------
## Instructions for the Agent
When this skill is invoked, **you must execute the migration automatically** by
performing the following steps:
### Step 1: Discover Existing Workflows
Scan **global** and **workspace** (if applicable) configuration directories
using filesystem search tools for legacy `.md` workflow files and
`workflows.json` manifests:
1. **Global Workflows**:
- `~/.gemini/config/global_workflows/*.md`
- `~/.gemini/config/workflows/*.md`
- Manifests: `~/.gemini/config/workflows.json`
2. **Workspace Workflows** (for each open workspace root and parent
directories):
- `<workspace_root>/.agents/workflows/*.md`
- `<workspace_root>/_agents/workflows/*.md`
- `<workspace_root>/.agent/workflows/*.md`
- `<workspace_root>/_agent/workflows/*.md`
- Manifests: