Saltar al contenido
Skillpedia
Seguridad81 mil · #1684

analyze-app

Qué hace

Esta skill lee el código fuente de una app de JavaScript o Electron que tú posees o tienes licencia para estudiar, y explica cómo funciona una función. Es para desarrolladores que quieren entender o reconstruir una función a partir de código que tienen permiso para usar.

Cuándo usarla

  • ✓Cuando quieres entender cómo se construye una función de tu propia app.
  • ✓Cuando quieres reconstruir una función de una app cuyo código fuente tienes licencia para usar.
  • ✓Cuando quieres un mapa de los módulos y sus conexiones en una app de Electron.

Link de la skill

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rure/skills/analyze-app/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-rure/skills/analyze-app/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Explica cómo funciona la función de exportar en mi app de Electron, con referencias a archivos y líneas.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La skill primero confirma que tienes autorización para estudiar el código. Después analiza la app sin ejecutarla, mapea los módulos y sus enlaces, y encuentra el código de la función que describes, con una referencia para cada hallazgo.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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.

  1. If the target is a packaged .asar file, call rure_extract_asar first and use its unpackedPath for the next step. If truncated: true came back, the archive exceeded the size/file-count cap — tell the user and stop; do not attempt a partial analysis.
  2. Call rure_analyze_js_app on the directory. This returns modules, an import/export graph, and Electron process-boundary findings (main vs. renderer, ipcMain/ipcRenderer/contextBridge usage) — every finding carries a file + line-range evidence pointer.
  3. If the user described a specific feature, call rure_find_feature with that description to narrow down where it likely lives, rather than reading the whole analysis.
  4. When explaining a feature, always cite the evidence (file + line range) the tools returned — never assert how something works without a source pointer.
  5. If a snippet in the tool output says redacted or 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.
  6. 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.
  7. For a native ELF/PE/Mach-O file (for example a .node addon or helper executable bundled with the app), call rure_analyze_binary for 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-empty warnings array means part of the file was malformed or out of range; report that rather than filling the gap.
  8. For a managed .NET assembly (.dll/.exe with a CLR header), call rure_analyze_dotnet for its assembly references, types, P/Invoke native imports and string literals. It reads metadata only: no IL disassembly, nothing is loaded or run. isManaged: false means the file is native; use rure_analyze_binary instead.
  9. For EVM contract bytecode (inline hex or a file), call rure_analyze_evm for 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.
  10. For a CUDA program (a host ELF/PE that carries a .nv_fatbin section, or a standalone .fatbin, .cubin or .ptx), call rure_analyze_cuda for the fatbin entries (PTX or cubin, target sm_NN, compression), each kernel's mangled name, code size, register count and constant/shared/local memory, and the PTX version, target and kernel names. Use rure_analyze_binary first 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 says read: false was compressed and could not be read (its note says why, for example a Node without zstd); say so rather than inferring its contents. Register counts and instruction estimates are inventory, not performance claims.
  11. To decide what to benchmark in a CUDA program, call rure_cuda_launch_plan on 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). Pass dynamicSharedBytes if the launch will use dynamic shared memory (it is not in the file), and includeHarness: true to also get the text of a s
Preguntas frecuentes

¿Ejecuta la app?

No. La fuente indica que solo analiza el código y nunca ejecuta el objetivo.

¿Ayudará a saltarse las comprobaciones de licencia?

No. La skill rechaza las peticiones para eludir DRM, comprobaciones de licencia o bloqueos de funciones de pago.

¿Qué pasa si el archivo es demasiado grande?

La skill se detiene y lo indica, en lugar de dar un análisis parcial.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
81 mil
Posición en el ranking
#1684
Licencia
MIT
Actualizada
2/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas