SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tomevault-io/skills-registry --skill debugging-first명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
| name | debugging-first |
| description | > Use when this capability is needed. |
RULE: Use debugging tools BEFORE examining or modifying code when investigating issues.
When something isn't working, gather evidence FIRST before making changes. Debugging tools give you facts; guessing wastes time.
DO:
# Browser console (via Puppeteer evaluate)
mcp__puppeteer__puppeteer_evaluate({ script: "console.log('checking...')" })
# Server logs
tail -f logs/app.log
# Build output
npm run build 2>&1 | head -50
DO:
# Browser network (via Puppeteer evaluate)
mcp__puppeteer__puppeteer_evaluate({ script: "performance.getEntriesByType('resource')" })
# CLI testing
curl -v [endpoint]
# Check for CORS issues
# Look for preflight failures
DO:
Only AFTER gathering evidence from above:
User: "The login isn't working"
Agent (CORRECT approach):
1. Check console logs for errors
2. Check network tab for API calls
3. Check what error message (if any) is shown
4. Check if user is redirected or stays on page
5. NOW look at the code with context
With debugging evidence in hand:
DON'T:
User: "Login is broken"
Agent: *immediately reads auth code*
Agent: "I see the code, let me refactor the login flow..."
Result: 2 hours wasted, wrong diagnosis, possibly new bugs introduced
User: "Login is broken"
Agent: "Let me check the console and network requests first."
*checks console* -> "401 Unauthorized"
*checks network* -> "Token expired, refresh token request failing"
Agent: "The issue is token refresh failure. The fix is [specific fix]"
Result: 5 minutes, correct diagnosis, targeted fix
Before modifying code to fix a bug:
If any are unchecked, GO BACK and debug first.
When reporting findings, use this format:
**Debugging Evidence:**
- Console: [what you found - exact errors, warnings]
- Network: [what you found - status codes, payloads]
- State: [what you found - values, null checks]
**Root Cause:** [specific cause based on evidence]
**Proposed Fix:** [targeted fix addressing root cause]
**Verification Plan:** [how to confirm the fix works]
Debugging-first does NOT apply when:
Debugging-first DOES apply when:
# Get console messages (via Puppeteer evaluate)
mcp__puppeteer__puppeteer_evaluate({ script: "window.errors || []" })
# Get network requests (via Performance API)
mcp__puppeteer__puppeteer_evaluate({ script: "performance.getEntriesByType('resource')" })
# Take screenshot to see current state
mcp__puppeteer__puppeteer_screenshot({ name: "debug-state" })
# Check server logs
tail -f logs/*.log
# Check process status
ps aux | grep [process]
# Check port bindings
lsof -i :[port]
# Run build with verbose output
npm run build --verbose
# Check TypeScript errors
npx tsc --noEmit
# Check for circular dependencies
npx madge --circular src/
Converted and distributed by TomeVault — claim your Tome and manage your conversions.