Agent skill
nueva-feature
Usar al implementar una funcionalidad nueva de principio a fin
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/nueva-feature
SKILL.md
Cuándo usar esta skill
- Al implementar una nueva funcionalidad completa
- Cuando el usuario pida "añadir", "crear", "implementar" algo nuevo
- Para features que tocan múltiples capas (backend + frontend)
Contexto necesario antes de empezar
- Leer archivos relacionados con la feature
- Identificar qué capas se verán afectadas
- Verificar si hay patrones similares en el código existente
- Comprobar dependencias necesarias
Pasos
1. Planificación
- Definir scope exacto de la feature
- Listar archivos a crear/modificar
- Identificar dependencias externas (APIs, configs)
2. Backend (si aplica)
- Añadir configuración en
config.pysi es necesario - Crear cliente en
blueprints/[servicio]_client.pysi hay API externa - Añadir endpoint en
blueprints/main.py - Aplicar
@cache.cached()si corresponde
3. Frontend (si aplica)
- Añadir método en
static/js/dashboard.js - Añadir estilos en
static/css/components.cssodashboard.css - Añadir HTML en template correspondiente
4. Validación
ruff check .
ruff format --check .
python -c "from app import app"
5. Test manual
- Verificar que la feature funciona en navegador
- Comprobar logs de Flask
6. Commit
- Usar skill
@commitpara generar mensaje
<patrones_criticos> SIEMPRE:
- Seguir patrones existentes en el código
- Añadir logging con
current_app.logger - Documentar nuevas variables de entorno en README
NUNCA:
- Instalar dependencias sin preguntar
- Hardcodear valores que deberían ir en config
- Crear archivos fuera de la estructura existente
PREFERENTEMENTE:
- Reutilizar componentes CSS existentes
- Usar
utils.fetchJSON()en frontend - Cache para endpoints de lectura </patrones_criticos>
Sobre versiones y documentación
Al implementar esta skill, si usas APIs de Flask, requests, o Flask-Caching:
- Verifica la versión en
requirements.txt - Consulta el código existente para ver cómo se usa
- Si hay dudas sobre una API, indica qué versión asumes
Checklist de validación
-
ruff check .pasa sin errores -
ruff format --check .pasa - La app arranca sin errores
- La feature funciona en navegador
- No se han tocado archivos fuera del scope
- Variables de entorno documentadas si las hay
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?