用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/digi4care/opencode-mastery --skill minimal-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | minimal-skill |
| description | Demonstrates the absolute basics of an OpenCode skill |
I demonstrate the simplest possible OpenCode skill structure to help you understand the fundamentals.
Skills are INSTRUCTIONS, not code. An OpenCode skill is a Markdown file with frontmatter that provides guidance to the AI assistant. The assistant reads the skill file and follows its instructions.
This skill contains only one file:
skills/minimal/
└── SKILL.md ← You are here!
That's it! No scripts, no configuration, no code. Just instructions in Markdown.
Every OpenCode skill starts with YAML frontmatter:
---
name: skill-name
description: One-line description
---
This frontmatter tells OpenCode:
Since this is just a demonstration skill, you can't really "use" me for anything practical. However, you can:
When an OpenCode skill needs to execute commands, it uses the Bash tool. Here's a simple example:
echo "Hello from OpenCode skills!"
The AI assistant would execute this command and show you the output.
After studying this minimal example, you should understand:
Difficulty: ⭐ (Absolute beginner) Complexity: Minimal (1 file) Learning Curve: Instant understanding Use Case: Proof of concept, quick reference, educational demo
Persistent memory system with .memory.md, compaction, and cross-project sync
Analyzes sessions using ACE framework to generate prompt improvement suggestions focused on durable patterns.
Database technology selection and architecture - choose between SQL vs NoSQL, PostgreSQL vs MySQL vs MongoDB, scaling strategies, migration planning. Use for database DECISIONS. For PostgreSQL implementation use postgresql skill.