analyze-app
できること
このスキルは、あなたが所有している、またはライセンスを得て調べることができる JavaScript や Electron のアプリのソースを読み、機能の仕組みを説明します。使ってよいコードから機能を理解したり再現したりしたい開発者向けです。
使う場面
- ✓自分のアプリの機能がどのように作られているかを理解したいとき。
- ✓ソースを使うライセンスを得ているアプリから、機能を再現したいとき。
- ✓Electron アプリのモジュールとそのつながりの地図がほしいとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rure/skills/analyze-app/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私の Electron アプリの書き出し機能が、どのように動くかをファイルと行の参照付きで説明してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、まずあなたがそのコードを調べる許可を持っていることを確認します。次に、アプリを実行せずに解析し、モジュールとそのつながりを地図にして、あなたが述べた機能のコードを、各発見の参照付きで見つけます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Analyze App (ruRE — JS/Electron and native-binary and .NET static analysis)
Uses the ruRE tools (server ruflo-rure): rure_extract_asar, rure_analyze_js_app, rure_find_feature, rure_analyze_binary, rure_analyze_dotnet, rure_analyze_evm, rure_analyze_cuda, rure_cuda_launch_plan.
Authorization check — do first, every time. This skill is for understanding and reimplementing functionality you're authorized to study: your own application, a target you've properly licensed, or an explicit CTF/security-research context. If that isn't clearly the case, say so and stop before calling any tool. Refuse requests aimed at circumventing DRM, license checks, anti-tamper mechanisms, or paid-feature gates — reframe or decline those, don't attempt a workaround.
- If the target is a packaged
.asarfile, callrure_extract_asarfirst and use itsunpackedPathfor the next step. Iftruncated: truecame back, the archive exceeded the size/file-count cap — tell the user and stop; do not attempt a partial analysis. - Call
rure_analyze_js_appon the directory. This returns modules, an import/export graph, and Electron process-boundary findings (main vs. renderer,ipcMain/ipcRenderer/contextBridgeusage) — every finding carries a file + line-range evidence pointer. - If the user described a specific feature, call
rure_find_featurewith that description to narrow down where it likely lives, rather than reading the whole analysis. - When explaining a feature, always cite the evidence (file + line range) the tools returned — never assert how something works without a source pointer.
- If a snippet in the tool output says
redactedor is the literal string[content redacted by AIDefence — threat or PII detected], say explicitly that part of the analysis was withheld; do not guess at what it might have said. - When asked to "build a version for my project," propose an original implementation informed by the understanding gained — not a copy of the analyzed code — and say so.
- For a native ELF/PE/Mach-O file (for example a
.nodeaddon or helper executable bundled with the app), callrure_analyze_binaryfor its format, architecture, sections, linked libraries and imported/exported symbols. It inspects the container only: it does not disassemble, and it never runs the file. A non-emptywarningsarray means part of the file was malformed or out of range; report that rather than filling the gap. - For a managed .NET assembly (
.dll/.exewith a CLR header), callrure_analyze_dotnetfor its assembly references, types, P/Invoke native imports and string literals. It reads metadata only: no IL disassembly, nothing is loaded or run.isManaged: falsemeans the file is native; userure_analyze_binaryinstead. - For EVM contract bytecode (inline hex or a file), call
rure_analyze_evmfor the exposed selectors, hazardous opcodes, embedded addresses and topics, proxy status and revert strings. Report hazardous opcodes as inventory, not as vulnerabilities, and say when selector names are missing because the selector is not in the small built-in table. It cannot tell you whether anything is exploitable. - For a CUDA program (a host ELF/PE that carries a
.nv_fatbinsection, or a standalone.fatbin,.cubinor.ptx), callrure_analyze_cudafor the fatbin entries (PTX or cubin, targetsm_NN, compression), each kernel's mangled name, code size, register count and constant/shared/local memory, and the PTX version, target and kernel names. Userure_analyze_binaryfirst when it is not known whether a file holds CUDA code (its sections will include.nv_fatbin). It parses only: no SASS decoding, nothing run, no CUDA toolkit needed. An entry that saysread: falsewas compressed and could not be read (itsnotesays why, for example a Node without zstd); say so rather than inferring its contents. Register counts and instruction estimates are inventory, not performance claims. - To decide what to benchmark in a CUDA program, call
rure_cuda_launch_planon the same file (ADR-501): per kernel and architecture it works out theoretical occupancy at several block sizes (which resource limits it: registers, shared memory, warps or block slots), the block sizes that reach the most, and flags (local memory, register- or shared-memory-limited). PassdynamicSharedBytesif the launch will use dynamic shared memory (it is not in the file), andincludeHarness: trueto also get the text of a s
よくある質問
アプリを実行しますか?
いいえ。ソースによると、コードを解析するだけで、対象を実行することは決してありません。
ライセンスのチェックを回避する手助けをしますか?
いいえ。このスキルは、DRM、ライセンスの確認、有料機能の制限を回避する依頼は断ります。
アーカイブが大きすぎる場合はどうなりますか?
部分的な分析を出さず、停止してそのことを伝えます。
詳細
作者による元の説明
Statically inspect a local JavaScript or Electron app you are authorized to study and explain how a feature works with file+line evidence. Use when the user wants to understand or reimplement a feature from an app whose source they have. Parses only; never executes the target.
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1684
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。