forge

Generate Go and Next.js infrastructure from forge.v1-annotated proto contracts.

4|1|Updated Apr 12, 2026
One-click install
npx skills add https://github.com/reliant-labs/forge --skill forge-reliant-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forge
Source: https://github.com/reliant-labs/forge/tree/main/internal/templates/project/skills/forge
Command: npx skills add https://github.com/reliant-labs/forge --skill forge-reliant-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Forge removes the tedious, error-prone boilerplate of wiring middleware, mocks, observability, auth, test harnesses, and CI/CD that teams otherwise rebuild by hand.

Core Features & Use Cases

  • Production infrastructure generation: Safely regenerates Go stubs, TypeScript clients, mocks, middleware, wiring, and deployment configs from your canonical proto annotations.
  • Strict contract boundaries: Keeps your business logic, DB layer, and entity types under your control while enforcing safe regeneration and clear ownership.
  • Proto-driven workflow: Uses forge generate as the canonical pipeline to turn forge.v1-annotated protos into a consistent infrastructure surface.

Quick Start

Ask the AI: generate the entire Forge infrastructure for my project using its current proto service definitions and refresh any idempotent outputs.

Frequently Asked Questions about forge

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

FAQPage Schema
How do I generate production infrastructure from proto definitions for Go and Next.js?

To generate production infrastructure from proto definitions, use the generate pipeline to turn forge.v1-annotated protos into Go stubs, TypeScript clients, mocks, middleware, and deployment configs while preserving your business logic.

Can I regenerate infrastructure from proto without overwriting my existing business logic and DB schema?

Yes, regenerating infrastructure from proto is idempotent and enforces strict boundary ownership, ensuring your user-owned business logic, DB layer, and entity types remain untouched during the continuous generation workflow.

What is proto-driven code generation for CI/CD and observability middleware?

Proto-driven code generation for CI/CD and observability middleware is the process of using forge.v1 proto extensions to automatically scaffold deployment configs and wire auth and observability middleware into your Go and Next.js projects.

Does proto annotation-based scaffolding work with both Go and Next.js projects?

Yes, proto annotation-based scaffolding works with both Go and Next.js projects, generating TypeScript clients and Go stubs from your canonical proto service definitions, entities, and methods configured in the forge.yaml file.

What's the best way to automate test harness and mock generation from proto contracts?

The best way to automate mock generation and test harnesses from proto contracts is to define your services using forge.v1 extensions and run the generate pipeline to safely output these artifacts alongside your other infrastructure.

When should I not use automated infrastructure generation from proto annotations?

You should not use automated infrastructure generation from proto annotations if your project requires custom middleware wiring that cannot be standardized, or if you need to manually own the deployment configuration outside the forge.yaml boundary.