go-house-rules

Enforce ClearPath, doterr, and go-dt conventions in Go code.

1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/mikeschinkel/ai-agent-depot --skill go-house-rules
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-house-rules
Source: https://github.com/mikeschinkel/ai-agent-depot/tree/main/skills/go-house-rules
Command: npx skills add https://github.com/mikeschinkel/ai-agent-depot --skill go-house-rules

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Enforces a consistent Go development standard across production code, tests, and package design by applying ClearPath rules, doterr-only errors, and go-dt type conventions.

Core Features & Use Cases

  • Enforces ClearPath production style
  • Enforces doterr-only error handling
  • Validates go-dt path/file type usage
  • Aligns with testing conventions and package design guidelines
  • Use cases: Writing, refactoring, reviewing, or explaining Go code

Quick Start

Run this skill on your Go project to apply the house rules and review the code against ClearPath, doterr, go-dt types, and testing conventions.

Frequently Asked Questions about go-house-rules

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

FAQPage Schema
How do I enforce consistent Go code style and error handling across multiple modules?

You can enforce consistent Go code style by applying predefined house rules across production modules, tests, and packages. This ensures uniform ClearPath production style, doterr-only error handling, and go-dt type validation throughout your codebase.

What are ClearPath rules for Go production code?

ClearPath rules for Go production code are a set of house standards that enforce consistent style, doterr-only error handling, and go-dt type conventions. They apply when writing, refactoring, reviewing, or explaining Go code across production modules and tests.

How do I validate go-dt path and file types in my Go project?

To validate go-dt path and file types, run a rules-based check against your Go project. This process reviews your code to ensure it aligns with established go-dt type conventions and package design guidelines for consistent file handling.

Can I use these Go house rules when refactoring existing codebases?

Yes, you can use these Go house rules when refactoring existing codebases. The rules apply to writing, refactoring, reviewing, and explaining Go code, ensuring that updates to production modules, tests, and packages maintain consistent style and error handling.

What is the best way to standardize error handling in Go across different packages?

The best way to standardize error handling in Go is to enforce doterr-only error conventions across all packages. Applying consistent house rules during code reviews and refactoring ensures uniform error handling and package design throughout the codebase.

Do I need specific testing conventions to align my Go code with these house rules?

Yes, aligning Go code with these house rules requires following specific testing conventions. The rules validate that your tests, production code, and package design adhere to ClearPath style, doterr-only errors, and go-dt type usage for full consistency.