Extract generic Java TDD skill; refactor project-specific test guides#148
Open
bernardladenthin wants to merge 2 commits intomainfrom
Open
Extract generic Java TDD skill; refactor project-specific test guides#148bernardladenthin wants to merge 2 commits intomainfrom
bernardladenthin wants to merge 2 commits intomainfrom
Conversation
…kill Create .claude/skills/java-tdd-guide.md as a project-independent, versioned Java TDD skill (v1.0.0) containing all generic conventions extracted from tdd.md, CODE_WRITING_GUIDE.md, and TEST_WRITING_GUIDE.md. Examples use generic names (com.example, Foo, Bar) instead of project-specific references. Trim CODE_WRITING_GUIDE.md and TEST_WRITING_GUIDE.md to project-specific supplements only (BitHelper radix, C-prefix POJOs, domain exceptions, marker annotations, static address constants, LMDB/OpenCL patterns). Update tdd.md to delegate to the generic guide and reference supplements. Update CLAUDE.md compliance sections to reference both generic and project-specific guides. https://claude.ai/code/session_01LthQuHQh9NUGgPdR3jDHpg
Restructure .claude/skills/java-tdd-guide.md -> .claude/skills/java-tdd-guide/SKILL.md and .claude/skills/tdd.md -> .claude/skills/tdd/SKILL.md to follow the Agent Skills open standard directory convention. Update path references in CLAUDE.md and tdd/SKILL.md accordingly. https://claude.ai/code/session_01LthQuHQh9NUGgPdR3jDHpg
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #148 +/- ##
============================================
+ Coverage 74.50% 74.54% +0.04%
Complexity 562 562
============================================
Files 84 84
Lines 2428 2428
Branches 208 208
============================================
+ Hits 1809 1810 +1
+ Misses 564 563 -1
Partials 55 55 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
This PR extracts a reusable, project-independent Java Test-Driven Development skill guide and refactors the BitcoinAddressFinder project documentation to separate generic conventions from project-specific patterns.
Key Changes
New file:
.claude/skills/java-tdd-guide.md(961 lines)Refactored:
TEST_WRITING_GUIDE.md(now 58 lines)java-tdd-guide.md)@AwaitTimeTest,@ToStringTest,@OpenCLTest), timing test conventions, static address constants, and platform assumptionsRefactored:
.claude/skills/tdd.md(now 44 lines)java-tdd-guide.mdfor generic conventionsUpdated:
CODE_WRITING_GUIDE.mdjava-tdd-guide.mdUpdated:
CLAUDE.mdNotable Implementation Details
java-tdd-guide.mduses project-agnostic examples (e.g.,Foo,Bar,MyService) to ensure portabilityhttps://claude.ai/code/session_01LthQuHQh9NUGgPdR3jDHpg