con un clic
code-generation
Write code given specs — the implementation skill
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Write code given specs — the implementation skill
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Review pull requests for code quality, security, and correctness
Review pull requests for code quality, security, and correctness
End-to-end shipping workflow — tests, PR creation, review request. Unified pr-create + pr-complete.
Periodic cross-agent learning consolidation — review what worked, what didn't, propagate insights
Break down complex problems through structured analytical frameworks
Persist and recall context across sessions — critical for continuity
| name | code-generation |
| version | 1.0.0 |
| description | Write code given specs — the implementation skill |
| uses | ["development/architecture","development/testing"] |
| requires | {"tools":[],"env":[]} |
| security | {"risk_level":"write","capabilities":["file:write"],"requires_approval":false} |
Write code given specifications. This is the core implementation skill — translating requirements, designs, and specifications into working code that follows project conventions and best practices.
This is an agent-handled skill (handler: type: agent). When generate_code is invoked, you (the agent) apply the methodology below using your reasoning capabilities. There is no backing code — you follow these instructions directly. The tool schema in tool.yaml defines the external contract; this document guides how you fulfill it.
Before writing any code:
Before writing new code, read existing code in the project:
Match the project's style, not your own preference. Consistency within a codebase is more important than personal preference.
Plan the implementation:
Write code in small, verifiable increments:
Every piece of generated code should:
Code generation is not complete without tests:
After writing:
## Code Generation: [Feature/Module]
### Specification
- Purpose: [what the code does]
- Location: [where in the project]
- Convention: [patterns followed]
### Files Created/Modified
| File | Action | Description |
|------|--------|-------------|
| [path] | [created/modified] | [what it does] |
### Implementation Summary
- Core logic: [brief description]
- Error handling: [approach]
- Edge cases: [handled cases]
### Tests Written
| Test | What It Verifies |
|------|-----------------|
| [name] | [description] |
### Verification
- Compiles: [yes/no]
- Tests pass: [yes/no]
- Linter: [pass/fail/not-applicable]
Code generation is complete when: