本文へ移動
cccskills
無料GitHub で公開

ls-localsetup-doctor-repair

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

日本語の概要は準備中です。原文の説明を表示しています。

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

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

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月22日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月22日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月22日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月22日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月22日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月22日 更新

CruxExperts のスキルをすべて見る

このスキルの問題を報告する