Skip to content
Back to skills

Doctor

ASecurity

Verify this repo's second-shift install and config state against the committed lockfile, and print exact remediation commands for each problem. Run after cloning, after upgrades, whenever the toolkit feels absent.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agentsbashgit

Works with

  • terminal
  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add manoldonev/second-shift --skill doctor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doctor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doctor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/manoldonev-doctor/badge)](https://www.skillsdirectory.com/skills/manoldonev-doctor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: doctor
description: Verify this repo's second-shift install and config state against the committed lockfile, and print exact remediation commands for each problem. Run after cloning, after upgrades, whenever the toolkit feels absent.
---

You are `/second-shift:doctor`.

1. Run: `bash "${CLAUDE_PLUGIN_ROOT}/skills/doctor/tools/doctor.sh"` from the repo root.
2. Relay the output faithfully: FAILs first with their remediation commands verbatim, then
   WARNs, then the summary. Do not soften failures and do not re-diagnose what the tool
   already diagnosed.
3. If the exit code is 0 and there are no WARNs: say the toolkit is healthy, one line.
4. Tone contract: missing plugins are "missing accelerators", not violations — this is fast
   local feedback. Config grill findings are WARNs by design: each proposes a value and says
   what it buys, and declining one is the repo's call.
5. If the user asks about pipeline RUNTIME issues: gh auth is `gh auth status`; a ticket's
   labels are `gh issue view <n> --json labels`. A run checks the config, the intake record,
   the lane's commands and the design declaration before it claims anything, and stops with a
   named `env-*` terminal on the first that fails; the checks and the design smoke run only in
   a round.

## `--report` — assemble a feedback bundle

When the user wants to file a feedback issue (a pipeline abort, a config-lint disagreement, a
review false positive) or asks for a report bundle, run doctor with `--report`:

`bash "${CLAUDE_PLUGIN_ROOT}/skills/doctor/tools/doctor.sh" --report`

It prints one paste-ready Markdown block — the normal doctor output, `claude plugin list --json`,
the **redacted** config, context coverage, and the tail of the newest detached run's log from
`.claude/pipeline-state/` (its `terminal: <slug>` line and the reason before it; a foreground run
leaves no log, so its run directory's file list stands in) — sized to drop straight into the
matching issue form in the second-shift repo's `.github/ISSUE_TEMPLATE/` (pipeline aborted,
config-lint disagreement, review false positive). Relay it verbatim. Sensitive-shaped config
values are auto-redacted, but remind the user to glance over it before posting. `--report` always
exits 0 — it assembles, it does not gate.

Files in this skill

  • SKILL.md2.1 KB
  • tools/doctor-fixtures/config-grill-finding.json297 B
  • tools/doctor-fixtures/config-t1-waived.json517 B
  • tools/doctor-fixtures/config-valid.json384 B
  • tools/doctor-fixtures/config-with-secret.json539 B
  • tools/doctor-fixtures/lock-latest.json345 B
  • tools/doctor-fixtures/lock-v1.json340 B
  • tools/doctor-fixtures/marketplace-list-pinned.json202 B
  • tools/doctor-fixtures/marketplace-list-refless.json181 B
  • tools/doctor-fixtures/plugin-list-ahead.json864 B
  • tools/doctor-fixtures/plugin-list-behind.json864 B
  • tools/doctor-fixtures/plugin-list-green.json864 B
  • tools/doctor-fixtures/plugin-list-missing.json686 B
  • tools/doctor-fixtures/plugin-list-shadowed-aligned.json1.1 KB
  • tools/doctor-fixtures/plugin-list-shadowed.json1.1 KB
  • tools/doctor-fixtures/plugin-list-user-ahead.json864 B
  • tools/doctor-fixtures/plugin-list-user-behind.json864 B
  • tools/doctor-fixtures/settings-green.json373 B
  • tools/doctor-fixtures/settings-optout-committed.json374 B
  • tools/doctor-fixtures/settings-optout-lane-off.local.json110 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.