Skip to content

feat(skill): add /drt-troubleshoot — full top-to-bottom diagnostic checklist (closes #369)#631

Merged
masukai merged 2 commits into
mainfrom
feat/drt-troubleshoot-skill
Jun 11, 2026
Merged

feat(skill): add /drt-troubleshoot — full top-to-bottom diagnostic checklist (closes #369)#631
masukai merged 2 commits into
mainfrom
feat/drt-troubleshoot-skill

Conversation

@masukai

@masukai masukai commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Fifth user-facing Claude Code skill, complementary to /drt-debug. Closes #369.

Skill Mode When
/drt-debug reactive user has a specific error, wants it fixed via known-pattern matching
/drt-troubleshoot systematic vague symptom — "drt isn't working", silent no-op sync, wrong-looking data, or verifying a fresh setup end-to-end

How it works

/drt-troubleshoot walks the setup top to bottom as a 7-layer isolation checklist. Each layer has a "✅ green when" gate and a "🔴 common failures" list — proceed only when the current layer is green, so the first failing layer localises the problem:

  1. Environmentdrt doctor
  2. Profile + credentials — profile name match, env vars resolve
  3. Connectivity — connection round-trip (separates "can't reach warehouse" from "data is wrong")
  4. Config validitydrt validate + drt list
  5. Dry rundrt run --dry-run [--diff] (the key step for "runs but data looks wrong")
  6. First real rundrt run --verbose + drt status
  7. Post-sync correctnessdrt test

Once the failing layer is found, it hands off to /drt-debug for the specific fix.

Already current

The skill references the v0.7+ CLI surface throughout (drt doctor, drt validate, drt run --dry-run --diff, --cursor-value, tojson_safe, drt test), so it lands already aligned — no catch-up needed unlike the refresh the other four skills just went through (#625#628).

Wiring

  • skills/drt/skills/drt-troubleshoot/SKILL.md (new)
  • .claude/commands/drt-troubleshoot.md (via make sync-skills)
  • skills/drt/.claude-plugin/plugin.json description → 5-skill set
  • README.md + README.ja.md skill tables → 5 rows
  • CHANGELOG [Unreleased] → Added
  • README.ja i18n marker resynced

Test plan

  • make check-skills.claude/commands/drt-troubleshoot.md matches SKILL.md
  • make check-drift — exits 0 (new skill doesn't break the audit)
  • make check-i18n — README.ja in sync
  • CI green

🤖 Generated with Claude Code

@masukai masukai requested a review from yodakanohoshi June 10, 2026 07:30
@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

masukai and others added 2 commits June 11, 2026 09:49
…ecklist (closes #369)

Fifth user-facing skill, complementary to /drt-debug:

- **/drt-debug** is reactive — the user has a specific error message
  and wants it fixed via known-pattern matching.
- **/drt-troubleshoot** is for vague symptoms — "drt isn't working",
  a sync that silently does nothing, results that look wrong, or
  verifying a fresh setup end-to-end.

It walks the setup top to bottom as a 7-layer isolation checklist —
environment → profile/credentials → connectivity → config validity →
dry-run → first real run → post-sync correctness. Each layer has a
"✅ green when" gate and a "🔴 common failures" list, so the first
failing layer localises the problem, then it hands off to /drt-debug
for the specific fix.

The skill references the current CLI surface throughout (drt doctor,
drt validate, drt run --dry-run --diff, --cursor-value, tojson_safe,
drt test), so it lands already aligned with v0.7+ rather than needing
the catch-up the other four skills just went through (#625-#628).

Wiring:
- skills/drt/skills/drt-troubleshoot/SKILL.md (new)
- .claude/commands/drt-troubleshoot.md (via make sync-skills)
- skills/drt/.claude-plugin/plugin.json description → 5-skill set
- README.md + README.ja.md skill tables → 5 rows
- CHANGELOG [Unreleased] → Added

make check-skills clean, make check-drift exits 0.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Keeps `make check-i18n` green after the skill-table addition. The
marker was already lagging from #630's merge (recorded e1b1d15, base
moved to 3f968f6); this resyncs it to the current README.md tip.
Content is in sync — both skill tables carry the 5-skill set.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@masukai masukai force-pushed the feat/drt-troubleshoot-skill branch from f3246df to b24a4e3 Compare June 11, 2026 00:49
@masukai masukai merged commit 92b368e into main Jun 11, 2026
7 checks passed
@masukai masukai deleted the feat/drt-troubleshoot-skill branch June 11, 2026 00:53
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add /drt-troubleshoot user skill for Claude Code

1 participant