cluster-script

Cluster Script APIの型定義(index.d.ts)からAPIリファレンスを検索・取得する。 「cluster scriptの〜メソッド」「〜のAPI」「ItemHandleの使い方」「PlayerHandleのメソッド」 「〜のシグネチャ」「〜の引数」などのリクエストで使用。 Bashでスクリプトを実行してAPI定義を検索し、JSDocコメント付きで提示する。

16 stars

Best use case

cluster-script is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Cluster Script APIの型定義(index.d.ts)からAPIリファレンスを検索・取得する。 「cluster scriptの〜メソッド」「〜のAPI」「ItemHandleの使い方」「PlayerHandleのメソッド」 「〜のシグネチャ」「〜の引数」などのリクエストで使用。 Bashでスクリプトを実行してAPI定義を検索し、JSDocコメント付きで提示する。

Teams using cluster-script should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cluster-script/SKILL.md --create-dirs "https://raw.githubusercontent.com/shibayu36/config-file/main/.claude/skills/cluster-script/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cluster-script/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How cluster-script Compares

Feature / Agentcluster-scriptStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Cluster Script APIの型定義(index.d.ts)からAPIリファレンスを検索・取得する。 「cluster scriptの〜メソッド」「〜のAPI」「ItemHandleの使い方」「PlayerHandleのメソッド」 「〜のシグネチャ」「〜の引数」などのリクエストで使用。 Bashでスクリプトを実行してAPI定義を検索し、JSDocコメント付きで提示する。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Cluster Script API Search

Cluster Script APIの型定義ファイル(index.d.ts)からAPI情報を検索するスキル。

## 利用可能なスクリプト

スクリプトのパスは `${SKILL_DIR}/scripts/` 配下にある。

### search.py - API検索
```bash
python3 ${SKILL_DIR}/scripts/search.py "キーワード"
```
キーワードでAPI定義を検索し、マッチしたエントリ(JSDocコメント + シグネチャ)をテキスト形式で出力する。
最大30件まで。ファイルが未ダウンロードの場合は自動でダウンロードする。

### download.py - 型定義ファイルの更新
```bash
python3 ${SKILL_DIR}/scripts/download.py [--output-dir DIR]
```
最新のindex.d.tsをダウンロードして `<output-dir>/cluster-script-index.d.ts` に保存する。型定義を最新に更新したい場合に手動実行する。

- 保存先は `--output-dir` が無ければ `$PWD` 直下
- ユーザーの一時ファイル配置方針があれば、それに従って `--output-dir` を明示的に指定すること

## ワークフロー

1. ユーザーの質問からキーワードを抽出(日英両方、2〜3パターン)
2. `search.py` で各パターンを検索
3. 結果からJSDocとシグネチャを整理して提示

## キーワード最適化ルール

1. **メソッド名を直接検索**: setPosition, getRotation, send 等
2. **日本語でも検索**: 「位置」「回転」「移動」等(JSDocが日本語のため有効)
3. **interface/classで絞り込み**: ItemHandle, PlayerHandle, ClusterScript, Vector3 等のコンテキスト名も検索対象
4. **関連用語で横断検索**: 「アニメーション」「衝突」「マテリアル」等

## Creators Guideスキルとの使い分け

| 観点 | search-cluster-creators-guide | cluster-script |
|---|---|---|
| 対象 | Creators Guide記事(手順・解説) | Script API型定義(リファレンス) |
| 用途 | 「〜のやり方」「〜を設定する方法」 | 「〜メソッドの引数」「〜のAPI仕様」 |

Related Skills

search-cluster-creators-guide

16
from shibayu36/config-file

Cluster Creators Guide(creator.cluster.mu)からクリエイター向け情報を検索・調査する。 「clusterの〜について調べて」「〜の使い方」「〜する方法」「〜を探して」などのリクエストで使用。 Bashでスクリプトを実行してサイト検索・記事取得を行い、関連情報を抽出して提示する。

subagent-commit

16
from shibayu36/config-file

git-commit-message-generatorエージェントを利用して、commitメッセージを生成する

self-review

16
from shibayu36/config-file

手元のコードをreviewerエージェントでセルフレビューし、指摘に基づいて自動修正するループ

search-loosedrawing

16
from shibayu36/config-file

Loose Drawingから画像を検索、または表現に適したイラストの組み合わせを提案する

search-irasutoya

16
from shibayu36/config-file

いらすとやから画像を検索、または表現に適したイラストの組み合わせを提案する

review-current-branch

16
from shibayu36/config-file

シニアソフトウェアエンジニアとして現在のブランチのプルリクエストをレビューする

reply-fix-to-review-comments

16
from shibayu36/config-file

GitHub PR のレビューコメント(インライン)に対し、直前の会話で対応した commit を紐付けて「<commit URL> で修正しました」という Reply をまとめて投稿する。「レビュー Reply して」「レビューコメントに返信して」「修正報告投稿して」などのリクエストで使用。コード修正そのものは扱わず、修正・commit 済みの状態から呼ぶ前提。

my-create-draft-pull-request

16
from shibayu36/config-file

GitHubのDraft PullRequestを作成する

memo-tech

16
from shibayu36/config-file

現在のセッションから汎用知識のみを抽出し、話題ごとに自動タイトルで分割・保存(Obsidian直下、引数不要)

implement-handoff

16
from shibayu36/config-file

実装計画に従って作業後、次のフェーズ担当者への申し送り事項を作成する

fix-review-comments

16
from shibayu36/config-file

直前の会話に含まれるレビュー結果を精査し、妥当な指摘に対して修正を実施する。レビュアーの指摘がすべて正しいとは限らないため、各コメントを批判的に評価する。「レビュー対応して」「レビューコメント修正して」「指摘を直して」「レビュー指摘に対応して」などのリクエストで使用。

criticalthink

16
from shibayu36/config-file

直前の自分の回答を厳密な批判的思考で分析する