Skip to main content

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.

소스 정보

저장소
NTCoding/claude-skillz
최근 소스 활동
2026년 1월 31일 18:16
감지된 SKILL.md 언어
영어
스타
352
포크
46

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
lightweight-implementation-analysis-protocol
description
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.
version
1.0.0
# Lightweight Implementation Analysis Protocol Quick understanding before implementation - **just enough to guide TDD, no more**. ## When This Activates Before creating implementation plans, fix plans, or TDD cycles for bugs/features. ## The Protocol (3 Quick Steps) ### 1. Trace the Flow Answer these: - Which event/request triggers this? - Which file:line handles it? - Where does the error occur (file:line)? ### 2. Quick Diagram 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. ### 3. Verify Ask: "Here's the flow: [diagram]. Correct?" Wait for confirmation, then proceed. ## Example ``` 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 ``` ## Rules - **Keep it lightweight** - This isn't detailed planning, just enough to know what to test - **Be specific** - File:line, not abstractions - **Get confirmation** - Don't proceed without it - **Skip for trivial changes** - Typos, formatting, docs ## Anti-Pattern ❌ **WRONG**: "I'll fix the validation. Here's my plan..." ✅ **RIGHT**: "Let me trace where the error occurs... [diagram]. Correct?"
GitHub에서 보기