code-generator

Generate CRUD scaffolding from entity.yaml using a Python generator script.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/alabasi2025/manus-skills-library --skill code-generator
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: code-generator
Source: https://github.com/alabasi2025/manus-skills-library/tree/main/infrastructure/code-generator
Command: npx skills add https://github.com/alabasi2025/manus-skills-library --skill code-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill requires PyYAML, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill automates boilerplate code generation by reading an entity definition and producing full CRUD scaffolding across schemas, types, services, routes, and validators.

Core Features & Use Cases

  • Generate complete backend scaffolding (Schema, Types, Service, Routes, Validators) from a single entity definition.
  • Supports CRUD workflows for new entities, including model and API layer boilerplate.
  • Use case: define an Invoice entity in entity.yaml and generate all necessary files to bootstrap a new service quickly.

Quick Start

Run the code generator with an entity.yaml to produce the boilerplate in the output directory.

Frequently Asked Questions about code-generator

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

FAQPage Schema
How do I generate backend CRUD scaffolding from a single entity definition?โ–ผ

Backend CRUD scaffolding generation requires defining your entity in an entity.yaml file, which serves as the single source of truth. You then execute the Python generator script to automatically produce schemas, types, services, routes, and validators in your output directory.

What is boilerplate code scaffolding for backend services?โ–ผ

Boilerplate code scaffolding is the automated generation of repetitive structural code required for new backend entities. It creates full CRUD architectural patterns across schemas, types, services, routes, and validators from a single YAML definition.

Do I need PyYAML installed to generate backend code artifacts?โ–ผ

Yes, PyYAML is required to parse the entity.yaml definition file used for generating backend code artifacts. This dependency allows the Python-based generator script to read your entity definitions and produce the scaffolding outputs.

Can I use this code generator to bootstrap multiple new API services?โ–ผ

Yes, the code generator is designed for rapid backend bootstrapping and supports consistent, repeatable architectural patterns. By defining different entities in separate YAML files, you can generate complete CRUD workflows for multiple new services quickly.

What's the best way to automate backend model and API layer boilerplate?โ–ผ

The best way to automate backend model and API layer boilerplate is defining the entity structure in a YAML file and running a Python generator script. This approach guarantees consistency across schemas, types, services, routes, and validators.

Are there limitations to using code templates for backend CRUD workflows?โ–ผ

The main limitation of using code templates for backend CRUD workflows is that the generated schemas, types, services, and routes strictly follow predefined architectural patterns. You may need to manually modify the generated files to implement complex custom business logic.