pick-workflow
Match a task description to the best default workflow, collect the required values interactively, write .harness/workflow.yaml with everything filled in, and hand off to /harness:run. Full path from description to ready-to-run — no manual file copying or placeholder editing.
What this skill does
# Pick and Configure Workflow
Match `$ARGUMENTS` to a default workflow, collect required values in one message, write `.harness/workflow.yaml` with all placeholders replaced, then hand off to `/harness:run`.
## Step 1: Match
Read the available templates:
```bash
ls "${CLAUDE_PLUGIN_ROOT}/workflows/defaults/"
```
Match `$ARGUMENTS` against these rules:
| User says... | Workflow |
|---|---|
| fix, bug, issue, diagnose, error, crash, triage | `fix-github-issue` |
| feature, idea, build, implement, add, create | `idea-to-pr` |
| refactor, clean up, migrate, restructure, rename | `refactor-safely` |
| review, PR, check, audit, inspect | `smart-pr-review` |
If no clear match, list all four with their one-line descriptions and ask the user to choose before continuing.
## Step 2: Ask all questions in one message
Announce the matched workflow (one sentence — name + pipeline summary). Then ask for all required values in a single response. Never ask one question at a time.
**fix-github-issue — ask for:**
- GitHub issue URL (e.g. `https://github.com/owner/repo/issues/42`)
- Issue number only (e.g. `42`) — used in the branch name
**idea-to-pr — ask for:**
- Feature description — this goes to ultraplan, so the more detail the better
- Short branch slug (e.g. `dark-mode`, `user-api`, `payment-flow`)
**refactor-safely — ask for:**
- Refactoring goal — one sentence describing what to restructure
- Typecheck command (e.g. `pnpm typecheck`, `tsc --noEmit`, `cargo check`)
- Test command (e.g. `pnpm test`, `pytest`, `cargo test`)
- Branch name slug (e.g. `cleanup-auth`, `migrate-to-esm`)
**smart-pr-review — ask for:**
- PR branch name (e.g. `feat/dark-mode`)
- PR number (e.g. `87`)
## Step 3: Write the workflow
Once the user has provided all values:
Create the directory:
```bash
mkdir -p .harness
```
Read the template into context:
```bash
cat "${CLAUDE_PLUGIN_ROOT}/workflows/defaults/<matched-workflow>.yaml"
```
Perform all placeholder substitutions in memory — replace every `REPLACE_WITH_*` string with the corresponding user-provided value. Then write the complete substituted content to `.harness/workflow.yaml` using the Write tool.
Placeholder map per workflow:
| Workflow | Placeholder | Replace with |
|----------|------------|--------------|
| fix-github-issue | `REPLACE_WITH_ISSUE_URL` | full issue URL |
| fix-github-issue | `REPLACE_WITH_ISSUE_NUMBER` | issue number (appears in branch + pr command) |
| idea-to-pr | `REPLACE_WITH_FEATURE_DESCRIPTION` | feature description |
| idea-to-pr | `REPLACE_WITH_FEATURE_NAME` | branch slug (appears in branch + pr command) |
| refactor-safely | `REPLACE_WITH_REFACTORING_GOAL` | refactoring goal |
| refactor-safely | `REPLACE_WITH_TYPECHECK_CMD` | typecheck command (appears twice — defaults block + loop body) |
| refactor-safely | `REPLACE_WITH_TEST_CMD` | test command |
| refactor-safely | `REPLACE_WITH_BRANCH_NAME` | branch slug |
| smart-pr-review | `REPLACE_WITH_PR_BRANCH` | PR branch name |
| smart-pr-review | `REPLACE_WITH_PR_NUMBER` | PR number |
Replace ALL occurrences of each placeholder — some appear more than once in the same file.
## Step 4: Confirm
After writing the file, confirm with a brief summary:
```
Ready: .harness/workflow.yaml
<workflow-name> — <one-line pipeline summary>
Run it:
/harness:run
```
Do not run the conductor automatically — the user triggers it.
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.