スキル一覧に戻る
kraitsura

example-skill

by kraitsura

Prompt engineering toolkit: version-controlled prompts, AI agent skills manager, sandboxed Claude sessions in git worktrees, multi-provider LLM testing

3🍴 0📅 2026年1月5日
GitHubで見るManusで実行

SKILL.md


name: example-skill description: Use when working with examples, tutorials, or skill documentation. Invoke when the user asks about skill configuration, manifest structure, or creating new skills. allowed-tools: Read, Glob, Grep

Example Skill

This is an example skill demonstrating the SKILL.md format.

What Skills Provide

Skills are instructions and context injected into the agent's system prompt. They help the agent understand:

  • When to use certain techniques or tools
  • Project-specific conventions and patterns
  • Domain knowledge and best practices

What Skills Do NOT Provide

Skills are not for:

  • CLI tools (use package managers or plugins)
  • MCP servers (use plugins with plugin.json)
  • Hooks (use plugins)
  • Slash commands (use plugins)

For those capabilities, create a full Claude Code plugin with .claude-plugin/plugin.json.

SKILL.md Format

Skills are defined by a single SKILL.md file with YAML frontmatter:

---
name: my-skill
description: When to use this skill...
allowed-tools: Read, Write, Bash
---

# My Skill

Instructions and documentation here...

Required Frontmatter Fields

FieldDescription
nameSkill identifier (kebab-case, 1-64 chars)
descriptionCritical - tells Claude when to invoke the skill

Optional Frontmatter Fields

FieldDescription
allowed-toolsComma-separated or YAML array of allowed tools

Discovery

The description field is crucial for skill discovery. Claude uses it to decide when to invoke the skill.

Good descriptions:

  • "Use when managing git branches, resolving merge conflicts, or reviewing commit history"
  • "Use when working with React components, hooks, or state management"

Bad descriptions:

  • "Git utilities" (too vague)
  • "React helper" (won't trigger reliably)

Example Use Cases

This skill covers:

  1. Explaining skill structure and format
  2. Helping users create new skills
  3. Demonstrating best practices for skill documentation

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です