Skip to content

docs(agents): 📝 enhance AGENTS.md with Go style and composition guardrails#102

Merged
justapithecus merged 1 commit intomainfrom
andrew/docs/agents/style-guide-enhancement
Feb 7, 2026
Merged

docs(agents): 📝 enhance AGENTS.md with Go style and composition guardrails#102
justapithecus merged 1 commit intomainfrom
andrew/docs/agents/style-guide-enhancement

Conversation

@justapithecus
Copy link
Owner

Summary

Brings lode's AGENTS.md to parity with quarry's development discipline
conventions, tailored for Go-only. All existing domain-specific sections
(core constraint, immutability, metadata, API boundaries) preserved as-is.

Highlights

  • Add Core Principles, Scope Discipline, Change Discipline, Structural Rules
  • Enhance Go Rules with errors.New preference and iterator preference (iter.Seq, range/yield)
  • Merge composition guidelines into existing declarative style section (extract ≥3, abstraction grouping, mutable wrapping, nesting limits)
  • Add Control Flow, Errors, Formatting & Comments sections
  • Add Litmus Test and Agent Implementation Procedure (12-step, Go-focused)

Test plan

  • Read through for consistency with quarry AGENTS.md conventions
  • Verify no domain-specific content was lost or altered
  • Confirm Go-only focus (no TypeScript sections)

🤖 Generated with Claude Code

…rails

Add general development discipline sections aligned with quarry's
AGENTS.md conventions, tailored for Go-only:

- Core Principles, Scope/Change Discipline, Structural Rules
- Enhanced Go Rules (errors.New preference, iterator preference)
- Code Style & Composition (extract ≥3, abstraction grouping, mutable wrapping)
- Control Flow, Errors, Formatting & Comments
- Litmus Test and Agent Implementation Procedure

All existing domain-specific sections (core constraint, immutability,
metadata, API boundaries, declarative style) preserved as-is.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@justapithecus justapithecus merged commit 2961b90 into main Feb 7, 2026
5 checks passed
@justapithecus justapithecus deleted the andrew/docs/agents/style-guide-enhancement branch February 7, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant