Logo Skill Creator

Skill Creator

Tổ chức
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.

Tổng quan

Nhà phát hànhkdpa-llc
Kho mãlocal-skills-mcp
Tên kỹ năngskill-creator
Sao
41
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được kdpa-llc công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Skill Creator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/kdpa-llc/local-skills-mcp/tree/main/skills/skill-creator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Skill Creator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Skill Creator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Skill Creator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Câu hỏi thường gặp

Kỹ năng AI Skill Creator làm được gì?

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.

Vì sao nên dùng Skill Creator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Skill Creator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Skill Creator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/kdpa-llc/local-skills-mcp/tree/main/skills/skill-creator. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Skill Creator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Skill Creator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Skill Creator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Skill Creator có miễn phí không?

Có. Kỹ năng này được kdpa-llc phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇