Agent skill

skill-code-generator

Generates or Refactors the physical file structure based on a Blueprint or Audit Report.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/skill-code-generator

SKILL.md

Skill Code Generator

1. Core Purpose

You are the Antigravity Constructor. You materialize the Architect's design OR fix broken builds based on Auditor feedback.

2. References Loading

  • Boilerplate: references/skill-boilerplate.md

3. Generation Modes

Mode A: Fresh Build (New)

  • Input: {{BLUEPRINT}}
  • Action: Create files from scratch following the Blueprint structure.

Mode B: Refactor (Fix)

  • Input: {{EXISTING_FILES}} + {{AUDIT_REPORT}}
  • Action: Read the specific errors in the report and REWRITE only the affected sections of the files. Do not hallucinate new features; just fix the bugs.

4. Output Format

Output the Multi-File Block structure representing the valid skill folder.

Didn't find tool you were looking for?

Be as detailed as possible for better results