oc-create-command

Solid

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.

Data & Documents 38 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
sequenzia
Repository
sequenzia/agent-alchemy
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

oc-create-agent

Guides through creating a new OpenCode-compatible agent with interactive interview, permission configuration, and validation. Use when user says "create opencode agent", "new opencode agent", "build agent for opencode", or wants to create an OpenCode agent markdown file.

38 Updated today
sequenzia
AI & Automation Solid

oc-create-skill

Guides through creating a new OpenCode-compatible skill with interactive interview, best-practice enforcement, and validation. Use when user says "create opencode skill", "new opencode skill", "build skill for opencode", or wants to create an OpenCode SKILL.md file.

38 Updated today
sequenzia
AI & Automation Listed

creating-commands

Creates new Claude Code slash commands following best practices. Guides through command structure, naming, arguments, and frontmatter. Use when user wants to create a command, build a slash command, or asks about command best practices.

335 Updated today
aiskillstore
AI & Automation Solid

command-creator

Create Claude Code custom slash commands with proper structure, frontmatter, and best practices. Use this skill whenever the user wants to create a new command, add a slash command, build a custom command, or mentions "create-command", "new command", "add command", or "make a command" for Claude Code. Also trigger when the user wants to turn a workflow into a reusable command.

1,535 Updated 1 months ago
feiskyer
AI & Automation Solid

oc-update-command

Updates an existing OpenCode command to match current platform best practices, fixes deprecated patterns, and validates the result. Use when user says "update opencode command", "fix opencode command", "migrate command to opencode", or wants to modernize an existing OpenCode command file.

38 Updated today
sequenzia