Agent Skills by ALSEL
Anthropic Claudeドキュメント⭐ リポ 299品質スコア 94/100

API Documentation Lookup

このスキルは、ユーザーが「Effect APIを調べる」「Effectドキュメントを確認する」「Effect関数のシグネチャを探す」「Effect.Xは何をするのか」「Effect.Xの使い方」「Effect APIリファレンス」「Effectドキュメントを取得する」といった質問をした場合や、公式のEffect-TS APIドキュメントから特定の関数シグネチャ、パラメータ、使用例を調べる必要がある場合に使用します。

description の原文を見る

This skill should be used when the user asks to "look up Effect API", "check the Effect docs", "find Effect function signature", "what does Effect.X do", "how to use Effect.X", "Effect API reference", "fetch Effect documentation", or needs to look up specific function signatures, parameters, or usage examples from the official Effect-TS API documentation.

SKILL.md 本文

Effect-TS API ドキュメンテーション検索

概要

WebFetch を使用して、公式 Effect-TS ドキュメンテーションサイト https://effect-ts.github.io/effect/ から API ドキュメンテーションを直接取得します。

URL パターン

コア Effect モジュール

メイン effect パッケージ内のモジュール用:

https://effect-ts.github.io/effect/effect/{Module}.ts.html

よく使用されるモジュール:

モジュールURL
Effecthttps://effect-ts.github.io/effect/effect/Effect.ts.html
Schemahttps://effect-ts.github.io/effect/effect/Schema.ts.html
Streamhttps://effect-ts.github.io/effect/effect/Stream.ts.html
Layerhttps://effect-ts.github.io/effect/effect/Layer.ts.html
Contexthttps://effect-ts.github.io/effect/effect/Context.ts.html
Schedulehttps://effect-ts.github.io/effect/effect/Schedule.ts.html
Fiberhttps://effect-ts.github.io/effect/effect/Fiber.ts.html
Queuehttps://effect-ts.github.io/effect/effect/Queue.ts.html
Refhttps://effect-ts.github.io/effect/effect/Ref.ts.html
Scopehttps://effect-ts.github.io/effect/effect/Scope.ts.html
Optionhttps://effect-ts.github.io/effect/effect/Option.ts.html
Eitherhttps://effect-ts.github.io/effect/effect/Either.ts.html
Chunkhttps://effect-ts.github.io/effect/effect/Chunk.ts.html
HashMaphttps://effect-ts.github.io/effect/effect/HashMap.ts.html
HashSethttps://effect-ts.github.io/effect/effect/HashSet.ts.html
Durationhttps://effect-ts.github.io/effect/effect/Duration.ts.html
Confighttps://effect-ts.github.io/effect/effect/Config.ts.html
ConfigProviderhttps://effect-ts.github.io/effect/effect/ConfigProvider.ts.html
Matchhttps://effect-ts.github.io/effect/effect/Match.ts.html
Datahttps://effect-ts.github.io/effect/effect/Data.ts.html
Causehttps://effect-ts.github.io/effect/effect/Cause.ts.html
Exithttps://effect-ts.github.io/effect/effect/Exit.ts.html
Randomhttps://effect-ts.github.io/effect/effect/Random.ts.html
Clockhttps://effect-ts.github.io/effect/effect/Clock.ts.html
Tracerhttps://effect-ts.github.io/effect/effect/Tracer.ts.html
Metrichttps://effect-ts.github.io/effect/effect/Metric.ts.html
Loggerhttps://effect-ts.github.io/effect/effect/Logger.ts.html
Sinkhttps://effect-ts.github.io/effect/effect/Sink.ts.html
PubSubhttps://effect-ts.github.io/effect/effect/PubSub.ts.html
Deferredhttps://effect-ts.github.io/effect/effect/Deferred.ts.html
Semaphorehttps://effect-ts.github.io/effect/effect/Semaphore.ts.html
Requesthttps://effect-ts.github.io/effect/effect/Request.ts.html
RequestResolverhttps://effect-ts.github.io/effect/effect/RequestResolver.ts.html
Cachehttps://effect-ts.github.io/effect/effect/Cache.ts.html
TestClockhttps://effect-ts.github.io/effect/effect/TestClock.ts.html
Runtimehttps://effect-ts.github.io/effect/effect/Runtime.ts.html
ManagedRuntimehttps://effect-ts.github.io/effect/effect/ManagedRuntime.ts.html

スコープ付きパッケージ

@effect/* パッケージ用:

https://effect-ts.github.io/effect/{package-name}/{Module}.ts.html

例:

パッケージモジュールURL
@effect/platformHttpClienthttps://effect-ts.github.io/effect/platform/HttpClient.ts.html
@effect/platformFileSystemhttps://effect-ts.github.io/effect/platform/FileSystem.ts.html
@effect/platformKeyValueStorehttps://effect-ts.github.io/effect/platform/KeyValueStore.ts.html
@effect/cliCommandhttps://effect-ts.github.io/effect/cli/Command.ts.html
@effect/sqlSqlClienthttps://effect-ts.github.io/effect/sql/SqlClient.ts.html

ドキュメンテーション検索方法

ステップ 1: モジュールを特定する

API を含むモジュールを決定します:

  • Effect.map → Effect モジュール
  • Schema.Struct → Schema モジュール
  • Stream.fromIterable → Stream モジュール
  • Layer.provide → Layer モジュール

ステップ 2: URL を構築する

特定したモジュール用の URL パターンを使用します:

// Effect.retry 用
const url = "https://effect-ts.github.io/effect/effect/Effect.ts.html"

// Schema.transform 用
const url = "https://effect-ts.github.io/effect/effect/Schema.ts.html"

ステップ 3: ターゲット化されたプロンプトで取得する

特定の情報を抽出するために、ターゲット化されたプロンプトで WebFetch を使用します:

WebFetch(
  url: "https://effect-ts.github.io/effect/effect/Effect.ts.html",
  prompt: "Effect.retry のドキュメンテーションを見つけてください。関数シグネチャ、説明、パラメータ、使用例を含めてください。"
)

クエリ例

特定の関数を検索する

ユーザーが質問: 「Effect.retry のパラメータは何ですか?」

アクション:

WebFetch(
  url: "https://effect-ts.github.io/effect/effect/Effect.ts.html",
  prompt: "retry 関数のドキュメンテーションを検索してください。完全な型シグネチャ、すべてのパラメータとオプション、使用例を含めてください。"
)

型/インターフェースを検索する

ユーザーが質問: 「Schedule にはどのようなフィールドがありますか?」

アクション:

WebFetch(
  url: "https://effect-ts.github.io/effect/effect/Schedule.ts.html",
  prompt: "Schedule 型とそのメインコンビネータについて説明してください。exponential、spaced、recurs などの一般的なスケジュール関数をリストアップしてください。"
)

モジュール概要を検索する

ユーザーが質問: 「Stream モジュールで使用可能な関数は何ですか?」

アクション:

WebFetch(
  url: "https://effect-ts.github.io/effect/effect/Stream.ts.html",
  prompt: "このモジュール内の関数の主なカテゴリをリストアップし、各カテゴリの簡単な説明を提供してください。"
)

関連する関数を検索する

ユーザーが質問: 「Effect に含まれるすべての catch* 関数は何ですか?」

アクション:

WebFetch(
  url: "https://effect-ts.github.io/effect/effect/Effect.ts.html",
  prompt: "catchAll、catchTag、catchTags、catchSome など、'catch' で始まるエラーハンドリング関数をすべて見つけてください。シグネチャと目的を含めてください。"
)

プロンプトパターン

ドキュメンテーション抽出を効果的に行うために、これらのプロンプトパターンを使用します:

関数シグネチャ用:

"{functionName} の完全な型シグネチャを見つけてください。複数のオーバーロードが存在する場合は含めてください。"

使用例用:

"{functionName} のドキュメンテーションとコード例を見つけてください。実践的な使用パターンに焦点を当ててください。"

パラメータを理解する用:

"{functionName} のパラメータとオプションについて説明してください。各パラメータは何をしますか?"

関連する関数を検索用:

"このモジュール内の {topic} に関連するすべての関数をリストアップしてください。簡単な説明を含めてください。"

モジュール概要用:

"このモジュールの概要を提供してください。関数と型の主なカテゴリは何ですか?"

ヒント

  1. プロンプトは具体的に - 必要なもの (シグネチャ、例、パラメータ) を正確に聞いてください
  2. 正しいモジュールを使用する - Effect 関数は Effect.ts 内、Schema 関数は Schema.ts 内など
  3. 関連する関数を確認する - ドキュメンテーションには関連する関数への「参照」リンクが含まれています
  4. 例を探す - ほとんどの関数には期待される出力を伴う実践的なコード例が含まれています
  5. バージョン情報に注意 - 関数には「Since v2.0.0」などのバージョン情報が表示されています

ドキュメンテーションサイトインデックス

メインドキュメンテーションインデックスは以下の場所にあります:

https://effect-ts.github.io/effect/

特定の API を含むモジュールが不明な場合、利用可能なパッケージとモジュールを探索するために使用します。

ベストプラクティス

  1. 正しいモジュールから始める - フェッチする前に API を含むモジュールを特定してください
  2. ターゲット化されたプロンプトを使用する - 特定の情報 (シグネチャ、例、パラメータ) を要求してください
  3. オーバーロードを確認する - 多くの Effect 関数は複数のシグネチャを持っています
  4. 「Since」アノテーションを確認する - API が Effect バージョンで利用可能であることを確認してください

追加リソース

API シグネチャを超えた包括的な Effect ドキュメンテーションについては、チュートリアル、ガイド、詳細な説明を含む ${CLAUDE_PLUGIN_ROOT}/references/llms-full.txt を参照してください。

ライセンス: MIT(寛容ライセンスのため全文を引用しています) · 原本リポジトリ

詳細情報

作者
majiayu000
リポジトリ
majiayu000/claude-skill-registry
ライセンス
MIT
最終更新
2026/5/4

Source: https://github.com/majiayu000/claude-skill-registry / ライセンス: MIT

本サイトは GitHub 上で公開されているオープンソースの SKILL.md ファイルをクロール・インデックス化したものです。 各スキルの著作権は原作者に帰属します。掲載に問題がある場合は info@alsel.co.jp または /takedown フォームよりご連絡ください。
原作者: majiayu000 · majiayu000/claude-skill-registry · ライセンス: MIT