v0.x-to-strict-contract-names
OfficialFix internal contract naming to unblock bootstrap
Software Engineering#code generation#lint#forge#internal contracts#Go refactor#bootstrap wiring#conventions enforcement
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, andfunc New(Deps) Serviceexist with the required signatures. - Prevents bootstrap codegen mismatches: aligns the contract API with the bootstrap template that wires
<pkg>.New(<pkg>.Deps{})and expectsServiceandDepsexactly. - Targets the common failure mode: use when
forge lint --conventionsorforge generatereportsforgeconv-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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.