用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mazumba/opencode-dockerized --skill 1命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Clone important project dependency source code into an ignored local workspace so OpenCode can inspect library internals. Use when the user asks to clone dependencies, inspect dependency/source internals, understand SDK/framework behavior from source, debug library implementation details, or make core dependency repos locally readable. Do not use for ordinary API/docs questions where @librarian is enough.
Token-efficient response mode: concise, exact, no fluff, no unnecessary wrapping. Always use and persist until user says "normal mode".
Always used to reduce overcomplication, make surgical changes, surface assumptions, and define verifiable success criteria.
基于 SOC 职业分类
正在显示 SKILL.md
| description | Scaffold a new skill folder with SKILL.md, GOTCHAS.md, HISTORY.md, and starter directories |
| subtask | true |
| agent | build |
Create a new OpenCode skill. Skill name: $1. Description hint: $2.
Create the following structure under .opencode/skills/$1/:
.opencode/skills/$1/SKILL.md---
name: $1
description: <concise trigger-first description, ≤150 chars, starts with "Use when...">
---
# Skill: $1
## Overview
<2–3 sentences. What this domain IS. No step-by-step. Facts only.>
## File & Directory Map
| Path | Purpose |
|---|---|
| `SKILL.md` | This reference file |
| `GOTCHAS.md` | Known failure points and fixes |
| `HISTORY.md` | Append-only change log |
| `assets/` | Templates, static files, and output scaffolds (if any) |
| `scripts/` | Helper scripts and libraries the agent can run or compose (if any) |
## Key Facts
<Dense reference material. Patterns, constraints, naming rules, API shapes, config values.
Write what an agent needs to KNOW, not what it needs to DO.
Tables, code blocks, and bullet lists — no numbered instructions.>
## Configuration
<!-- Remove this section if the skill needs no per-user setup. -->
<!-- If the skill requires user-specific values (e.g. a Slack channel, an API endpoint),
store them in config.json in this folder. On first run, check whether config.json
exists; if not, ask the user for the required values and write the file.
Example shape:
{
"channel": "#deployments",
"environment": "production"
}
-->
## Memory
<!-- Remove this section if the skill is stateless. -->
<!-- For skills that benefit from remembering past runs (standups, recaps, deploy logs),
store data in an append-only file in this folder (e.g. history.log or runs.json).
Read the last N entries at the start of each run so context carries across sessions. -->
## Cross-References
- Related skill: `other-skill-name` — brief reason
.opencode/skills/$1/GOTCHAS.md# Gotchas
Every real mistake, wrong assumption, and edge case discovered while working in this domain.
Add an entry whenever something breaks unexpectedly. Also log it in HISTORY.md.
---
<!-- Add entries below as they are discovered. Format:
### <Short title>
**Symptom:** What you observe / what breaks
**Root cause:** Why it happens
**Fix:** What to do instead
-->
.opencode/skills/$1/HISTORY.md# History
Append a dated entry each time you modify something in this skill's domain.
Include: what changed, why, and any gotcha encountered (also add to GOTCHAS.md).
---
## <YYYY-MM-DD> — Skill created
Scaffolded via `/skill $1`. No domain changes yet.
.opencode/skills/$1/assets/.gitkeepEmpty file. The assets/ directory is for templates, output scaffolds, and static files the skill uses or produces.
.opencode/skills/$1/scripts/.gitkeepEmpty file. The scripts/ directory is for helper scripts and libraries the agent can run or compose during skill execution.
scripts/, templates and output files to assets/. Reference them in the File & Directory Map.config.json on first run and prompt the user for missing values.Use today's actual date (not a placeholder) in HISTORY.md. After creating the files and directories, confirm the paths and the description you chose.