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

diagnose-fix-loop

Iterative diagnose-and-fix workflow that repeatedly uses the diagnose skill to find a proven problem, plan the smallest credible improvement, implement it, re-diagnose, and continue until no useful fix remains or user intervention is required. Requires the diagnose skill; selected installs must also install diagnose. Use when asked to keep debugging, fix and verify, iterate until satisfied, improve after diagnosis, or run a diagnosis/fix/verification loop.

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

설치 방법 보기

포함된 파일(2)

  • SKILL.md4.2 KB
  • agents/openai.yaml226 B

SKILL.md(원문)

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

Diagnose Fix Loop

Use this skill to drive a complete improvement loop, not a single debugging pass.

Before starting, load and follow $diagnose. Treat $diagnose as the evidence engine for each pass; this skill only adds the outer loop that plans, implements, re-runs diagnosis, and decides whether to continue.

This skill owns planning and implementation after $diagnose proves the cause.

Selected installs do not install dependencies automatically. If $diagnose is not installed or available, stop before making changes. Tell the user to install it with:

npx skills add LegendApp/legend-skills --skill diagnose

Then ask them to retry after installation.

Loop

  1. State the target outcome. Anchor the loop to the user's symptom, performance goal, failing test, UX defect, regression, or code quality concern. If the user gave no concrete anchor, create the fastest observable feedback loop first.

  2. Run a $diagnose pass. Complete the evidence loop and record the exact validation signal that will be re-run after the fix. Proceed only when $diagnose reports Proven — 100%. If it reports Incomplete, stop and report the missing evidence. If the user asked for delegation, use it only for bounded evidence collection inside this pass; keep bottleneck ranking, fix selection, code edits, and final interpretation in the main loop.

  3. Make a ranked fix plan. Prefer one smallest credible fix at a time. The plan must include:

    • what evidence supports the change
    • what file or boundary will change
    • what validation should improve
    • what would make the plan wrong
  4. Implement only the top plan item. Keep the edit scoped to the proven fault line. Avoid stacking speculative cleanup, broad refactors, or adjacent improvements unless the diagnosis showed they are part of the same fault.

  5. Verify with the original signal. Re-run the reproduction path or measurement from step 2, then focused regression coverage, then broader checks when the touched surface warrants them.

  6. Re-run $diagnose. Diagnose the new state from evidence, not from the intent of the change. Look for:

    • the original symptom still failing
    • a nearby remaining fault
    • a regression introduced by the fix
    • a stronger next bottleneck revealed by the first fix
    • missing coverage at the real seam
  7. Decide whether to continue. Continue when evidence identifies a credible next fix and the next action is safe to take. Each new iteration should have a sharper target than the previous one.

Iteration Discipline

Keep a short running log while working:

  • iteration number
  • current evidence
  • chosen fix
  • validation result
  • next remaining issue or stop reason

If an experiment fails, revert it unless it is independently useful and intentionally kept. Do not count a failed experiment as progress unless it narrowed the diagnosis.

If two iterations produce no measurable improvement and no sharper evidence, pause implementation and re-diagnose the feedback loop itself before making more edits.

Stop Rules

Stop only when one of these is true:

  • $diagnose cannot build or run a credible feedback loop with available code, tools, or artifacts
  • the next action requires user input, inaccessible external state, credentials, production access, or a destructive operation
  • the user requested read-only diagnosis and the next useful step would edit files
  • validation is clean and a fresh $diagnose pass finds no remaining credible fault to fix
  • remaining improvements are speculative, cosmetic, or outside the user's target outcome

When stopping, report the final state, the validation evidence, remaining known risk, and the smallest user action or artifact needed if work is blocked.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

Automates Apple-platform apps (iOS, tvOS, macOS) and Android devices. Use when navigating apps, taking snapshots/screenshots, tapping, typing, scrolling, extracting UI info, collecting logs/network/perf evidence, or planning agent-device CLI commands.

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

CherryHQ/cherry-studio-app4천2026년 10월 19일 업데이트

Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.

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

CherryHQ/cherry-studio-app4천2026년 10월 19일 업데이트

diagnose

무료

Opt-in evidence-first causal diagnosis for bugs, browser or app/device failures, flaky behavior, and performance regressions. Activate only when the user explicitly invokes `$diagnose` or explicitly asks to use the named diagnose skill. Do not activate merely because the user mentions a bug, asks why something failed, requests debugging or a fix, or describes unexpected behavior. Once explicitly invoked, locate likely causes, instrument relevant boundaries with extensive structured logging, reproduce the issue, analyze the collected logs, rank causes with confidence scores, and pursue 100% operational confidence while probes can increase confidence.

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

CherryHQ/cherry-studio-app4천2026년 10월 19일 업데이트

Check the health of published EAS Updates: crash rates, install/launch counts, unique users, payload size, and the split between embedded and OTA users per channel. Use when the user asks how an update is performing, whether a rollout is healthy, how many users are on the embedded build vs OTA, or wants to gate CI on update health.

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

CherryHQ/cherry-studio-app4천2026년 10월 19일 업데이트

Helps understand and write EAS workflow YAML files for Expo projects. Use this skill when the user asks about CI/CD or workflows in an Expo or EAS context, mentions .eas/workflows/, or wants help with EAS build pipelines or deployment automation.

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

CherryHQ/cherry-studio-app4천2026년 10월 19일 업데이트

Deploying Expo apps to iOS App Store, Android Play Store, web hosting, and API routes

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

CherryHQ/cherry-studio-app4천2026년 10월 19일 업데이트

CherryHQ의 스킬 모두 보기

이 스킬의 문제 신고