一键导入
skill-creator
Guide for creating effective Opencode Agent Skills. Use this when users want to create a new skill or update an existing one.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guide for creating effective Opencode Agent Skills. Use this when users want to create a new skill or update an existing one.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | skill-creator |
| description | Guide for creating effective Opencode Agent Skills. Use this when users want to create a new skill or update an existing one. |
| metadata | {"audience":"developers","type":"guide"} |
This skill guides the creation of Agent Skills for the Opencode environment.
Skills are directories containing a SKILL.md file that define reusable behaviors for agents.
Skills are discovered in:
.opencode/skill/<name>/SKILL.md (Recommended for project-specific tools)~/.config/opencode/skill/<name>/SKILL.md (Recommended for general tools)skill-name/
├── SKILL.md (required)
└── (Optional resources like scripts/, references/, assets/)
git-release, database-helper).name field in the frontmatter.Follow these steps to create a new skill for the user.
Ask the user:
You can create the skill structure using the provided helper script or manually with your tools.
This skill includes a script to scaffold the directory and files.
Location: ~/.config/opencode/skill/skill-creator/scripts/init_skill.py
# For project-local skill
python3 ~/.config/opencode/skill/skill-creator/scripts/init_skill.py <skill-name>
# For global skill
python3 ~/.config/opencode/skill/skill-creator/scripts/init_skill.py <skill-name> --global
Use your tools (bash, write) to create the skill.
Create the directory based on the user's preference (Global or Project).
# Example for project skill
mkdir -p .opencode/skill/my-new-skill
Write the SKILL.md file. It MUST start with YAML frontmatter.
Template:
---
name: my-new-skill
description: A concise description (1-1024 chars) of what this skill does and when to use it.
---
## Overview
A brief explanation of the skill's purpose.
## Capabilities
* List key features
## Usage
Instructions for the agent on how to perform the tasks.
SKILL.md is all caps.name in frontmatter matches directory name.description is present.SKILL.md concise. Move large documentation to references/ subfolder and link to it.scripts/ and instruct the agent to run them.assets/.Best practices for writing clean, maintainable, and robust tests with TUnit.
Use `helium-browser --dump-dom` to inspect the fully rendered DOM after JavaScript execution. For debugging layout/scrolling issues and scraping dynamic pages.
Senior UI/UX Engineer. Architect digital interfaces overriding default LLM biases. Enforces metric-based rules, strict component architecture, CSS hardware acceleration, and balanced design engineering.
CLI tool for AI agents to browse the web, interact with UI elements, and analyze frontend applications. Supports navigation, clicking, typing, and capturing snapshots for accessibility analysis.
Expert guide for creating, configuring, and managing Opencode Agents. Use this skill when the user wants to create a new agent or modify an existing one.
Expert guide and best practices for building production-ready web APIs with Axum 0.8+ in Rust. Use this skill when developing, refactoring, or structuring Axum applications.