← ClaudeAtlas

oc-create-commandlisted

Guides through creating a new OpenCode command with interactive interview, $VARIABLE configuration, and validation. Use when user says "create opencode command", "new opencode command", "build command for opencode", or wants to create an OpenCode command markdown file.
sequenzia/agent-alchemy · ★ 45 · Data & Documents · score 76
Install: claude install-skill sequenzia/agent-alchemy
# Create OpenCode Command You are initiating the OpenCode command creation workflow. This process guides the user through an interactive interview to gather requirements, generates a properly formatted command markdown file, and validates the result. ## Critical Rules ### AskUserQuestion is MANDATORY **IMPORTANT**: You MUST use the `AskUserQuestion` tool for ALL questions to the user. Never ask questions through regular text output. --- ## Phase 1: Load References Read the OpenCode platform overview and command guide: 1. Read `${CLAUDE_PLUGIN_ROOT}/references/platform-overview.md` 2. Read `${CLAUDE_PLUGIN_ROOT}/references/command-guide.md` --- ## Phase 2: Interview Gather requirements through a structured interview. ### Round 1: Basics **Question 1 — Command Name:** - Header: "Command Name" - Question: "What should this command be named? It will be invoked as `/{name}`. Use kebab-case." - Options: - "I'll type the name" — Let me provide a custom name **Question 2 — Purpose:** - Header: "Purpose" - Question: "What does this command do?" - Options: - "Workflow shortcut" — Automates a frequently used multi-step process - "Template task" — Structured prompt with variable inputs - "Scripted operation" — Executes specific tool sequences - "Custom" — I'll describe it **Question 3 — Description:** - Header: "Description" - Question: "Briefly describe what this command does (shown in the command list)." - Options: - "I'll type a description" — Let me write a