跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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 的全部技能

报告此技能的问题