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

lib-skill-creator-skilllib 技能创建者技能

Agent Skill

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

总安装

312

周安装

13

GitHub Stars

公开资料未说明

下载量

104
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add haibaraaiaptx/lib-skill-creator-skill --skill "lib-skill-creator-skill"

简介

lib-skill-creator-skill 用于发现并安装 AI 代理的技能,支持动态扩展宿主能力。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等平台中的技能管理场景。
  • 通过 npx skills add haibaraaiaptx/lib-skill-creator-skill --skill "lib-skill-creator-skill" 命令安装。
  • 使用前需评估技能来源可信度和宿主兼容性,避免安全风险。
  • 建议参考官方示例了解技能注册和调用流程。

SKILL.md

name
lib-skill-creator-skill
description
Guides users through the process of creating library skills, including structure design, content organization, and validation workflows

Source Code Into Skill

Overview

This skill transforms specified source code into AI-coding-friendly guiding skills through natural collaborative conversations.

Why generate skills for libraries?

When AI coding tools work on projects that depend on a library, they often need to understand the library's APIs and classes to complete user requests effectively. By generating a skill from the library's source code:

  • AI tools can understand the purpose and logic of each API without reading the original source code
  • Developers can share library knowledge with AI tools in a standardized format
  • The generated skill serves as comprehensive, searchable documentation optimized for AI consumption

This approach ensures that the generated skills accurately reflect the codebase structure and provide clear, actionable guidance for AI coding tools.

The Process

Understand the Repository

Analyze the source code to identify all publicly exposed APIs, objects, classes, interfaces, enums, services, and other constructs. Summarize your findings and present them to the user for confirmation.

Ask the user these questions:

Is this summary correct?

  • [ ] Confirm - The summary is accurate, proceed to next step
  • [ ] Revise - Need to add/remove/modify APIs
  • [ ] Add context - Provide additional notes

If "Revise" or "Add context" selected, ask:

  • Which APIs need to be added, removed, or modified?
  • Any additional context or notes to include?

Once confirmed, proceed to determine the partitioning strategy.

Determine the Partitioning Strategy

Ask the user to choose how to organize the generated documentation files based on the project structure. Present the following options:

  • By namespace - Group APIs by their namespace/package structure
  • By folder - Group APIs by their folder location in the source tree
  • By file - Create one documentation file per source file

Confirm with the user:

  • Which partitioning strategy works best for this project?
  • Any specific folder/naming conventions to follow?

This ensures the generated documentation structure matches the logical organization of the codebase.

Document and Generate API Files

Based on the confirmed list of APIs, document each API through collaborative dialogue and write the content to a file immediately after confirmation.

For each API, confirm and document the following:

  1. API Declaration - The exact function/class/interface signature as it appears in the source code
  2. Description - A clear explanation of what the API does and its purpose
  3. Usage Scenarios - When and why a user would use this API, including common use cases
  4. Example Code - Practical code snippets demonstrating how to use the API correctly

Workflow for each API:

  1. Present the current documentation draft to the user
  2. Ask for confirmation on each element (declaration, description, scenarios, examples)
  3. Incorporate user feedback iteratively and present the revised content
  4. Repeat the feedback loop until the user confirms the documentation is correct
  5. Once confirmed, write the validated content to:
   /<skill-name>/references/<folder>/<api>.md
  1. Proceed to the next API and repeat

File path structure:

  • <skill-name> - The name of the skill being created
  • <folder> - The folder determined by the partitioning strategy
  • <api> - The name of the API being documented

Each .md file should contain the confirmed documentation for a single API, formatted clearly for AI coding tools to reference.

Update Main Skill Documentation

After all public API documentation files have been generated, update the main skill documentation (<skill-name>/SKILL.md) to include references to all documented APIs.

Generate Or Update the SKILL.md to:

  • Include required metadata at the top of the file:
  ---
  name: <skill-name>
  description: "<brief description of the library and its purpose>"
  ---
  • Add a section listing all available APIs organized by the chosen partitioning strategy
  • Provide brief descriptions or links to each API's detailed documentation
  • Ensure the table of contents (if present) reflects all newly added API documentation

This step ensures users can easily discover and navigate all available API documentation from the main skill file.

Key Constraints

  • Prefer multiple choice - Structure questions as single-select options whenever possible
  • Recommend with rationale - When presenting options, lead with the recommended approach followed by brief explanations

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

OpenCode

33.22%
按下载量换算35

Claude Code

24.27%
按下载量换算25

Codex

17.29%
按下载量换算18

windsurf

13.51%
按下载量换算14

github-copilot

5.9%
按下载量换算6

安全审计

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

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills