depurar-y-testear

depurar-y-testear is a skill for Claude Code from FacturaScripts/fs-claude-plugin. It costs 36 tokens per session (1,916 once invoked), scanned A, original, MIT.

A guide for finding and testing problems in FacturaScripts, an invoicing and business-management application. It covers debug mode, logs, rebuilding changed components, and PHPUnit tests.

In plain words
What is it for?
Use it to enable debugging, inspect logs, show diagnostic messages, rebuild plugins, create tests, and run the project’s test suite.
Why use it?
It makes errors and unapplied changes easier to inspect and provides a standard way to check whether code works.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is fsmaker run-tests ../...

Part of the fs-dev plugin — 31 skills, 13 agents, 3 hooks shipped together

Good fit Use it to enable debugging, inspect logs, show diagnostic messages, rebuild plugins, create tests, and run the project’s test suite.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/FacturaScripts/fs-claude-plugin
agentmods
npx agentmods add skills/facturascripts/fs-claude-plugin/depurar-y-testear

Made for: Claude Code.

Or install fs-dev, the plugin that ships this one along with the rest of its 31 skills, 13 agents, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for depurar-y-testear

README.md
[![agentmods](https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/depurar-y-testear/github.svg)](https://agentmods.dev/skills/facturascripts/fs-claude-plugin/depurar-y-testear)
Your own site
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/depurar-y-testear"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/depurar-y-testear/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for depurar-y-testear

Your own site · 80×15
<a href="https://agentmods.dev/skills/facturascripts/fs-claude-plugin/depurar-y-testear"><img src="https://agentmods.dev/badge/skills/facturascripts/fs-claude-plugin/depurar-y-testear.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,916 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.01916
Opus 5.5 $0.00014 $0.00766
Sonnet 5.5 $0.00007 $0.00383
Haiku 4.5 $0.00004 $0.00192

Measured 11d ago against content hash 7b878f1ea7d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

depurar-y-testear scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

fs-dev/skills/depurar-y-testear/SKILL.md · 193 lines

How it starts

The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Depurar y testear en FacturaScripts

La documentación de referencia está en ../../references/docs/, relativa a este archivo: testeo-de-plugins.md, anadir-una-github-action-para-ejecutar-los-tests-unitarios.md, mostrar-mensajes-errores-y-alertas.md, gestion-de-errores.md, profundizando-en-el-core.md y test-625.md. Sus ejemplos contienen entidades HTML (&lt;, &#39;…): decodifícalas antes de reutilizarlos.

Activar el modo debug

Editar config.php en la raíz de FacturaScripts:

define('FS_DEBUG', true);

Esto activa la barra de debug en la parte inferior derecha, con las consultas, los mensajes del log y los temporizadores del Kernel.

Mostrar mensajes y errores

use FacturaScripts\Core\Tools;

// mensajes que se muestran al usuario en la interfaz (canal master por defecto)
Tools::log()->notice('record-updated-correctly');
Tools::log()->warning('access-denied');
Tools::log()->error('record-save-error');

// error con parámetros de traducción
Tools::log()->error('field-value-too-long', ['%field%' => 'nombre']);

// otros niveles
Tools::log()->info('Mensaje informativo');
Tools::log()->critical('Error grave');
Tools::log()->debug('Solo visible en la barra de debug');

// canal propio: se guarda en el historial de logs
Tools::log('mi-plugin')->info('Acción completada');

Desde JavaScript, la función setToast(mensaje, estilo, título, duración) muestra un aviso en la vista.

Ver logs

Los logs antiguos se consultan en Administrador > Logs:

  • En el canal master solo se guardan los errores y los mensajes críticos.
  • En los demás canales se guardan todos los mensajes salvo los de debug(); los días de retención se configuran en el Panel de control.

Medir tiempos de ejecución

use FacturaScripts\Core\Kernel;

Kernel::startTimer('mi-prueba');
// código a medir
$total = Kernel::stopTimer('mi-prueba'); // segundos

Con el modo debug activo, los temporizadores aparecen en la barra de debug.

Read the full file on GitHub · 193 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed · +8 lines 7b878f1ea7d9
  2. 1mo ago Changed · +57 lines · +6 tokens per session 3a544f2981f7
  3. 3mo ago First seen · 128 lines · 30 tokens per session scan A 0087a2362601

Subscribe to this mod's changes

depurar-y-testear is a skill published in the GitHub repository FacturaScripts/fs-claude-plugin (11 stars, last pushed 8d ago), licensed MIT. It adds 36 tokens to every session and 1,916 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

depurar-y-testear compared with skills from other repositories

depurar-y-testear next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
depurar-y-testearFacturaScripts/fs-claude-pluginSkill118d agoMITA36Claude Code
testinggarrytan/gbrainSkill34ktodayMITA63Claude Code
verifyYeachan-Heo/oh-my-claudecodeSkill41ktodayMITA12Claude Code
detect-static-dependenciesdotnet/skillsSkill6.4ktodayMITA135Claude Code
dart-downstream-fixdartsim/dartSkill1.2kyesterdayBSD-2-ClauseA25Claude Code
experiment-iterative-coderEvoScientist/EvoSkillsSkill48817d agoApache-2.0A145Claude Code
mockito-stale-mock-silent-trycatch-failuredivinevideo/divine-mobileSkill263todayMPL-2.0A186Claude Code, Codex