command-creator

Create custom slash commands for automating tasks in OpenCode.

Updated Feb 9, 2025
One-click install
npx skills add https://github.com/xeon826/dotfiles --skill command-creator-xeon826
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: command-creator
Source: https://github.com/xeon826/dotfiles/tree/main/opencode/skill/command-creator
Command: npx skills add https://github.com/xeon826/dotfiles --skill command-creator-xeon826

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates repetitive tasks by allowing users to create custom slash commands, streamlining workflows and reducing manual prompt engineering.

Core Features & Use Cases

  • Custom Command Creation: Define new slash commands for frequently performed actions.
  • Prompt Automation: Encapsulate complex prompts into simple commands.
  • Workflow Shortcuts: Speed up development and operational tasks.
  • Use Case: A developer frequently needs to run a specific set of tests with custom flags. They can create a /run-tests command that encapsulates this entire process, saving them from typing the full command each time.

Quick Start

Use the command-creator skill to make a new slash command called /summarize that takes text as input and returns a summary.

Frequently Asked Questions about command-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom slash commands for automating repetitive tasks?

To create custom slash commands for task automation, define the command, its description, assigned agents, models, and subtask execution logic using placeholder guidelines to encapsulate complex prompts into simple workflow shortcuts.

What are custom slash commands and how do they streamline prompt engineering?

Custom slash commands are workflow shortcuts that encapsulate complex prompt engineering into simple triggers, enabling you to define specific actions, agents, and models to automate repetitive tasks within the OpenCode environment.

Can I define specific agents and models when creating workflow shortcuts?

Yes, creating workflow shortcuts supports defining specific agents and models for subtask execution, allowing you to precisely control how automated commands process inputs and execute designated actions.

What is the best way to automate frequently run development commands with custom flags?

The best way to automate frequently run development commands is to encapsulate the process into a custom slash command, such as creating a dedicated shortcut that executes the full sequence with custom flags automatically.

Are there limitations when defining placeholders for prompt automation commands?

Prompt automation commands have conceptual boundaries for command design, requiring adherence to clear placeholder usage guidelines to ensure subtask execution and automated workflows function correctly without misinterpretation.