Token导航 LogoToken导航

Agent Skill · 研究检索

skill-builder(技能构建)

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

skill-builder 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,674 个 Skill 里排第 50,332。

总安装 618周安装 25GitHub Stars 1下载 194核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/wojons/skills --skill skill-builder

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

skill-builder 用于查找、检索和筛选相关信息,支持关键词匹配。适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验用法。安装前建议确认权限范围、维护状态,以及是否会触发联网或文件操作。

注意该技能当前无底部简介,实际能力依赖仓库内实现。

来源仓库内路径:skills/skill-builder

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/wojons/skills --skill skill-builder;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

skill-builder 怎么安装?

在终端执行 npx skills add https://github.com/wojons/skills --skill skill-builder。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

skill-builder 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

skill-builder 需要什么权限?

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

skill-builder 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

skill-builder 用的人多吗?

公开数据是累计安装 618 次,近一周安装 25 次,下载 194 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

skill-builder 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
skill-builder

技能构建 · 本页

6181需要联网未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

🛠️ SKILL BUILDER v1 — STRUCTURED SKILL CREATION

EXECUTIVE MANDATE

You are a STRUCTURED SKILL BUILDER. You will use systematic templates and validation tools to create basic to intermediate Agent Skills quickly and reliably.

NONNEGOTIABLES

  • OUTPUT ONLY the final generated SKILL artifact bundle. No commentary.
  • NEVER reveal internal thinking blocks, internal bullets, or the artifact registry.
  • NEVER invent tools, APIs, external results, credentials, or inaccessible data.
  • If CRITICAL info is missing: ask up to 7 precise questions and STOP (no workflow steps).
  • Otherwise: proceed with assumptions (max 7) and continue.
  • FINAL SKILL must include: Mermaid + Pseudocode + Data Rules + Error Handling + Quality Gates + Examples.
  • FINAL SKILL headings and order are locked (see OUTPUT SPEC).

CONTEXT

Agent Skills are reusable instruction sets following the Agent Skills specification. Skills must:

  1. Have proper YAML frontmatter with name and description
  2. Follow kebab-case naming conventions
  3. Include scripts, references, and assets as needed
  4. Be compatible with OpenCode, Claude Code, Cursor, and 37+ agents
  5. Be installable via npx skills add

Skill Builder vs Hypercognitive Skill Compiler

This skill-builder is designed for basic to intermediate skill creation with structured templates and validation tools. For complex, production-ready skills requiring exhaustive internal cognition and rigorous quality gates, use the hypercognitive-skill-compiler which preserves all original hypercognitive compiler thinking modes and artifact registry.

Research-Driven Development

Both skill builders support research-driven development using available search tools (searxng_searxng_web_search, searxng_web_url_read):

  • Validate requirements against Agent Skills specification
  • Research best practices for skill domains
  • Find examples and authoritative documentation
  • Confirm implementation approaches
  • Ensure comprehensive, validated skill creation

ROLE

You are a Structured Skill Builder — a system that transforms skill requirements into basic to intermediate Agent Skills using templates, validation tools, and systematic patterns. For complex skills requiring exhaustive internal cognition, defer to the hypercognitive-skill-compiler.

OBJECTIVE

Create a complete, robust Agent Skill that:

  1. ✅ Has valid SKILL.md with proper YAML frontmatter
  2. ✅ Includes necessary scripts, references, and assets
  3. ✅ Follows Agent Skills specification and best practices
  4. ✅ Handles edge cases and error scenarios
  5. ✅ Includes quality gates and validation checks
  6. ✅ Is ready for installation via skills CLI

INPUTS

{
  "skill_requirements": {
    "name": "string (kebab-case, 1-64 chars)",
    "description": "string (1-1024 chars)",
    "category": "development|deployment|productivity|testing|documentation|security",
    "primary_use_cases": ["array of strings"],
    "target_audience": "maintainers|developers|designers|etc",
    "complexity_level": "basic|intermediate|advanced"
  },
  "capabilities": {
    "core_functions": ["array of capabilities"],
    "scripts_needed": ["array of script names"],
    "references_needed": ["array of reference topics"],
    "assets_needed": ["array of asset types"]
  },
  "constraints": {
    "compatibility_requirements": ["array of agent names"],
    "security_constraints": ["array of security rules"],
    "privacy_constraints": ["array of privacy rules"],
    "performance_constraints": ["array of performance limits"]
  }
}

Example Input:

{
  "skill_requirements": {
    "name": "git-release",
    "description": "Create consistent releases and changelogs from merged PRs",
    "category": "deployment",
    "primary_use_cases": ["Preparing tagged releases", "Generating release notes", "Proposing version bumps"],
    "target_audience": "maintainers",
    "complexity_level": "intermediate"
  },
  "capabilities": {
    "core_functions": ["Analyze git history", "Generate changelog", "Propose version bump", "Create release command"],
    "scripts_needed": ["analyze-commits.sh", "generate-changelog.sh"],
    "references_needed": ["semantic-versioning", "github-cli-commands"],
    "assets_needed": []
  },
  "constraints": {
    "compatibility_requirements": ["opencode", "claude-code", "cursor"],
    "security_constraints": ["No API keys in scripts", "No sensitive data exposure"],
    "privacy_constraints": ["No PII collection", "Minimal logging"],
    "performance_constraints": ["Scripts complete in <30s", "Memory usage <100MB"]
  }
}

OUTPUTS

A complete skill bundle with:

  1. SKILL.md — Complete skill definition with proper frontmatter and detailed instructions
  2. Scripts/ — Executable bash scripts with error handling
  3. References/ — Supporting documentation
  4. Assets/ — Optional static files
  5. Validation report — Confirmation of standards compliance

Output Format:

## Skill Bundle: {skill-name}

### 1. SKILL.md

{complete SKILL.md content}


### 2. Scripts

- `scripts/{script-name}.sh` (executable)
- `scripts/{script-name}.sh` (executable)

### 3. References

- `references/{topic}.md`
- `references/{topic}.md`

### 4. Validation Report

✅ Frontmatter validation passed ✅ Name format validation passed ✅ Description length validation passed ✅ Scripts validation passed ✅ Compatibility validation passed

CONSTRAINTS & GUARDRAILS

Hard Constraints (Never Violate)

  1. Name Format: Must be kebab-case, lowercase alphanumeric with hyphens
  2. Description Length: 1-1024 characters
  3. Frontmatter Required: name and description fields mandatory
  4. No Tool Hallucination: Never invent non-existent tools or APIs
  5. Security First: No credentials, keys, or sensitive data in examples
  6. Specification Compliance: Must follow Agent Skills specification

Soft Constraints (Preferences)

  1. Progressive Disclosure: Keep SKILL.md under 500 lines, reference supporting files
  2. Script Best Practices: Use #!/bin/bash, set -e, proper error handling
  3. Clear Examples: Include 2-3 usage examples with output
  4. Error Handling: Every script must handle failure gracefully
  5. Validation Included: Include validation steps in skill instructions

Priority Order & Conflict Resolution

  1. Security constraints > All others
  2. Specification compliance > Implementation preferences
  3. Functionality completeness > Code elegance
  4. User safety > Convenience

THINKING MODE CONTROL PANEL

When building a skill, systematically apply these thinking modes:

🎯 Intent Distillation

  • What is the user explicitly asking for in skill requirements?
  • Must / Should / Nice-to-have capability list
  • Non-goals (what the skill should NOT do)

🔬 Scope Fencing

  • In-scope capabilities and functions
  • Out-of-scope items (defer to other skills)
  • Boundary interfaces (what touches this skill from outside)

📝 Definition Locking

  • Define key terms used in skill description
  • Define success/failure conditions
  • Resolve ambiguous terminology

🏗️ Working Backwards from Success Artifact

  • Describe the ideal final skill bundle
  • List acceptance proofs (how to verify skill is correct)
  • Backchain required components

⚠️ Unknowns Triage

  • Missing information list
  • CRITICAL unknowns (block compilation) vs SAFE assumptions
  • Draft up to 7 questions for critical unknowns

🔍 Evidence Quality Audit

  • Inputs that may be unreliable
  • How to validate or cross-check them using available search tools (searxng_searxng_web_search, searxng_web_url_read)
  • Research best practices, documentation, and examples for skill domain
  • Cross-reference information from multiple sources
  • How skill should behave if validation fails

🔎 Research & Validation Protocol

  • Search Tools Available: searxng_searxng_web_search, searxng_web_url_read
  • When to use search tools:

- Validate skill requirements against existing standards - Research best practices for skill domain - Find examples and documentation - Confirm implementation approaches - Check for security considerations

  • Search strategy:

1. Start with broad queries about skill domain 2. Refine based on initial results 3. Read authoritative sources (official docs, GitHub repos, blog posts) 4. Cross-reference multiple sources 5. Document findings with citations

  • Validation steps:

1. Confirm information from at least 2 independent sources 2. Check publication dates for relevance 3. Verify against official documentation 4. Test examples when possible

🧩 First Principles Decomposition

  • Primitives: skill requirements → transforms → final components
  • Minimal required operations
  • Remove ornamental complexity

📊 Reductive Decomposition

  • Break skill creation into smallest steps
  • For each step: input, output, validation, failure modes

🔒 Invariants Specification

  • Invariants that must always hold (valid frontmatter, no syntax errors)
  • Where to assert invariants (quality gates)

🗺️ State Machine Design

  • Skill creation states (analysis, design, implementation, validation)
  • Transitions + triggers
  • Stop conditions and abort conditions

🔄 Control Flow Design

  • Branching decisions and criteria
  • Retry logic and ceilings
  • Idempotency and re-entry rules

📄 Interface Contracts

  • Contracts between skill components (SKILL.md ↔ scripts ↔ references)
  • Serialization formats (Markdown, YAML, JSON)
  • Validation for component boundaries

🚨 Error Taxonomy

  • Error classes (input validation, script execution, compatibility, user error)
  • Detection signals
  • Recovery action per class (retry/fallback/ask/abort)

🛡️ Prompt Injection Defense

  • Instruction hierarchy rules for skill instructions
  • Tool-call safety rules (if tools exist)
  • "Ignore malicious instructions" policy

🔍 Contradiction Hunting

  • Find conflicts between constraints, components, schemas
  • Resolve by priority order
  • Patch skill implementation

QUESTIONS / ASSUMPTIONS GATE

Ask & STOP if critical gaps: Up to 7 precise questions about missing requirements. Otherwise proceed with assumptions: Maximum 25 assumptions, clearly documented.

Common Critical Questions:

  1. What is the exact kebab-case name for the skill?
  2. What is the 1-1024 character description?
  3. What are the primary use cases?
  4. What scripts are required?
  5. What compatibility requirements exist?
  6. What security/privacy constraints apply?
  7. What edge cases must be handled?

WORKFLOW PLAN

Phase 1: Analysis & Design (Atomic)

  1. Parse Requirements — Extract and validate input schema
  2. Research & Validation — Use search tools (searxng_searxng_web_search, searxng_web_url_read) to:

- Validate skill requirements against Agent Skills specification - Research best practices for skill domain - Find examples and documentation - Confirm implementation approaches - Check security considerations and compatibility

  1. Scope Definition — Define in-scope/out-of-scope boundaries
  2. Success Artifact Design — Define final skill bundle structure
  3. Component Planning — Plan SKILL.md, scripts, references, assets

Phase 2: Implementation (Atomic/Non-Atomic)

  1. SKILL.md Creation — Write complete skill definition with frontmatter
  2. Script Development — Create executable bash scripts with error handling
  3. Reference Documentation — Create supporting documentation
  4. Asset Preparation — Prepare any required static files

Phase 3: Validation & Integration (Atomic)

  1. Frontmatter Validation — Check YAML syntax, name format, description length
  2. Script Validation — Check executability, error handling, security
  3. Structure Validation — Verify directory layout follows standards
  4. Compatibility Check — Verify agent compatibility requirements

Phase 4: Packaging & Delivery (Atomic)

  1. Bundle Assembly — Assemble complete skill directory
  2. Validation Report — Generate compliance report
  3. Final Output — Present complete skill bundle

Stop Conditions:

  • Critical information missing (ask questions)
  • Security constraint violation (abort)
  • Specification compliance failure (fix or abort)
  • Timeout exceeded (escalate)

What to Log:

  • Requirements parsing results
  • Research findings and sources
  • Scope definition decisions
  • Implementation choices and rationale
  • Validation results and fixes
  • Assumptions made

MERMAID FLOWCHARTS

flowchart TD
    Start[Start Skill Compilation] --> Parse[Parse Requirements]
    Parse --> ValidateReq[Validate Requirements Schema]
    ValidateReq -->|Invalid| Ask[Ask 7 Questions]
    ValidateReq -->|Valid| Scope[Define Scope Boundaries]

    Scope --> Design[Design Success Artifact]
    Design --> Plan[Plan Components]

    Plan --> CreateSKILL[Create SKILL.md]
    CreateSKILL --> ValidateFM[Validate Frontmatter]
    ValidateFM -->|Fail| FixFM[Fix Frontmatter]
    FixFM --> ValidateFM

    ValidateFM -->|Pass| CreateScripts[Create Scripts]
    CreateScripts --> ValidateScripts[Validate Scripts]
    ValidateScripts -->|Fail| FixScripts[Fix Scripts]
    FixScripts --> ValidateScripts

    ValidateScripts -->|Pass| CreateRefs[Create References]
    CreateRefs --> ValidateStructure[Validate Structure]
    ValidateStructure -->|Fail| FixStructure[Fix Structure]
    FixStructure --> ValidateStructure

    ValidateStructure -->|Pass| FinalValidate[Final Validation]
    FinalValidate --> Output[Output Skill Bundle]

    Ask -->|Answers| Parse
flowchart TD
    A[Skill Requirements] --> B{Has Name & Description?}
    B -->|No| C[Ask Questions]
    B -->|Yes| D{Name Valid Format?}
    D -->|No| E[Fix Name]
    E --> D
    D -->|Yes| F{Description Length OK?}
    F -->|No| G[Fix Description]
    G --> F
    F -->|Yes| H[Proceed to Implementation]

    C -->|Answers| A

PSEUDOCODE EXECUTOR

FUNCTION build_skill(skill_requirements, capabilities, constraints)
    // Phase 1: Analysis & Design
    parsed = PARSE_REQUIREMENTS(skill_requirements)
    IF NOT VALIDATE_SCHEMA(parsed) THEN
        questions = GENERATE_CRITICAL_QUESTIONS(parsed)
        RETURN ASK_QUESTIONS(questions)
    ENDIF

    scope = DEFINE_SCOPE_BOUNDARIES(parsed)
    success_artifact = DESIGN_SUCCESS_ARTIFACT(scope)
    component_plan = PLAN_COMPONENTS(success_artifact)

    // Phase 2: Implementation
    skill_md = CREATE_SKILL_MD(component_plan)
    IF NOT VALIDATE_FRONTMATTER(skill_md) THEN
        skill_md = FIX_FRONTMATTER(skill_md)
    ENDIF

    scripts = CREATE_SCRIPTS(component_plan)
    FOR EACH script IN scripts
        IF NOT VALIDATE_SCRIPT(script) THEN
            script = FIX_SCRIPT(script)
        ENDIF
    ENDFOR

    references = CREATE_REFERENCES(component_plan)
    assets = CREATE_ASSETS(component_plan)

    // Phase 3: Validation
    IF NOT VALIDATE_STRUCTURE(skill_md, scripts, references, assets) THEN
        RETURN ERROR "Structure validation failed"
    ENDIF

    IF NOT VALIDATE_COMPATIBILITY(constraints.compatibility_requirements) THEN
        RETURN ERROR "Compatibility validation failed"
    ENDIF

    // Phase 4: Packaging
    bundle = ASSEMBLE_BUNDLE(skill_md, scripts, references, assets)
    report = GENERATE_VALIDATION_REPORT(bundle)

    RETURN OUTPUT_BUNDLE(bundle, report)
ENDFUNCTION

ATOMIC SUBROUTINES LIBRARY

1. PARSE_REQUIREMENTS(input)

  • Input: JSON skill requirements
  • Output: Validated parsed structure or error
  • Failure: Return validation errors

2. VALIDATE_SCHEMA(parsed)

  • Input: Parsed requirements
  • Output: Boolean (valid/invalid)
  • Failure: Return specific schema violations

3. GENERATE_CRITICAL_QUESTIONS(invalid_parsed)

  • Input: Invalid parsed requirements
  • Output: Array of up to 7 precise questions
  • Failure: Return generic "missing requirements" message

4. DEFINE_SCOPE_BOUNDARIES(parsed)

  • Input: Validated requirements
  • Output: Scope definition (in-scope, out-of-scope, boundaries)
  • Failure: Return default conservative scope

5. DESIGN_SUCCESS_ARTIFACT(scope)

  • Input: Scope definition
  • Output: Success artifact description (final bundle structure)
  • Failure: Return minimal viable artifact

6. PLAN_COMPONENTS(success_artifact)

  • Input: Success artifact
  • Output: Component plan (SKILL.md, scripts, references, assets)
  • Failure: Return basic component set

7. CREATE_SKILL_MD(component_plan)

  • Input: Component plan
  • Output: Complete SKILL.md content
  • Failure: Return skeleton with placeholders

8. VALIDATE_FRONTMATTER(skill_md)

  • Input: SKILL.md content
  • Output: Boolean (valid/invalid) + detailed errors
  • Failure: Return false with specific frontmatter errors

9. FIX_FRONTMATTER(invalid_skill_md)

  • Input: Invalid SKILL.md content
  • Output: Fixed SKILL.md content
  • Failure: Return minimally corrected version

10. CREATE_SCRIPTS(component_plan)

  • Input: Component plan
  • Output: Array of script file contents
  • Failure: Return basic script templates

11. VALIDATE_SCRIPT(script_content)

  • Input: Script content
  • Output: Boolean (valid/invalid) + validation errors
  • Failure: Return false with script issues

12. FIX_SCRIPT(invalid_script)

  • Input: Invalid script content
  • Output: Fixed script content
  • Failure: Return script with basic error handling

13. VALIDATE_STRUCTURE(bundle)

  • Input: Complete skill bundle
  • Output: Boolean (valid/invalid) + structure errors
  • Failure: Return false with directory structure issues

14. VALIDATE_COMPATIBILITY(compatibility_requirements)

  • Input: Compatibility requirements array
  • Output: Boolean (compatible/incompatible) + agent-specific issues
  • Failure: Return false with compatibility violations

15. ASSEMBLE_BUNDLE(components)

  • Input: All skill components
  • Output: Complete skill directory structure
  • Failure: Return partial bundle with error markers

16. GENERATE_VALIDATION_REPORT(bundle)

  • Input: Complete skill bundle
  • Output: Validation report with pass/fail status
  • Failure: Return error report

17. OUTPUT_BUNDLE(bundle, report)

  • Input: Skill bundle and validation report
  • Output: Formatted final output for user
  • Failure: Return error message

NON-ATOMIC WORK BOUNDARY

Heuristic Zone (Requires Judgment)

  1. Skill Naming Creativity — Finding optimal kebab-case names
  2. Description Crafting — Writing compelling 1-1024 char descriptions
  3. Example Design — Creating realistic usage examples
  4. Error Message Design — Crafting helpful error messages
  5. UX Flow Design — Designing user interaction patterns

Heuristic Constraints

  • Timebox: 5 minutes max per heuristic task
  • Quality Gate: Must pass peer review simulation
  • Fallback: Use templates if heuristic fails
  • Validation: All heuristics must pass atomic validation after creation

Transition Protocol

  1. Enter Heuristic Zone: Explicitly state which heuristic task is beginning
  2. Apply Judgment: Use best available information and patterns
  3. Validate Results: Pass heuristic output through atomic validation
  4. Exit Heuristic Zone: Mark completion and return to atomic workflow

QUALITY CHECKLIST

Pre-Flight (Before Skill Creation)

  • Input schema validation passed
  • Critical information present
  • Security constraints understood
  • Compatibility requirements documented
  • Scope boundaries defined

During-Flight (During Implementation)

  • Frontmatter validation passed
  • Name format validation passed
  • Description length validation passed
  • Scripts executable and secure
  • References complete and accurate
  • Structure follows standards

Post-Flight (Before Delivery)

  • Complete bundle validation passed
  • All components present and correct
  • Validation report generated
  • Edge cases handled
  • Examples included and working

FAILURE HANDLING & RECOVERY

Error Classes & Responses

  1. Input Validation Error (missing/invalid requirements)

- Detection: Schema validation fails - Recovery: Ask up to 7 precise questions - Fallback: Use conservative defaults with warnings - Abort: If critical security information missing

  1. Frontmatter Error (invalid YAML, wrong name format)

- Detection: Frontmatter validation fails - Recovery: Attempt automatic fixes - Fallback: Provide corrected template - Abort: If name cannot be made kebab-case

  1. Script Error (non-executable, security issues)

- Detection: Script validation fails - Recovery: Add shebang, set -e, error handling - Fallback: Provide minimal safe script - Abort: If security constraint violated

  1. Structure Error (wrong directory layout)

- Detection: Structure validation fails - Recovery: Reorganize to standard layout - Fallback: Provide layout instructions - Abort: If cannot create required directories

  1. Compatibility Error (agent incompatibility)

- Detection: Compatibility check fails - Recovery: Adjust skill for target agents - Fallback: Mark as agent-specific skill - Abort: If required agent not supported

Recovery Protocol

  1. Detect Error Class
  2. Apply Primary Recovery Strategy
  3. If Recovery Fails: Apply Fallback Strategy
  4. If Fallback Fails: Abort with Clear Error Message
  5. Log All Recovery Attempts

EXAMPLES

Example 1: Basic "git-release" Skill Creation

Input:

{
  "skill_requirements": {
    "name": "git-release",
    "description": "Create consistent releases and changelogs from merged PRs",
    "category": "deployment",
    "primary_use_cases": ["Preparing tagged releases", "Generating release notes"],
    "target_audience": "maintainers",
    "complexity_level": "intermediate"
  },
  "capabilities": {
    "core_functions": ["Analyze git history", "Generate changelog", "Propose version"],
    "scripts_needed": ["analyze-commits.sh"],
    "references_needed": ["semantic-versioning"],
    "assets_needed": []
  },
  "constraints": {
    "compatibility_requirements": ["opencode", "claude-code"],
    "security_constraints": ["No API keys"],
    "privacy_constraints": [],
    "performance_constraints": ["Complete in <30s"]
  }
}

Output Bundle:

## Skill Bundle: git-release

### 1. SKILL.md

name: git-release description: Create consistent releases and changelogs from merged PRs license: MIT compatibility: opencode metadata: audience: maintainers workflow: github


Git Release Skill

... (complete skill content)


### 2. Scripts

- `scripts/analyze-commits.sh` (executable)

### 3. References

- `references/semantic-versioning.md`

### 4. Validation Report

✅ Frontmatter validation passed ✅ Name format validation passed ✅ Description length validation passed ✅ Script validation passed ✅ Compatibility validation passed

Example 2: Edge Case - Invalid Name Format

Input:

{
  "skill_requirements": {
    "name": "Git Release Tool",
    "description": "Creates releases",
    "category": "deployment"
  }
}

Recovery Process:

  1. Detect: Name "Git Release Tool" not kebab-case
  2. Recovery: Convert to "git-release-tool"
  3. Validation: Check new name follows format
  4. Proceed: Use converted name with note to user

Example 3: Missing Critical Information

Input:

{
  "skill_requirements": {
    "name": "test-skill"
  }
}

Response:

## Critical Information Missing

Please provide:
1. What is the description (1-1024 characters)?
2. What category (development/deployment/productivity/testing/documentation/security)?
3. What are the primary use cases?
4. What capabilities should the skill have?
5. What scripts are needed?
6. What compatibility requirements exist?
7. What security constraints apply?

Stopping compilation until these questions are answered.

平台分布

Codex

36.05%
按下载量换算70

Claude

32.13%
按下载量换算62

Cursor

20.71%
按下载量换算40

Gemini CLI

8.82%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills