Skip to content

docs(claude): codify conventions/tests per-framework isolation rules - #121

Merged
ddtcorex merged 1 commit into
masterfrom
docs/claude-md-framework-isolation-conventions
Aug 7, 2026
Merged

docs(claude): codify conventions/tests per-framework isolation rules#121
ddtcorex merged 1 commit into
masterfrom
docs/claude-md-framework-isolation-conventions

Conversation

@ddtcorex

@ddtcorex ddtcorex commented Aug 7, 2026

Copy link
Copy Markdown
Owner

Summary

Codifies into CLAUDE.md the two conventions established in #119/#120 (reducing per-framework coupling in internal/conventions/ and tests/), so future sessions/contributors follow them by default instead of re-discovering the same anti-patterns:

  • internal/conventions/ should only hold constants genuinely used by ≥2 packages; single-consumer constants belong in that framework's own package.
  • Framework-specific test functions belong in tests/<subject>_<framework>_test.go, not scattered into shared grab-bag files; genuinely cross-framework tests stay table-driven with framework names only in test data.

No code changes.

Test plan

  • Docs-only change; no build/test impact.

Generalizes the pattern established while reducing per-framework
coupling in internal/conventions/ and tests/ (#119) into a standing
convention, so future framework additions follow it by default instead
of re-discovering it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ddtcorex
ddtcorex merged commit 0790a8d into master Aug 7, 2026
4 checks passed
@ddtcorex
ddtcorex deleted the docs/claude-md-framework-isolation-conventions branch August 7, 2026 07:19
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