Code Generation

Official

Automate schema & API spec generation.

Authoredgeandnode
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates the error-prone and time-consuming task of manually updating JSON schemas and OpenAPI specifications. It ensures that your documentation and validation artifacts are always in sync with your codebase, reducing inconsistencies and development overhead.

Core Features & Use Cases

  • JSON Schema Generation: Automatically generate JSON schemas for various dataset manifests (common, derived, EVM RPC, Firehose).
  • OpenAPI Specification Generation: Create up-to-date OpenAPI specifications for the Admin API.
  • Batch Generation: Regenerate all schemas and API specs with a single command (just gen).
  • Use Case: When you add a new field to an EVM RPC dataset manifest, use just gen-evm-rpc-dataset-manifest-schema to instantly update the corresponding JSON schema, ensuring all consumers have the correct, validated structure.

Quick Start

Generate all JSON schemas and OpenAPI specifications for the project.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Code Generation
Download link: https://github.com/edgeandnode/amp/archive/main.zip#code-generation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository