ntcoding/lightweight-implementation-analysis-protocol
This skill should be used when fixing bugs, implementing features, debugging issues, or making code changes. Ensures understanding of code flow before implementation by: (1) Tracing execution path with specific file:line references, (2) Creating lightweight text diagrams showing class.method() flows, (3) Verifying understanding with user. Prevents wasted effort from assumptions or guessing. Triggers when users request: bug fixes, feature implementations, refactoring, TDD cycles, debugging, code analysis.
npx skills add https://github.com/NTCoding/claude-skillz --skill lightweight-implementation-analysis-protocol
Quick understanding before implementation - just enough to guide TDD, no more.
Before creating implementation plans, fix plans, or TDD cycles for bugs/features.
Answer these:
Simple class.method() flow with relevant data:
Event: EventName
↓ (contains: relevant fields)
Class.method() [file:line]
↓ (what it does)
Class.method() [file:line] ← 💥 Error here
↓
Result: What happens
Keep it short - 5-10 lines max.
Ask: "Here's the flow: [diagram]. Correct?"
Wait for confirmation, then proceed.
Problem: Email validation failing
Event: user.email.updated
↓ (email: "invalid@")
UpdateUserEmailHandler.execute() [line 281]
↓ (validates email format)
EmailValidator.parse() [line 289] ← 💥 Throws ValidationError
↓
Result: Error response
Current: Throws
Should: Use safeParse(), return validation error
❌ WRONG: "I'll fix the validation. Here's my plan..."
✅ RIGHT: "Let me trace where the error occurs... [diagram]. Correct?"
Take ntcoding/lightweight-implementation-analysis-protocol from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.