coding
Qué hace
Esta skill ayuda a un agente de IA a investigar y cambiar código de un repositorio, y después a comprobar el resultado. Está pensada para personas que quieren que un asistente haga cambios reales en el código con cuidado.
Cuándo usarla
- ✓Cuando quieres que el agente corrija un error o añada una función en una carpeta de proyecto.
- ✓Cuando necesitas que el agente siga las reglas propias del proyecto y sus comandos de prueba.
- ✓Cuando quieres que un cambio de código se compruebe ejecutando las pruebas del proyecto antes de usarlo.
Link de la skill
https://github.com/leon-ai/leon/blob/develop/skills/agent/coding/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes arreglar el formato de fechas roto de este proyecto y ejecutar las pruebas para confirmar que funciona?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente localiza los archivos relevantes, lee las instrucciones del proyecto y hace el cambio. Después ejecuta las pruebas del proyecto e informa de lo que cambió y de lo que comprobó.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Coding
Code directly with Leon's existing loop and tools. Respect scope: analysis does not authorize edits, commits, pushes or publication. Delegate only on owner request or applicable preference.
For delegation, use the owner's preferred available agent/interface. Pass the repository, task, instructions and authorized scope; inspect and verify results, not just prompt submission. If unavailable, explain briefly and continue directly within scope.
Repository and instructions
- Establish the exact workspace/cwd from the request and live observations. Read relevant manifests and nearby code; reuse helpers before adding abstractions.
- Before project commands or edits, inspect applicable
AGENTS.mdfiles from repository root through each target directory.file.readincludes them inrepositoryInstructionswith source reads; read missing instructions explicitly. Confirm full returned text, since shell success alone does not prove a file was read. Reuse complete returned instructions, including unchanged content referenced in earlier visible tool results, instead of rediscovering the same files. Apply their package manager and test commands to the baseline as well as final checks. Deeper rules override broader ones only in their subtree. For non-Git work, use the owner-selected boundary, excluding unrelated parent instructions. - In plan details, record workspace, instruction paths, constraints, and acceptance criteria with required checks from the request/references. Discover nested instructions before editing new directories. After compaction/continuation, reread applicable files in full before editing; summaries cannot replace current instructions.
- Inspect Git status and staged/unstaged diffs; record and preserve unrelated changed/untracked content. Never reset, clean, stage or commit owner work without authorization. Use an isolated worktree when concurrency or the requested workflow warrants it.
Investigate and change
- Select the functions needed for inspection, authorized edits and verification together from the tool index; reuse their schemas throughout the task. Expand discovery only when evidence requires another capability. Use bounded reads, ripgrep and available structural search. Trace definitions/callers and check installed dependencies; never invent symbols/APIs. Read package metadata from its manifest; respect package exports and resolve dependencies from their owning source rather than assuming a flat install layout.
- Batch independent reads of known files, searches and edits to different files in one response. Combine independent commands/checks when each result and exit status remains visible; keep dependent checks after their inputs exist. Include plan updates supported by prior evidence alongside the next independent action. Do not weaken verification or bypass dedicated tool safeguards to reduce call counts.
- Reproduce bugs before editing; use affected existing tests when baseline evidence is needed to distinguish existing failures from regressions. Run repository-required baseline checks even when an interactive reproduction already shows the bug; do not infer a full baseline suite requirement from a rule to run lint or relevant tests. Extend only meaningful coverage when authorized, and never weaken tests for a pass.
- Prefer
file.patchwith the current read's hash when available, unique exact context and unrelated changes preserved. For stale/ambiguous matches, reread and revise; never repeat unchanged patches or overwrite from partial views. - Use
file.writefor new files; overwriting requires complete current content. Follow project formatting and dependency rules. - Prefer
shell.executeCommandfor short finite commands/checks. Useshell.startSessionfor long checks, installs, servers, watchers and interactive programs so owner follow-ups can be handled without discarding running work. Supply the observed workspace cwd and use the project's commands and package manager. - Record session IDs and commands in the plan, follow output cursors and verify process status; starting is not completion/success. After follow-ups or interruptions, inspect retained work before restarting anything. Informational questions preserve the task and its sessions; stop affected sessions when the owner cancels or redirects work that is no longer applicable. Never invent handles, replay commands for output or send secrets through stdin.
Verify and finish
- Inspect test scripts be
Preguntas frecuentes
¿El agente hará commit o publicará mi código?
No por su cuenta. La skill dice que el análisis no permite hacer commits, push ni publicaciones a menos que lo pidas.
¿El agente sigue las reglas del proyecto?
Sí. Lee los archivos de instrucciones del proyecto y aplica el gestor de paquetes y los comandos de prueba que indican.
¿Puede usar otro agente para parte del trabajo?
Solo si lo pides, o si tu configuración lo prefiere. Si no, trabaja directamente.
Detalles
Descripción original del autor
Investigate, implement and verify code changes directly in a repository using Leon's file, search and shell tools.
repo: leon-ai/leon
Popularidad
- Estrellas en GitHub
- 18 mil
- Posición en el ranking
- #10740
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
document-authoring
18 milAyuda a tu agente a crear gráficos, PDF, archivos de Word, hojas de cálculo y presentaciones, y a revisar cada archivo antes de que lo recibas.
live-tutorial
18 milPermite que tu agente muestre un flujo de trabajo en tu aplicación y convierta las capturas de pantalla en un vídeo tutorial MP4 con anotaciones.
media-production
18 milAyuda a tu agente a generar y editar imágenes, gráficos vectoriales, audio y vídeo, y a revisar los archivos terminados antes de entregarlos.
Skills parecidas
diffs
394 milPermite que tu agente genere un diff real y compartible de los cambios, como enlace de visualización o archivo de imagen, en lugar de un resumen escrito a mano.
coding-agent
394 milAyuda a tu agente a pasar un trabajo de programación grande a Codex, Claude Code u OpenCode como trabajador en segundo plano, y después revisar su progreso.
gh-issues
394 milAyuda a tu agente a encontrar incidencias de GitHub, elegir cuáles trabajar y abrir pull requests con correcciones, incluido el seguimiento de los comentarios de revisión.