Skip to content

docs(rules): codify prefer-DIY-over-heavy-dependency principle#334

Merged
laurigates merged 1 commit into
mainfrom
docs/prefer-diy-over-heavy-dependency
Jul 18, 2026
Merged

docs(rules): codify prefer-DIY-over-heavy-dependency principle#334
laurigates merged 1 commit into
mainfrom
docs/prefer-diy-over-heavy-dependency

Conversation

@laurigates

Copy link
Copy Markdown
Owner

Summary

  • New rule rules/prefer-diy-over-heavy-dependency.md: before depending on a heavy single-purpose tool (GUI app, bundled runtime, non-cross-platform binary), always evaluate a transparent DIY reimplementation — not a mandate to always DIY, but the evaluation itself is never optional. Includes green/red-light checklists, a verify-against-authoritative-source discipline for anything DIY'd, and a worked example.
  • One-line pointer added to CLAUDE.md's Core section, same pattern as the existing skill-catalog-check pointer.

Distilled from this session's nintendo-switch-cfw work: replaced CrystalRCM.app (a mounted, unaudited macOS GUI binary) with a ~215-line auditable uv run script, cross-verified byte-for-byte against two independent open-source reference implementations before being trusted.

Test plan

  • Pre-commit hooks passed locally (doc-reference check, context-budget check, conventional-commit check)
  • chezmoi apply -v ~/.claude deployed and diffed clean against source

🤖 Generated with Claude Code

https://claude.ai/code/session_018vWn8iSZWh7Yd3KRsPXeJm

Distilled from replacing CrystalRCM.app (a mounted, unaudited macOS GUI
binary) with a ~215-line auditable script in nintendo-switch-cfw: before
depending on a heavy single-purpose tool, evaluate whether the underlying
operation is simple/documented enough to own directly and verify against
an authoritative source. Not a mandate to always DIY, but the evaluation
itself should always happen.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018vWn8iSZWh7Yd3KRsPXeJm
@github-actions github-actions Bot added documentation Improvements or additions to documentation claude size/m and removed documentation Improvements or additions to documentation claude labels Jul 18, 2026
@laurigates laurigates added the documentation Improvements or additions to documentation label Jul 18, 2026
@laurigates laurigates self-assigned this Jul 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Broken Links Detected

Summary

Status Count
🔍 Total 170
✅ Successful 160
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 9
❓ Unknown 0
🚫 Errors 1

Errors per input

Errors in exact_dot_claude/docs/prds/daily-catchup.PRD.md


Please fix the broken links before merging.

@laurigates
laurigates merged commit 6a1b0ff into main Jul 18, 2026
7 of 8 checks passed
@laurigates
laurigates deleted the docs/prefer-diy-over-heavy-dependency branch July 18, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant