Agent skill · software engineering · jeremylongshore
file-to-code
Generates production-ready code from file specifications such as CSV
Why this skill is useful
Adds executable scripts to generate production-ready code from various file specifications, including APIs and data processing pipelines.
What it needs
Requires node, npm, pip, python3 installed locally. About 4k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.
What this skill does
File to Code Generate production-ready code from file specifications, data schemas, and requirements documents. Overview 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. Instructions 1. Point to the input file or paste its contents: "Read data/users.csv and generate a REST API for it" "Here's my JSON schema: { ... } -- generate TypeScript types and a validator" "Create a data pipeline from schema.sql" 2. Specify the target language and framework (optional -- the skill will infer reasonable defaults): Language: TypeScript, Python, Go, Rust, Java Framework: Express, FastAPI, Gin, Actix, Spring Boot If unspecified, defaults to TypeScript with Express for APIs, or Python for data processing 3. Indicate the scope of what you want generated: "Just the types" -- generates type definitions and interfaces only "Full CRUD API" -- generates routes, controllers, models, validation, and tests "Parser only" -- generates a file reader/parser with error handling "Everything" -- generates the full stack: types, API, tests, and documentation 4. Review the generated code. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills jeremylongshore/file-to-code