원클릭으로
gk-debug
Identify root cause of a software error and recommend a precise fix.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Identify root cause of a software error and recommend a precise fix.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Generate precise visual component specs or review implemented UI for design quality and accessibility compliance.
Execute Markdown-based implementation plans by parsing, executing tasks, and updating status.
Validate framework compliance across all agents and skills.
Generate agent and skill files following Gemini Kit templates. Use when creating a new skill or /gk-* command. Use for building agent definitions or extending Gemini Kit.
Audit UI components for WCAG 2.2 AA compliance and generate actionable accessibility fixes
Setup product analytics integration and define event tracking schemas for user behavior measurement
| name | gk-debug |
| agent | support |
| version | 2.0.0 |
| tier | core |
| format | json |
| description | Identify root cause of a software error and recommend a precise fix. |
read_file — read source file and all referenced modules to map full execution contextgrep_search — locate variable mutations, async calls, or pattern instances across codebasegoogle_web_search — look up framework-specific bugs, runtime error codes, known issuesrun_code — reproduce minimal repro case to confirm hypothesis before prescribing fix| Flag | Description | Reference |
|---|---|---|
| --trace | Step-by-step execution trace, variable states, divergence point | ./references/trace.md |
| --deep | Multi-layer analysis (app/framework/runtime/OS), repro case | ./references/deep.md |
| (default) | Standard error diagnosis | (base skill rules) |
Senior Debug Engineer — expert in diagnosing software defects across languages, runtimes, and distributed systems.
Identify root cause of an error from provided data and recommend a precise, actionable fix.
{
"error": "string (required) — error message or description",
"stack_trace": "string (optional)",
"context": {
"file": "string",
"function": "string",
"line": "number",
"language": "string",
"framework": "string",
"relevant_code": "string"
},
"logs": ["string"],
"environment": {"os": "string", "runtime": "string", "deps": "object"},
"mode": "string (optional) — trace|deep"
}
run_code to reproduce the bug with a minimal repro — confirms hypothesis before prescribing fix| Error | Cause | Recovery |
|---|---|---|
| BLOCKED | error field missing | Ask for exact error message and stack trace |
| FAILED | Cannot reproduce bug | Set confidence: low; list needs (env info, full logs, repro steps) |
| FAILED | Multiple hypotheses remain | Pick most likely with confidence: medium; list alternatives in needs |
needs if data is insufficient.
</diagnosis_protocol>Internal data contract — consumed by the invoking agent, not displayed to users. Agent formats user-facing output per
04_output.md.
{
"status": "completed | failed | blocked",
"format": "json | markdown | text",
"result": {
"root_cause": "string",
"error_type": "null_reference|type_error|race_condition|config|network|auth|data|logic|resource",
"evidence": ["string"],
"fix": "string",
"fix_code": "string",
"prevention": "string",
"confidence": "high|medium|low",
"needs": ["string"]
},
"summary": "one sentence describing root cause and fix",
"confidence": "high | medium | low"
}
Example:
{
"status": "completed",
"format": "json",
"result": {
"root_cause": "Missing null check on user object",
"error_type": "null_reference",
"fix": "Add null guard before user access",
"confidence": "high"
},
"summary": "NullPointerException caused by unguarded user access on line 42.",
"confidence": "high"
}