본문으로 건너뛰기
cccskills
무료GitHub에 공개

debug

Diagnose a failing test, build, crash, regression, or unexpected behavior without editing source. Reproduce the symptom, test hypotheses, identify the supported root cause, and hand off a repair. Use for /debug, root-cause investigation, or questions about why something is broken.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aiblueprinthq/ai-blueprint스타 480(GitHub 480 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(2)

  • SKILL.md6.1 KB
  • agents/openai.yaml227 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

debug - find the cause before changing the code

Context reuse: Reuse any required file already loaded in project instructions or the current session. Read it again only if absent, changed, or exact current bytes or line references are needed.

First action: Before project inspection, preflight, or any other tool call, publish running to blueprint/.state/run.json using the dashboard activity contract in AGENTS.md.

Where this sits in the workflow:

reported failure  ->  [debug]  ->  /fix or /implement
(test, build,          (reproduce,    (spec a new fix, or
 crash, behavior)       isolate,       repair active work)
                        explain)

/debug separates diagnosis from repair. It gathers evidence, narrows the failure to a specific cause when possible, and stops with a useful handoff. It does not make the code "temporarily work" while investigating.

Input

Accept a symptom, failing command, error message, or unexpected behavior. Examples:

/debug npm test fails in cart-total.test.js
/debug the upload route returns 500 for PNG files
/debug why does the production build fail?

With no useful symptom, ask for the expected behavior, actual behavior, and smallest known reproduction. Do not guess which problem the user means.

Step 1 - establish the boundary

Read the project instructions and the context relevant to the failure:

  • AGENTS.md and its real commands
  • blueprint/context/project-overview.md
  • blueprint/context/coding-standards.md
  • blueprint/context/current-feature.md
  • the reported error, failing output, and affected files
  • git status, diff, and recent log when a regression is possible

State the symptom and what would count as reproducing it. Note whether the failure belongs to an active feature or is an unplanned bug.

Do not treat a dirty working tree as permission to discard or rewrite anything. Use the diff as evidence and preserve it.

Step 2 - reproduce safely

Run the smallest existing command or interaction that can reproduce the symptom.

  • Prefer one focused test, request, CLI command, or input over the entire suite.
  • Capture the exact exit code, error, stack trace, output, response, console error, or failed request.
  • Reuse an already-running local app when available. If reproduction requires a long-running server that is not running, ask the user to start it and provide the documented command.
  • Do not install dependencies, change configuration, run migrations, mutate production data, contact external users, or use destructive commands to force a reproduction.
  • Do not edit code to add logs or probes. Use existing logs, debuggers, read-only inspection, or one-off commands that do not change project files.
  • Compare git status after diagnostic commands. If one changes tracked or untracked project files, stop and report those paths. Do not clean, restore, or hide the changes.

If the symptom cannot be reproduced, say what was attempted and what evidence is missing. Continue with static investigation only when it can produce a clearly labeled hypothesis, not a claimed root cause.

Step 3 - localize the failure

Trace from the observed failure toward the smallest responsible area.

Use the evidence that fits the project:

  • the first relevant application frame in a stack trace
  • the smallest failing test and its inputs
  • request and response data at the failing boundary
  • console and network errors
  • callers, imports, data flow, and configuration reads
  • git diff, git log, and git blame for a suspected regression
  • comparison with a nearby working path or input

Separate facts from hypotheses. Test the cheapest safe competing explanations first. Do not stop at the first plausible line, blame a dependency without evidence, or confuse the place an error surfaced with the place it originated.

Step 4 - confirm or narrow

A root cause is confirmed only when the evidence connects all three:

  1. the triggering input or state
  2. the responsible code, configuration, or contract
  3. the observed failure

When safe and read-only, vary one input or run a smaller focused command to confirm the connection. Do not change implementation or tests to prove the fix.

Use one of these verdicts:

  • Confirmed - evidence identifies the cause and explains the failure.
  • Likely - evidence narrows the cause, but one specific proof is unavailable.
  • Blocked - the failure cannot be reproduced or required evidence is inaccessible.

Step 5 - report and hand off

Give a concise debug report:

  • symptom and reproduction
  • verdict
  • root cause or leading hypothesis
  • evidence, including commands and relevant paths
  • affected behavior and likely repair boundary
  • what was not verified
  • exact next action

Choose the next action without writing files:

  • Active feature or fix caused the failure -> return the diagnosis to /implement.
  • No active work item and the bug is confirmed -> recommend /fix "<concise bug and confirmed cause>".
  • Cause is only likely or blocked -> recommend the next diagnostic evidence, not a speculative repair.
  • The issue is planned product work rather than a defect -> point to /feature.

Rules

  • Diagnose, do not repair. Never edit source, tests, configuration, lockfiles, or Blueprint files.
  • Never create, switch, merge, or delete branches. Never commit or push.
  • Do not update the findings ledger. /audit owns recorded code-quality findings; /debug reports one investigated failure in chat.
  • Evidence outranks confidence. Label uncertainty and failed reproduction honestly.
  • Preserve the user's working tree and running processes.
  • Do not broaden one failure into a general audit or refactor.

Formatting

Format the output to match the project's conventions in blueprint/context/ai-interaction.md: concise, scannable markdown with a short evidence list and a clear next action.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

adopt

무료

Adopt Blueprint into an existing brownfield codebase by surveying shipped behavior and generating plans, standards, commands, adapter choices, and visibility setup. Use for /adopt or requests to bootstrap Blueprint into an established app. Use onboard for a fresh scaffold.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aiblueprinthq/ai-blueprint4802026년 10월 11일 업데이트

audit

무료

Audit current changes, a path, or the full project for quality, security, performance, or test problems and record durable findings. Independent mode prepares or completes a fresh-reviewer checkpoint handoff. Use for /audit, independent review, security review, code quality review, dead code, duplication, or standards drift.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aiblueprinthq/ai-blueprint4802026년 10월 11일 업데이트

autopilot

무료

Run one explicit bounded Blueprint spec and implementation pass through configured quality gates, then stop before completion or external actions. Use only when the user directly invokes /autopilot, $autopilot, or asks for Autopilot.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aiblueprinthq/ai-blueprint4802026년 10월 11일 업데이트

brief

무료

Brief an upcoming build-plan feature without writing files. Explain scope, dependencies, affected areas, size, and likely splits for the next item or a named item. Use for /brief, feature previews, what comes next, or build-order decisions before /feature.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aiblueprinthq/ai-blueprint4802026년 10월 11일 업데이트

check

무료

Check the running app, CLI, or server against the active spec's done-when criteria and capture observable pass or fail evidence without editing source. Use /check to verify real feature behavior, or /check guide [latest|scope] for a read-only manual walkthrough: how to test manually, where to click, expected and incorrect results, or a human review path.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aiblueprinthq/ai-blueprint4802026년 10월 11일 업데이트

ci

무료

Set up or normalize one project Verify command and matching GitHub Actions checks while preserving existing CI, with an optional local pre-push hook. Use for /ci, GitHub Actions setup, pull-request checks, automatic checks, pre-push hooks, or aligning typecheck, test, and build verification.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

aiblueprinthq/ai-blueprint4802026년 10월 11일 업데이트

aiblueprinthq의 스킬 모두 보기

이 스킬의 문제 신고