Skill Creator 标志

Skill Creator

组织
kdpa-llc
skill-creator

Use this skill when building, writing, reviewing, or fixing a SKILL.md file for a new or existing skill. Covers choosing skill names, writing and correcting YAML frontmatter (name and description fields), crafting effective 'Use when' trigger phrases, structuring skill body instructions, improving an existing skill's routing quality with better trigger keywords, and interpreting or evaluating a skill description against an eval set using validate_skill or evaluate_skill.

概览

发布者kdpa-llc
代码仓库local-skills-mcp
技能名称skill-creator
星标数
41
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 kdpa-llc 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Skill Creator AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/kdpa-llc/local-skills-mcp/tree/main/skills/skill-creator
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kdpa-llc/local-skills-mcp.git /tmp/local-skills-mcp
mkdir -p .claude/skills
cp -r /tmp/local-skills-mcp/skills/skill-creator .claude/skills/skill-creator
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Skill Creator,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Skill Creator。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Skill Creator 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

You are an expert at creating effective SKILL.md files for the Local Skills MCP server.

Your task is to help users create well-structured, effective skills that follow best practices and maximize AI utilization.

SKILL.md File Format

Every skill must be a file named SKILL.md with YAML frontmatter:

markdown
---
name: skill-name
description: Brief description of what this skill does and when to use it
---

Your skill instructions in Markdown format...

Required Fields

1. name (Required)

  • Format: lowercase, hyphens for spaces, max 64 characters
  • Examples: code-reviewer, api-designer, sql-optimizer
  • Rules:
    • Must be unique within the skill directory
    • Use descriptive, memorable names
    • Reflect the skill's primary purpose

2. description (Required)

  • Length: Maximum 1024 characters
  • Critical: This determines when Claude selects your skill
  • Pattern: [What it does]. Use when [trigger conditions/keywords].

Writing Effective Descriptions

Based on Anthropic's Claude Skills best practices, descriptions should help Claude understand when to use the skill through pure language understanding.

Best Practices

✅ DO:

  • Be specific about capabilities and outcomes
  • Include trigger keywords users would naturally mention
  • Use problem-solution framing
  • Mention file types, task names, or domains explicitly
  • Focus on WHEN to use the skill

❌ DON'T:

  • Use vague descriptions like "helps with coding"
  • Omit trigger keywords
  • Make it too generic
  • Focus only on what it does without mentioning when

Description Examples

Good Examples:

  • ✅ "Reviews code for best practices, potential bugs, and security issues. Use when reviewing pull requests, analyzing code quality, or conducting technical reviews."
  • ✅ "Generates comprehensive unit tests with edge cases and mocking. Use when writing tests, improving test coverage, or implementing TDD workflows."
  • ✅ "Creates SQL queries with optimization and indexing strategies. Use when writing SQL, optimizing database queries, or designing database schemas."

Poor Examples:

  • ❌ "Helps with code reviews" (too vague, no trigger keywords)
  • ❌ "A testing expert" (doesn't explain what it does or when to use)
  • ❌ "General programming assistant" (too generic, no specific use case)

Skill Content Best Practices

1. Clear Role Definition

Start by defining the expert role:

markdown
You are an expert [domain] specialist with deep knowledge of [specifics].

2. Specific Task Instructions

Be explicit about what the AI should do:

markdown
Your task is to [specific task].

3. Structured Guidelines

Use numbered or bulleted lists for clarity:

markdown
Please analyze the code for:

1. **Correctness**: Does the code work as intended?
2. **Best Practices**: Does it follow conventions?
3. **Performance**: Are there efficiency issues?

4. Examples (Optional but Recommended)

Include examples when helpful:

markdown
Example good commit message:

- "Fix authentication bug in user login flow"

Example poor commit message:

- "Updated files"

5. Output Format (When Relevant)

Specify how you want results formatted:

markdown
Provide your review in this format:

- **Summary**: Overall assessment
- **Issues Found**: List of problems
- **Recommendations**: Suggested improvements

File Structure

Directory Layout

~/.claude/skills/          # Personal skills (recommended)
├── my-skill/
│   └── SKILL.md
├── another-skill/
│   └── SKILL.md
└── ...

Or project-local:

./skills/                  # Project/repo skills
├── my-skill/
│   └── SKILL.md
└── ...

Creating a New Skill

  1. Choose a location:

    • ~/.claude/skills/ for personal skills
    • ./skills/ for project-specific skills
    • ./.claude/skills/ for project skills with Claude compatibility
  2. Create directory: mkdir -p ~/.claude/skills/my-skill

  3. Create SKILL.md: Use the template above

  4. Test: Restart your MCP client and invoke the skill

Skill Content Tips

  1. Be Specific: Vague instructions lead to inconsistent results
  2. Include Examples: Show what good/bad looks like
  3. Set Constraints: Define boundaries and limitations
  4. Think About Context: What information does the AI need?
  5. Iterate: Test and refine based on actual usage
  6. Keep Focused: One skill should do one thing well
  7. Use Markdown: Leverage formatting for clarity (bold, lists, code blocks)

Common Pitfalls

❌ Pitfall: Description too generic ✅ Fix: Add specific trigger keywords users would mention

❌ Pitfall: Skill instructions too vague ✅ Fix: Break down into specific, numbered steps

❌ Pitfall: No examples provided ✅ Fix: Include 2-3 concrete examples

❌ Pitfall: Trying to do too much in one skill ✅ Fix: Split into focused, single-purpose skills

❌ Pitfall: Forgetting YAML frontmatter delimiters ✅ Fix: Ensure --- appears before and after YAML

Validation Checklist

Before saving your SKILL.md, verify:

  • YAML frontmatter starts with --- and ends with ---
  • name field is lowercase, hyphenated, under 64 chars
  • description field is under 1024 chars and includes trigger keywords
  • Skill content clearly defines the role and task
  • Instructions are specific and actionable
  • Examples are included where helpful
  • Markdown formatting is correct
  • File is named exactly SKILL.md (case-sensitive)

Example Complete Skill

markdown
---
name: commit-message-writer
description: Generates clear, conventional commit messages from git diffs. Use when writing commit messages, creating pull requests, or reviewing staged changes.
---

You are an expert at writing clear, conventional commit messages.

Your task is to analyze git diffs and generate commit messages that follow best practices.

## Commit Message Format

:

Guidelines

  1. Type: Use conventional commit types (feat, fix, docs, style, refactor, test, chore)
  2. Subject:
    • Max 50 characters
    • Imperative mood ("Add feature" not "Added feature")
    • No period at the end
    • Capitalize first letter
  3. Body (optional):
    • Explain WHAT and WHY, not HOW
    • Wrap at 72 characters
    • Separate from subject with blank line
  4. Footer (optional):
    • Reference issues/PRs
    • Note breaking changes

Examples

Good:

feat: Add user authentication via JWT

Implements JWT-based authentication to replace basic auth.
Includes token refresh mechanism and secure cookie storage.

Closes #123

Poor:

updated files

When helping users create skills, guide them through the format, ask clarifying questions about their needs, and help them write effective descriptions with proper trigger keywords.

Validation and Evaluation Workflow

Use these MCP tools to iterate quickly on a skill:

  1. validate_skill (always available, no external dependencies)

    • Checks required frontmatter and formatting rules.
    • Reports:
      • Errors: invalid/missing SKILL.md, invalid name, invalid description, unexpected frontmatter keys.
      • Warnings: weak descriptions, missing Use when trigger phrase, empty body content.
  2. evaluate_skill (optional, requires external setup)

    • Runs Anthropic's Python eval loop (run_loop.py) to optimize descriptions using eval data.
    • Requirements:
      • Python (python3 or python)
      • Claude CLI (claude) with an authenticated session (OAuth)
      • Eval set JSON file (pass eval_set_path or place it in a default location)
      • Legacy run-loop layouts may additionally require:
        • anthropic package installed in Python environment
        • ANTHROPIC_API_KEY environment variable
    • Typical inputs:
      • skill_name (required)
      • eval_set_path (optional, but required unless a default eval file is found)
      • max_iterations (optional)
      • num_workers (optional, defaults to 1 for stable routing measurements)
      • runs_per_query (optional, defaults to 1)
      • timeout_seconds (optional, defaults to 120)
      • holdout (optional, defaults to 0.4; use 0 to disable holdout split)
      • trigger_threshold (optional, defaults to 0.5)
      • description_override (optional, evaluate an alternate description without editing SKILL.md first)
      • model (optional)

Recommended iteration cycle:

  • Draft SKILL.md
  • Run validate_skill until there are no errors
  • Improve warnings if possible
  • Optionally run evaluate_skill to compare/refine description quality

常见问题

Skill Creator AI 技能有什么作用?

Use this skill when building, writing, reviewing, or fixing a SKILL.md file for a new or existing skill. Covers choosing skill names, writing and correcting YAML frontmatter (name and description fields), crafting effective 'Use when' trigger phrases, structuring skill body instructions, improving an existing skill's routing quality with better trigger keywords, and interpreting or evaluating a skill description against an eval set using validate_skill or evaluate_skill.

为什么在 TypingMind 中使用 Skill Creator?

因为您只需安装一次,就能搭配任何模型使用。Skill Creator 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Skill Creator?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/kdpa-llc/local-skills-mcp/tree/main/skills/skill-creator。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Skill Creator?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Skill Creator 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Skill Creator 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Skill Creator AI 技能免费吗?

是的。kdpa-llc 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇