Skip to main content

minimal-skill

This skill should be used when the user asks to "demonstrate minimal skill structure" or needs an example of the simplest possible skill configuration.

来源信息

仓库
the-perfect-developer/the-perfect-opencode
最近来源活动
2026年2月18日 17:27
检测到的 SKILL.md 语言
英语
星标
12
分支
2

安装方式

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

检查来源文件

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

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
minimal-skill
description
This skill should be used when the user asks to "demonstrate minimal skill structure" or needs an example of the simplest possible skill configuration.
# Minimal Skill Example This is the simplest possible OpenCode skill structure. ## What This Demonstrates A minimal skill consists of: - A single `SKILL.md` file - YAML frontmatter with `name` and `description` - Markdown content explaining the skill No additional resources (references/, examples/, scripts/) are required. ## When to Use Minimal Structure Use this structure when: - Skill provides simple knowledge or guidance - No detailed documentation needed - No code examples or scripts required - Content fits comfortably in 1,500-2,000 words ## Example Use Cases **Good for minimal skills**: - Quick reference guides - Simple conventions or standards - Brief workflows with few steps - Pointer skills that direct to external resources **Not good for minimal skills**: - Complex multi-step workflows → Use standard structure - Detailed API documentation → Use references/ - Code examples → Use examples/ - Utility scripts → Use scripts/ ## Structure ``` minimal-skill/ └── SKILL.md ``` That's it! Just one file. ## Content Guidelines Keep the content: - **Focused** - Cover one specific topic - **Concise** - 500-1,500 words - **Actionable** - Clear steps or guidance - **Self-contained** - Everything in this file ## Benefits **Advantages**: - Simple to create and maintain - Low context cost - Easy to understand - Quick to load **Limitations**: - Can't handle complex topics - No progressive disclosure within skill - Everything loads at once - Limited to ~2,000 words ## When to Upgrade Upgrade to standard structure (add references/) when: - Content exceeds 2,000 words - Need detailed documentation - Have multiple sub-topics - Want better progressive disclosure Upgrade to complete structure (add examples/ and scripts/) when: - Need working code examples - Have utility scripts - Require automation tools ## Summary Minimal skills are perfect for simple, focused guidance that fits in one file. They're easy to create, maintain, and use. For more complex needs, consider the standard or complete skill structures demonstrated in the other examples.
在 GitHub 查看