Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计未展示

skill-builder技能构建

Agent Skill

skill-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

517

周安装

22

GitHub Stars

公开资料未说明

下载量

181
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-builder(技能构建)
来源仓库:https://github.com/zacharyr0th/next-starter
仓库路径:skills/skill-builder
安装命令:
npx skills add zacharyr0th/next-starter --skill "skill-builder"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add zacharyr0th/next-starter --skill "skill-builder"

简介

skill-builder 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 它适用于研究检索类任务,能结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令安装,需指定仓库和技能名称。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Skill Builder Skill

Purpose

This skill helps users create professional, well-structured Claude Code skills that follow official best practices. It guides through:

  • Proper YAML frontmatter structure
  • Effective skill descriptions (critical for auto-invocation)
  • Complete instruction templates
  • Tool restrictions and model selection
  • File structure and organization

When to Use

This skill should be invoked when:

  • User says "create a skill", "build a skill", "make a new skill"
  • User wants to convert documentation or prompts into a skill
  • User needs help structuring skill instructions
  • User asks about skill best practices
  • User wants to improve an existing skill's description
  • User mentions "skill template" or "skill example"

Process

1. Understand the Intent

Ask the user:

  • What should the skill do? (Purpose and capabilities)
  • When should it be invoked? (Trigger conditions - critical!)
  • What scope? (Personal or project)
  • Any tool restrictions? (Security/safety)

2. Generate Skill Name

Based on the purpose, suggest a name that is:

  • Lowercase with hyphens
  • Descriptive and clear
  • Max 64 characters
  • Examples: code-reviewer, api-builder, database-optimizer

3. Craft Effective Description

This is the most critical part! The description determines when Claude invokes the skill.

Requirements:

  • Max 1024 characters
  • Must include WHAT the skill does
  • Must include WHEN to use it
  • Should include specific trigger keywords
  • Should be action-oriented

Good Example:

Use when reviewing code for security vulnerabilities, performance issues, and best practices. Automatically checks for SQL injection, XSS, CSRF, and common bugs. Invoke for pull request reviews or code audits.

Bad Example:

Reviews code

4. Create Skill Structure

Generate a complete SKILL.md file with:

---
name: skill-name
description: [Effective description with WHAT and WHEN]
allowed-tools: [Optional - only if restrictions needed]
model: [Optional - sonnet/opus/haiku, or omit for default]
---

# [Skill Name]

## Purpose

[Clear explanation of what this skill does and why it's useful]

## When to Use

This skill should be invoked when:
- [Specific trigger condition 1]
- [Specific trigger condition 2]
- [Specific trigger condition 3]

## Process

1. **Step 1**: [First action]
   - [Detail or substep]

2. **Step 2**: [Second action]
   - [Detail or substep]

3. **Step 3**: [Final action]
   - [Detail or substep]

## Output Format

[Describe what format the output should take]

## Best Practices

- [Best practice 1]
- [Best practice 2]
- [Best practice 3]

## Examples

### Example 1: [Scenario name]

**Input**: [What the user provides]

**Process**: [How the skill handles it]

**Output**: [What the skill produces]

## Error Handling

- **[Error type]**: [How to handle]
- **[Error type]**: [How to handle]

## Notes

[Any additional context, warnings, or tips]

5. Determine File Location

Personal skills (available across all projects):

~/.claude/skills/skill-name/SKILL.md

Project skills (team-shared, version controlled):

.claude/skills/skill-name/SKILL.md

6. Create Supporting Files

If needed, create:

  • README.md - Installation and usage docs
  • scripts/ - Executable scripts
  • materials/ - Reference materials, templates
  • .gitignore - For project skills

7. Validate the Skill

Check:

  • ✓ Name is lowercase-with-hyphens, max 64 chars
  • ✓ Description includes WHAT and WHEN, max 1024 chars
  • ✓ YAML frontmatter is valid
  • ✓ Instructions are clear and comprehensive
  • ✓ Examples are provided
  • ✓ "When to Use" section has specific triggers

Output Format

When creating a skill, provide:

  1. Skill metadata:

- Name: skill-name - Location: path/to/skill/ - Scope: Personal or Project

  1. Complete SKILL.md file content
  2. README.md content (for documentation)
  3. Installation instructions: # Commands to create the skill
  4. Testing guidance:

- How to verify it loaded - Example requests that should trigger it - How to refine if not auto-invoked

Best Practices

Description Writing

Include trigger keywords:

  • "Use when...", "For...", "Invoke when..."
  • Specific verbs: "reviewing", "building", "analyzing", "generating"
  • Domain terms: "API", "database", "security", "tests"

Be specific:

  • ❌ "Helps with code"
  • ✅ "Use when reviewing JavaScript code for security vulnerabilities, performance issues, and React best practices"

Tool Restrictions

Only restrict tools when necessary:

# Read-only analysis skill
allowed-tools: Read, Grep, Glob

# Can modify files
allowed-tools: Read, Write, Edit, Grep, Glob

# Needs to run commands
allowed-tools: Read, Write, Edit, Bash

# Full access (omit field)

Model Selection

# Fast, efficient (simple tasks)
model: haiku

# Balanced (most tasks)
model: sonnet

# Most capable (complex reasoning)
model: opus

# Inherit from session (omit field)

Scope Selection

Choose Personal when:

  • Experimental or personal workflow
  • Not relevant to team
  • Contains personal preferences

Choose Project when:

  • Team should use it
  • Part of development workflow
  • Standardizes team practices

Examples

Example 1: Create Code Review Skill

User Request: "Create a skill for reviewing pull requests"

Response:

I'll create a code-reviewer skill for comprehensive pull request reviews.

Skill Metadata:

  • Name: code-reviewer
  • Scope: Project (for team use)
  • Location: .claude/skills/code-reviewer/

Creating SKILL.md:

[Generate complete SKILL.md with frontmatter and all sections]

Installation:

mkdir -p .claude/skills/code-reviewer
# [Write SKILL.md content]

Testing: After restarting Claude Code, try:

  • "Review this pull request"
  • "Check this code for security issues"
  • "Analyze this PR for problems"

Refinement: If not auto-invoked, add more trigger keywords to the description like "code review", "PR review", "security audit".

Example 2: Create Database Migration Skill

User Request: "I need a skill for generating database migrations"

Response:

I'll create a db-migration-generator skill that creates safe database migration files.

[Follow same pattern as Example 1]

Example 3: Improve Existing Skill

User Request: "My skill isn't being invoked automatically"

Response:

Let me check your skill's description. The description is how Claude decides when to invoke the skill.

Current description: [Read from SKILL.md]

Issues:

  • Too vague - doesn't specify WHEN to use
  • Missing trigger keywords
  • Doesn't explain capabilities

Improved description:

description: Use when [specific trigger]. Handles [capabilities]. Invoke for [use cases].

Next steps:

  1. Update description with these changes
  2. Restart Claude Code
  3. Test with requests containing trigger keywords

Error Handling

  • Name conflicts: Suggest alternative names
  • Description too vague: Provide examples of specific descriptions
  • Invalid YAML: Show correct format with proper spacing
  • Missing sections: Add template sections
  • Too complex: Break into multiple skills
  • Tool access issues: Recommend appropriate allowed-tools

Notes

  • The description is THE MOST IMPORTANT field - it determines auto-invocation
  • Skills are discovered automatically when Claude Code starts
  • Use /skills command to see loaded skills
  • Restart Claude Code after creating/modifying skills
  • Test with explicit requests first: "Use the [skill-name] skill to..."
  • Project skills override personal skills with same name
  • Skills can reference files using relative paths
  • Use forward slashes (/) for cross-platform compatibility

Common Skill Types

Analysis Skills (Read-only)

allowed-tools: Read, Grep, Glob

Examples: code-reviewer, security-auditor, performance-analyzer

Generation Skills (Write access)

# Omit allowed-tools or include Write

Examples: api-builder, test-generator, migration-creator

Automation Skills (With scripts)

# Include Bash for script execution

Examples: deployment-helper, build-optimizer

Reference Skills (With materials)

# Include materials/ directory with templates

Examples: brand-checker, style-guide-validator

Validation Checklist

Before finishing, verify:

  • Name is valid (lowercase-hyphens, max 64 chars)
  • Description is effective (includes WHAT and WHEN, max 1024 chars)
  • YAML frontmatter is properly formatted
  • "When to Use" section has 3+ specific triggers
  • At least 1 detailed example provided
  • Instructions are clear and actionable
  • File paths use forward slashes
  • Supporting files created if needed
  • Installation instructions provided
  • Testing guidance included

Templates Available

Reference these templates from this skill's directory:

  1. code-reviewer - Security and quality reviews
  2. api-builder - REST/GraphQL endpoint creation
  3. test-generator - Test suite generation
  4. documentation-writer - Technical documentation
  5. performance-optimizer - Performance analysis

Access templates at: .claude/skills/skill-builder/templates/

Resources

  • Official Skills Documentation: ../../docs/claude/skills/overview.md
  • Skill Builder Tools: .claude/skills/skill-builder/build-skill.sh
  • Validator: .claude/skills/skill-builder/utils/validate-skill.sh
  • Quick Start Guide: .claude/skills/skill-builder/QUICK_START.md

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

30.1%
按下载量换算54

Codex

23.38%
按下载量换算42

Gemini CLI

18.66%
按下载量换算34

windsurf

11.68%
按下载量换算21

trae

7.71%
按下载量换算14

OpenCode

3.09%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills