示例最小技能

diegosouzapw2026-10-26查看 941复制 1396

当用户要求“做点简单的事”、“执行基本任务”,或需要最少指导时,应使用此技能。演示尽可能最简单的技能结构。

Download (.md)

📘如何使用这个技能

  1. 1
    复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
  2. 2
    打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
  3. 3
    粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
  4. 4
    直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景

💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。

SKILL.md1586 chars
---
name: example-minimal-skill
description: This skill should be used when the user asks to "do something simple", "perform basic task", or needs minimal guidance. Demonstrates the simplest possible skill structure.
compatibility: opencode
---

# Example Minimal Skill

## When to Use This Skill

### Primary Triggers (Explicit)

Use this skill when the user says:
- "do something simple"
- "perform basic task"
- "show me minimal example"

### Contextual Triggers (Implicit)

Use this skill when:
- Task is straightforward and well-defined
- No extensive documentation needed
- Single-concept guidance required

## Purpose

Provide basic guidance for a simple, well-defined task that doesn't require extensive documentation, bundled resources, or complex workflows.

This minimal skill structure works well for:
- Simple, well-defined tasks
- Tasks that don't require extensive documentation
- Quick reference guides
- Single-concept skills

## How to Use

Follow these steps:

1. Understand the task requirements
2. Apply the core technique described below
3. Verify the result

## Core Technique

The main approach for this task:

```
[Provide clear, step-by-step instructions here]
```

Key points:
- Keep instructions concise
- Use imperative form
- Focus on essential steps only

## Validation

Verify the result by:
- Checking output matches expectations
- Testing edge cases
- Confirming requirements are met

## When to Expand

For more complex tasks, consider adding:
- `references/` - Detailed documentation
- `examples/` - Working code samples
- `scripts/` - Utility tools
来源:skillsdirectory

评论0

登录后参与评论

还没有评论,来抢沙发吧