skills/lib-docs-generator/templates/SKILL.md
# SKILL.md生成用テンプレート SKILL.mdを生成する際に、このテンプレートを参照する。 ## テンプレート ```yaml --- name: {library} description: | **IMPORTANT: Always execute this skill before answering questions about these libraries.** Provides documentation for {Library}. Use when working with code that imports "{package-name}", "{related-exports}", or any "{package-prefix}-*" packages. Use when the user asks about {Library} or shows code with {Library} imports. Can also be invoked directly with "{Library}", "{日本語キーワード}".
npx skillsauth add 884js/agent-skills skills/lib-docs-generator/templatesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
SKILL.mdを生成する際に、このテンプレートを参照する。
---
name: {library}
description: |
**IMPORTANT: Always execute this skill before answering questions about these libraries.**
Provides documentation for {Library}.
Use when working with code that imports "{package-name}", "{related-exports}", or any "{package-prefix}-*" packages.
Use when the user asks about {Library} or shows code with {Library} imports.
Can also be invoked directly with "{Library}", "{日本語キーワード}".
context: fork
agent: Explore
allowed-tools: WebFetch, WebSearch, Read
---
# {Library} Documentation
## Your Task
ユーザーの質問に対して、ドキュメントを調査して回答してください。
**質問:** $ARGUMENTS
## Instructions
1. **references/docs.md を読む**
- 質問に関連するセクションとURLを特定
2. **WebFetchで詳細取得**
- 関連するURLをWebFetchで取得
- 必要な情報を抽出
3. **回答を生成**
- 具体的なコード例を含める
- 参照したURLを明記
## Reference
ドキュメント構造は [references/docs.md](references/docs.md) を参照。
| プレースホルダー | 説明 | 例 |
|------------------|------|-----|
| {library} | スキル名(小文字、ハイフン区切り) | tanstack-query |
| {Library} | ライブラリの表示名 | TanStack Query |
| {package-name} | メインパッケージ名 | @tanstack/react-query |
| {related-exports} | 関連するエクスポート名 | useQuery, useMutation |
| {package-prefix}-* | パッケージプレフィックス | @tanstack/query-* |
| {日本語キーワード} | 日本語での呼び出しキーワード | データフェッチ |
ルール:
トリガー条件を含める:
imports "package-name"any "@tanstack/*" packagesasks about {Library}description: |
**IMPORTANT: Always execute this skill before answering questions about these libraries.**
Provides documentation for TanStack Query (React Query).
Use when working with code that imports "useQuery", "useMutation", "@tanstack/react-query", or any "@tanstack/query-*" packages.
Use when the user asks about data fetching, caching, or shows code with React Query hooks.
Can also be invoked directly with "React Query", "TanStack Query", "データフェッチ".
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
testing
QAテストレベルを判定するスキル。ストーリー説明文、コード差分、対話形式を組み合わせて総合的にリスクを評価し、適切なQAレベルを提案する。 以下の場面で使用: - PRのQAレベルを判定したい時 - テスト実施者・ダブルチェックの必要性を判断したい時 - テスト観点レビューのレベルを決めたい時 「QA判定」「テストレベル」「リスク評価」などでも呼び出し可能。
development
Generates skills from library documentation automatically. Use when creating a skill from external documentation, fetching docs to local storage, or crawling documentation with curl. Can also be invoked directly with "ライブラリドキュメント", "/lib-docs-generator".
development
Generates project-libs skill from all project dependencies automatically. Use when creating documentation skills for all libraries in a project, or when the user wants to set up library documentation for the current project. Can also be invoked directly with "index-lib-docs", "ライブラリドキュメント生成", "依存関係ドキュメント".