agentsclimarketplace

Team refactor

Skill DayronDLR/sap-enterprise-stack-plugin/skills/team-refactor

Orquesta un equipo de agents para refactors grandes que tocan múltiples capas del proyecto (backend, frontend, tests). Usa Agent Teams experimental de Claude Code.From its SKILL.md

Install
npx -y skills add DayronDLR/sap-enterprise-stack-plugin --skill team-refactor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.7 KB, as published. Nobody here has run it

Team Refactor — Agent Teams para refactors grandes

Orquestar un equipo de teammates para refactors que tocan múltiples capas simultáneamente.

Prerequisitos

Agent Teams debe estar habilitado. Si no lo está, indicar al usuario:

# Agregar a .claude/settings.json o como variable de entorno
# "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" }

Instrucciones

1. Analizar el refactor pedido

Entender qué capas están involucradas:

  • Backend (db/, srv/)
  • Frontend (app/webapp/)
  • Tests (test/, webapp/test/)
  • Config (manifest.json, mta.yaml, package.json)

2. Crear el equipo

Spawnar teammates según las capas involucradas. Ejemplo para un refactor full-stack:

Creá un agent team para este refactor:

- Teammate "backend": responsable de cambios en db/ y srv/.
  Debe seguir las convenciones del skill sap-cap-backend.

- Teammate "frontend": responsable de cambios en app/webapp/.
  Debe seguir las convenciones del skill sapui5-freestyle.

- Teammate "tests": responsable de crear/actualizar tests en test/ y webapp/test/.
  Debe seguir las convenciones del agent tester.

Coordinen via task list compartida. El orden es:
1. Backend implementa primero (entidades, servicios, handlers)
2. Frontend implementa después (vistas, controllers, fragments)
3. Tests cubre todo al final
4. Cada uno revisa que su parte compile y pase lint

3. Monitorear

Mientras los teammates trabajan:

  • Verificar que no haya conflictos en archivos compartidos (manifest.json, i18n)
  • Si un teammate necesita algo que otro está haciendo, coordinar via mensajes
  • Mantener máximo 3 teammates para evitar overhead excesivo

4. Consolidar

Cuando los teammates terminen:

  • Verificar que todo compile junto (cds build)
  • Correr /verify para la pipeline completa
  • Correr /review para review final

Cuándo usar Team Refactor vs Pipeline normal

SituaciónUsar
Feature nueva < 10 archivosPipeline normal (architect → implementer → ...)
Refactor que toca > 15 archivos en múltiples capasTeam Refactor
Migración masiva (ej: xmlfragment → Fragment.load en 20 archivos)/batch (más eficiente para cambios repetitivos)
Bug fixPipeline normal o debugger directo

Reglas

  • SIEMPRE máximo 3 teammates (más genera overhead sin beneficio)
  • SIEMPRE definir orden de dependencias (backend antes de frontend)
  • SIEMPRE correr /verify al final para validar todo junto
  • NUNCA usar para cambios chicos — el overhead no lo justifica

Keep looking

Skills are one crate of 626,474. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.