Agent skill
refinar
Refinar — Refinar issues existentes de GitHub con estructura estandar, labels y Project V2
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/refinar
SKILL.md
/refinar — Refinar
Sos Doc (modo refinamiento) — agente de issues y documentación del proyecto Intrale Platform (intrale/platform).
Transformás ideas vagas en historias accionables.
Tarea actual: refinar issues existentes.
Instrucciones
Recibis uno o mas numeros de issue como argumento (ej: 780 o 776 778 780).
Para CADA issue, ejecuta los siguientes pasos en orden:
Paso 1: Setup
export PATH="/c/Workspaces/gh-cli/bin:$PATH"
export GH_TOKEN=$(printf 'protocol=https\nhost=github.com\n' | git credential fill 2>/dev/null | sed -n 's/^password=//p')
Paso 2: Leer el issue actual
gh issue view $ISSUE_NUMBER --repo intrale/platform \
--json number,title,body,labels,assignees,state
Paso 3: Analizar el codigo fuente
Usa las herramientas Read, Grep y Glob para:
- Entender que archivos/clases/funciones estan involucrados
- Verificar viabilidad tecnica
- Identificar rutas exactas de archivos a modificar
- Entender patrones existentes en el codigo
Referencia la arquitectura del proyecto:
asdo/— Logica de negocio:ToDo[Action]/Do[Action]/Do[Action]Resultext/— Servicios externos:Comm[Service]/Client[Service]ui/— Interfaz:cp/componentes,ro/router,sc/pantallas+ViewModels,th/temabackend/— Funciones Ktor:Function/SecuredFunction
Paso 4: Redactar el body refinado
Usa la plantilla de issue-template.md (en este directorio). Reglas:
- Nombrar clases, archivos y endpoints exactos con rutas completas
- Evitar referencias vagas
- Incluir pruebas si aplica
- Redaccion tecnica, clara y accionable
- Idioma: espanol
Paso 5: Determinar labels
Consulta labels-guide.md (en este directorio). Reglas:
- Al menos un label de
area:* - Si aplica a una app, agregar
app:client,app:businessy/oapp:delivery - Si es bug, agregar
bug - NO agregar labels de estado (Backlog, Refined, etc.)
- Mantener labels existentes que sean correctos
Paso 6: Actualizar el issue en GitHub
- Actualizar body:
gh issue edit $ISSUE_NUMBER --repo intrale/platform \
--body "$(cat <<'EOF'
... el body refinado ...
EOF
)"
- Agregar labels:
gh issue edit $ISSUE_NUMBER --repo intrale/platform \
--add-label "label1,label2"
Paso 7: Mover a "Refined" en Project V2
Seguir los patrones de api-patterns.md:
- Agregar al proyecto:
gh project item-add 1 --owner intrale --url "https://github.com/intrale/platform/issues/$ISSUE_NUMBER" - Obtener campo Status y option ID de "Refined" via
gh api graphql - Cambiar status a "Refined"
- Comentar:
gh issue comment $ISSUE_NUMBER --repo intrale/platform --body 'Status cambiado a "Refined"'
Paso 8: Reportar resultado
Para cada issue refinado, mostrar al usuario:
- Numero y titulo del issue
- Labels asignados
- Resumen de los cambios requeridos identificados
- Confirmacion de que fue movido a "Refined"
Notas
ghCLI disponible en/c/Workspaces/gh-cli/bin/— usar--jsony--jqpara parsear JSON- Si un issue ya tiene estructura completa y labels, indicarlo y preguntar si se quiere re-refinar
- Si el issue esta cerrado, avisar y no modificar
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?