Skip to main content

sample-skill

Use when the user says sample skill, skill demo, or asks how an opencode SKILL.md should be structured; demonstrates a tiny project-local skill with practical assistant workflow guidance.

来源信息

仓库
anomalyco/opencode
最近来源活动
2026年7月1日 18:40
检测到的 SKILL.md 语言
英语
星标
212,705
分支
28,458

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
sample-skill
description
Use when the user says sample skill, skill demo, or asks how an opencode SKILL.md should be structured; demonstrates a tiny project-local skill with practical assistant workflow guidance.
# Sample Skill This is a minimal project-local opencode skill. It exists as a reference for how a skill is structured and as a tiny reusable workflow the assistant can load when the user asks for a skill example. ## When To Use - Use when the user asks for a sample skill or skill template. - Use when demonstrating the required `SKILL.md` frontmatter and body format. - Do not use for unrelated coding tasks just because a skill exists. ## Workflow - Confirm the specific outcome the user wants if the request is ambiguous. - Inspect the relevant files before changing anything. - Make the smallest correct change. - Verify the result with a focused read, typecheck, test, or other lightweight check when available. - Summarize the changed files and any required restart or reload step. ## Example Response Style When this skill is relevant, keep responses direct and actionable: ```text I created a project-local skill at .opencode/skills/sample-skill/SKILL.md. Restart opencode for the new skill to be discovered by future sessions. ```
在 GitHub 查看