/file-to-code:file-to-codefrom file-to-code
Generates production-ready code from CSV, JSON schemas, SQL DDL, protobuf, OpenAPI specs, or requirements documents into typed models, APIs, parsers, and tests.
Ships in file-to-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate production-ready code from file specifications, data schemas, and requirements documents.
This skill reads structured input files -- CSV data, JSON schemas, SQL DDL statements, protobuf definitions, OpenAPI specs, or plain-text requirements -- and generates complete, production-ready code to process, serve, or transform that data. Instead of manually writing boilerplate models, validation logic, and CRUD endpoints, this skill analyzes the input structure and produces well-typed code with proper error handling, input validation, and test coverage.
The skill supports multiple output languages and frameworks. It infers types from data samples, respects constraints defined in schemas, and follows best practices for the target framework. When generating API endpoints, it includes request validation, error responses, and OpenAPI documentation. When generating data processing pipelines, it includes type coercion, null handling, and logging.
Point to the input file or paste its contents:
data/users.csv and generate a REST API for it"{ ... } -- generate TypeScript types and a validator"schema.sql"Specify the target language and framework (optional -- the skill will infer reasonable defaults):
Indicate the scope of what you want generated:
Review the generated code. The skill creates files in your project directory following standard conventions (e.g., src/models/, src/routes/, tests/). Inspect the output and request adjustments if needed.
Depending on the input and requested scope, the skill generates:
User: "Read data/products.csv and generate a FastAPI app to serve this data."
The skill will:
Product) with fields inferred from the CSV headers.GET /products, GET /products/{id}, POST /products, PUT /products/{id}, DELETE /products/{id}.User: "Here's my API response schema. Generate TypeScript types and a Zod validator."
The skill will:
$ref references and nested objects.validate function that returns typed, validated data or a structured error.User: "Read migrations/001_create_tables.sql and generate Go structs with sqlc-compatible annotations."
The skill will:
VARCHAR to string, TIMESTAMP to time.Time, BOOLEAN to bool).db and json tags.queries.sql file with standard CRUD queries for sqlc to process.status an enum or a free-text string?").pip install fastapi uvicorn) and offers to generate a requirements.txt or package.json.npm or pip) for installing generated dependenciesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-generation, schema-to-code, api-generation, data-pipeline
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin file-to-codeOther plugins' skills for the same job