AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Refactor

skill-brayandiazc-project-starter-template-es-ai-refactor · by brayandiazc

Mejora la estructura y la legibilidad del código SIN cambiar el comportamiento observable, en pasos pequeños y seguros guiados por las convenciones del proyecto, manteniendo los tests en verde. Úsalo cuando la persona pida refactorizar, limpiar, reestructurar o reducir la duplicación en el código sin añadir funcionalidades ni corregir errores (p. ej. "refactoriza este módulo", "limpia esta funció…

No reviews yet
0 installs
8 views
0.0% view→install

Install

$ agentstack add skill-brayandiazc-project-starter-template-es-ai-refactor

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-brayandiazc-project-starter-template-es-ai-refactor)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Refactor? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Refactoriza el código indicado preservando el comportamiento.

  1. Lee la guía relevante en docs/conventions/ (estilo, arquitectura, nombres) y síguela — las convenciones definen qué significa "mejor estructura" aquí.
  2. Establece primero una red de seguridad: identifica los tests que cubren el código objetivo y ejecútalos para confirmar que pasan antes de tocar nada. Si falta cobertura, anota el riesgo y considera añadir un test de caracterización.
  3. Refactoriza en pasos pequeños que preserven el comportamiento, por ejemplo:
  • Renombra para mayor claridad; extrae una función/componente/módulo; integra (inline) indirecciones innecesarias.
  • Elimina duplicación; simplifica condicionales; ajusta los tipos.
  • Reduce el acoplamiento según las convenciones de arquitectura.
  1. Después de CADA paso significativo, vuelve a ejecutar los tests (y el linter/formateador si están configurados) y mantenlos en verde. Revierte un paso que los rompa en lugar de parchear el comportamiento.
  2. Resume qué cambió estructuralmente y confirma que las APIs públicas y el comportamiento observable no han cambiado.

NO cambies el comportamiento, las APIs públicas ni la salida — si parece necesario un cambio de comportamiento, detente y plantéalo por separado. NO mezcles nuevas funcionalidades ni correcciones de errores. NO hagas una reescritura gigante de una sola vez; prefiere incrementos revisables.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.