一键导入
sync-commands
Synchronize OpenCode command markdown files from ~/.config/opencode/commands and generate docs/opencode/commands documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Synchronize OpenCode command markdown files from ~/.config/opencode/commands and generate docs/opencode/commands documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Genera archivos readme.yaml para cada skill en el directorio skills/. Usa IA para extraer metadata de SKILL.md y llena el template `readme.yaml.tpl` desde la carpeta del skill.
Synchronize and generate documentation for OpenCode MCP servers from opencode.json configuration. Use when the user wants to sync their MCP servers, generate MCP documentation, or view their configured MCP servers.
Synchronize and generate documentation for OpenCode plugins from opencode.json configuration. Use when the user wants to sync their plugins, generate plugin documentation, or view their configured plugins.
| name | sync-commands |
| description | Synchronize OpenCode command markdown files from ~/.config/opencode/commands and generate docs/opencode/commands documentation. |
| license | MIT |
| compatibility | Reads command files from ~/.config/opencode/commands. |
| metadata | {"author":"hadenlabs","version":"0.1.0"} |
Synchronize slash command markdown files and generate command documentation.
Input: None required. The skill reads directly from ~/.config/opencode/commands.
Read source command files
Read all .md files from:
~/.config/opencode/commandsSynchronize command source into repository
Synchronize source files into:
data/opencode/commands/Requirements:
Extract command metadata from each synchronized file
For each file in data/opencode/commands/*.md:
/<command-id>description value (if present)Generate per-command documentation
For each synchronized command, generate one file in:
docs/opencode/commands/<command-id>.mdInclude:
data/opencode/commands/<file>.md)Use deterministic kebab-case file names.
Generate command index
Generate:
docs/opencode/commands/README.mdIndex content:
Preserve idempotence
For synchronized files and generated docs/index:
## OpenCode Commands Synchronization
Source read: ~/.config/opencode/commands/*.md
Synchronized: data/opencode/commands/
Generated docs: docs/opencode/commands/*.md
Generated index: docs/opencode/commands/README.md
~/.config/opencode/commands