code-generator

Translate design documents into phase-based code generation with cost estimates and modification previews.

22|7|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Dqz00116/skill-lib --skill code-generator-dqz00116
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-generator
Source: https://github.com/Dqz00116/skill-lib/tree/main/code-generator
Command: npx skills add https://github.com/Dqz00116/skill-lib --skill code-generator-dqz00116

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Designing and implementing code from design documents is tedious and error-prone; this Skill orchestrates a phase-based workflow to generate maintainable code with explicit cost estimates and change previews.

Core Features & Use Cases

  • Phase-Based Execution: break the work into clearly defined phases with dependencies.
  • Cost Transparency: estimate token costs per operation and provide a total budget.
  • Modification Preview: show diffs for changes to existing files before applying them.
  • Use Case: convert a design document into scaffolding and implementation files that align with the design.

Quick Start

Provide a phase-based implementation plan from a design document to generate code artifacts.

Frequently Asked Questions about code-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate code from a design document?

To generate code from a design document, you provide the document to initiate a phase-based workflow that yields implementation artifacts like scaffolding and modules across new or existing codebases.

Can I preview code modifications before applying them to existing files?

Yes, you can preview code modifications before applying them because the workflow generates change previews showing diffs for any modifications to existing files in your codebase.

How does phase-based code generation work for software engineering tasks?

Phase-based code generation works by breaking software engineering tasks into clearly defined phases with dependencies, orchestrating execution to translate architecture docs into scaffolding, modules, and test stubs.

Does this code generation workflow estimate token costs?

Yes, the code generation workflow provides token cost transparency by estimating costs per operation and delivering a total budget for the implementation plan.

Do I need a design document to start the code generation workflow?

Yes, you need a design document to start the workflow because the system requires it to produce a phase-based implementation plan and generate the corresponding code artifacts.

What is the best way to translate architecture docs into scaffolding?

The best way to translate architecture docs into scaffolding is using a structured execution workflow that declares operation types, estimates costs, and maintains dependencies between implementation phases.