analyze-app
Skill này làm gì
Skill này đọc mã nguồn của một ứng dụng JavaScript hoặc Electron mà bạn sở hữu hoặc được cấp phép nghiên cứu, rồi giải thích cách một tính năng hoạt động. Skill dành cho lập trình viên muốn hiểu hoặc dựng lại một tính năng từ mã mà họ được phép dùng.
Khi nào nên dùng
- ✓Khi bạn muốn hiểu cách một tính năng trong ứng dụng của mình được xây dựng.
- ✓Khi bạn muốn dựng lại một tính năng từ một ứng dụng có mã nguồn bạn được cấp phép sử dụng.
- ✓Khi bạn muốn có bản đồ các module và liên kết của một ứng dụng Electron.
Liên kết skill
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rure/skills/analyze-app/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy giải thích cách tính năng xuất dữ liệu hoạt động trong ứng dụng Electron của tôi, kèm tham chiếu tệp và dòng.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill trước hết xác nhận bạn được phép nghiên cứu mã. Sau đó skill phân tích ứng dụng mà không chạy nó, lập bản đồ các module và liên kết, rồi tìm mã của tính năng bạn mô tả, kèm tham chiếu cho từng phát hiện.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Skill có chạy ứng dụng không?
Không. Nguồn nói skill chỉ phân tích mã và không bao giờ thực thi mục tiêu.
Skill có giúp vượt qua kiểm tra giấy phép không?
Không. Skill từ chối các yêu cầu lách DRM, kiểm tra giấy phép hoặc cổng tính năng trả phí.
Nếu file lưu trữ quá lớn thì sao?
Skill dừng lại và nói rõ điều đó, thay vì đưa ra một phân tích chưa đầy đủ.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 81k
- Vị trí xếp hạng
- #1684
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-adaptive-coordinator
81kGiúp agent của bạn chia và cân bằng lại một nhóm agent AI khi khối lượng công việc thay đổi, chọn bố cục phù hợp với tác vụ.
agent-agent
81kDạy agent của bạn biến một mục tiêu lớn thành kế hoạch hành động có thứ tự, và lập lại kế hoạch khi điều kiện thay đổi.
agent-agentic-payments
81kGiúp agent của bạn quản lý ủy quyền chi tiêu cho mua sắm bằng AI, với hạn mức chi, khung thời gian, quy tắc người bán và phê duyệt có chữ ký.
agent-analyze-code-quality
81kGiúp agent của bạn rà soát chất lượng mã, tìm code smell, nợ kỹ thuật và gợi ý tái cấu trúc mà không thay đổi các file.
Skill tương tự
reverse-engineer-anything
422kGiúp agent của bạn xem bên trong các app và package đã phát hành để giải thích tính năng, so sánh phiên bản hoặc hướng dẫn dựng lại bằng công cụ REA.
1password
394kGiúp agent của bạn cài đặt CLI của 1Password, đăng nhập, và đọc hoặc đưa thông tin bí mật vào mà không in giá trị ra cuộc trò chuyện.
healthcheck
394kGiúp agent của bạn rà soát bảo mật máy tính hoặc máy chủ đang chạy OpenClaw, như SSH, tường lửa, cập nhật và sao lưu, rồi đề xuất cách sửa an toàn.