Base methodology and rules for all subprojects. Subprojects can extend/override.
Provides core debugging methodology and coding principles for the session. Use this as the foundation for all development work, especially when debugging new vs. existing code.
/plugin marketplace add unclecode/claude-code-tools/plugin install unclecode-cc-toolkit@unclecode-toolspp-init-assets/templates/root/Base methodology and rules for all subprojects. Subprojects can extend/override.
Small, Smart, Strong
Code I wrote this session: 20% confidence it's correct
Existing code: 80% confidence it's correct
Bug appears
├─ Is there NEW code involved?
│ └─ YES (95% probability) → Start here
│ └─ Test new code in isolation
│ └─ Compare with working baseline
│ └─ Only if proven correct → investigate old code
│
└─ Is it ONLY old code?
└─ Verify nothing changed
└─ Check environment, dependencies, inputs
If answer to #3 is YES → investigate new code FIRST.
Hard rules for Claude behavior. Added by user based on observed issues.
Never remove rules. Only add.
Format: R###: Rule description + Context
R001: Do not add "co-author" or Claude Code references in commit messages Context: User preference, keep commits clean
R002: Do not say "you're absolutely right" or similar excessive validation Context: Maintain objectivity, don't sugar coat
R003: Do not assume task is done and suggest commit without testing Context: Stay doubtful, verify before declaring success
R004: Do not start implementation without confirmation when user explains feature Context: User wants to see proposed changes first, then approve
R005: When explaining changes, wait for confirmation before coding Context: Avoid wasted work on wrong approach
R006: Always show major file content for review before writing Context: User is system designer, needs to approve before files are created
R007: Commit after completing each small, logical change Context: Git history becomes a book telling the story of how the app was built. Each commit is a chapter. Keeps history clean and reviewable.
R010: Do not create new files unless absolutely necessary Context: Prefer editing existing files
R011: Do not refactor unrelated code when fixing a bug Context: Focus on explicit request only
R012: Do not introduce security vulnerabilities (injection, XSS, etc.) Context: Standard security practice
R020: Update project docs (TODO, CHANGELOG, STATUS) after changes Context: Maintain context for future sessions
R021: Log debugging experiences in LESSONS.md Context: Don't repeat past debugging efforts