Skip to content
cccskills
FreePublished on GitHub

ls-localsetup-doctor-repair

Use for LocalSetup doctor repair workflows: dry-run review, decision handling, conservative apply, backup evidence, and post-repair verification.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

LocalSetup Doctor Repair

Use this skill when a repo has legacy, partial, or suspicious LocalSetup install state and the user wants a conservative repair path.

Workflow

  1. Run a dry report first:
localsetup doctor repair --target-directory <repo>
  1. Inspect the JSON before applying:
  • decisions[]: unresolved human choices. Do not apply while this list is non-empty.
  • actions[]: paths that would be backed up, removed, installed, or verified.
  • detected_shape: lockfiles, adapter paths, stale ls/, protected source-root status, legacy global roots, and partial adapters.
  • inferred: platforms, attach mode, repo packages, and global package root.
  • blockers[] and warnings[]: hard stops and caution notes.
  1. Apply only when there are no unresolved decisions:
localsetup doctor repair --target-directory <repo> --yes
  1. Verify after apply:
localsetup verify --target-directory <repo> --level filesystem
localsetup doctor --target-directory <repo>

Decision Rules

  • Preserve repo-owned content. If an adapter directory contains unknown files, stop and ask the user where that content belongs.
  • Treat regular files at adapter destinations and unsupported filesystem nodes as manual decisions.
  • Do not delete ls/ unless it looks like copied LocalSetup framework source and the active source root is elsewhere.
  • Treat LocalSetup maintainer/source checkouts as protected. If the target root contains source-root markers such as ls/config/pack.yaml, ls/core/, VERSION, and pyproject.toml or install, do not repair it as a consumer repo.
  • Treat the registered LocalSetup shell source checkout as protected, regardless of where the user installed it. The default ~/.local/share/localsetup/source location is only one possible managed source path.
  • Do not remove, replace, or convert any protected source checkout's ls/ tree through doctor repair.
  • Prefer current scoped adapters such as .codex/skills over historical pre-Codex adapter roots.
  • Preserve portable mode only when the current lock proves a portable deployment; otherwise use scoped symlink adapters.

Reporting

In the final report, include:

  • whether the run was dry-run or applied
  • unresolved decisions, if any
  • touched paths from actions[]
  • backup/report path from .localsetup/backups/repair-*
  • verify.ok and any verification issues

Do not claim repair completion unless the apply report and follow-up verification both pass.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 22, 2026

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 22, 2026

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 22, 2026

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 22, 2026

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 22, 2026

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

The English summary is being prepared. Showing the original description.

CruxExperts/LocalSetup6Updated Oct 22, 2026

See all skills by CruxExperts

Report a problem with this skill