te-quanbzhang/skills-pool

opsx-trace-log

Slash-command skill for OpenSpec — TEMPORARY diagnostic probe via /opsx:trace-log.

Ver código fuente

Cómo usar

  1. Copia el comando y revisa el paquete antes de instalarlo en tu entorno de agente.
  2. Consulta las herramientas, credenciales y entornos necesarios en el documento original.
  3. Describe las entradas y el resultado deseado; contrasta la salida con las fuentes.
npx skills add https://github.com/te-quanbzhang/skills-pool --skill opsx-trace-log

Antes de empezar

  • La instalación no incluye suscripción al modelo, cuota API ni permisos sobre tus archivos.
  • Las estrellas e instalaciones reflejan actividad, no una prueba independiente de calidad o seguridad.
Documento original del Skill

Contenido del repositorio de origen con títulos, ejemplos, código, tablas, enlaces e imágenes preservados.

OPSX: Trace Log

This skill is a thin wrapper around the opsx trace-log command. Refer to that file for the complete workflow.

Instrument the call chain of a suspected code path with structured trace logs, then guide log capture and analysis to diagnose runtime issues. All instrumentation is removed before the session ends.

Input: The argument after /opsx:trace-log is the entry point, flow description, or suspicion. If nothing is provided, will be prompted.

Quick Reference

  1. Collect the instrumentation target — entry point, suspicion, scope
  2. Discover the call chain — codegraph explore "<entry point>"
  3. Detect the logging framework — Timber / android.util.Log / project utility
  4. Define trace-logging contract — TAG, log level, entry/exit/key-state/exception logs
  5. Performance guardrail — detect high-frequency / looping patterns
  6. Instrument the call chain — add trace logs
  7. Provide log-capture instructions — adb logcat filter command
  8. Analyze captured logs — sequence, timing, thread, state, lifecycle checks
  9. Cleanup (mandatory) — remove all instrumentation markers

See commands/opsx/trace-log.md for full details.

Relacionados por tarea

del mismo repositorio

Más Skills

Todos los Skills