v0.x-to-strict-contract-names

Official

Fix internal contract naming to unblock bootstrap

Authorreliant-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Forge project generation or linting can fail when internal-package contract.go files use non-canonical names, causing silently broken bootstrap wiring that won’t compile.

Core Features & Use Cases

  • Renames contract.go to the strict canonical shape: ensures type Service interface, type Deps struct, and func New(Deps) Service exist with the required signatures.
  • Prevents bootstrap codegen mismatches: aligns the contract API with the bootstrap template that wires <pkg>.New(<pkg>.Deps{}) and expects Service and Deps exactly.
  • Targets the common failure mode: use when forge lint --conventions or forge generate reports forgeconv-internal-package-contract-names.

Quick Start

Run lint from the project root, identify every internal/email/…/contract.go reporting a naming violation, and rename the contract elements to exactly Service, Deps, and New(Deps) Service.

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: v0.x-to-strict-contract-names
Download link: https://github.com/reliant-labs/forge/archive/main.zip#v0-x-to-strict-contract-names

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

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.