cs-dep-doctorlisted
Install: claude install-skill brennacodes/brenna-plugs
<purpose>
Check the health of installed plugins relative to a tracked target directory. Builds a dependency map by scanning all installed plugins for path references to the target, then cross-references with recent snapshot changes to identify which plugins might be affected by structural changes. Classifies risk and suggests remediation.
</purpose>
<steps>
<step id="load-config" number="1">
<description>Load Configuration</description>
<load-config>
<action>Resolve the user's home directory.</action>
<command language="bash" output="home" tool="Bash">echo $HOME</command>
<constraint>Never pass `~` to the Read tool.</constraint>
<read path="<home>/.things/config.json" output="config" />
<if condition="config-missing">Tell the user: "Run `/things:setup-things` first." Then stop.<exit /></if>
<read path="<home>/.things/claude-scout/preferences.json" output="preferences" />
<if condition="preferences-missing">Tell the user: "Run `/setup-cs` first." Then stop.<exit /></if>
<read path="<home>/.things/claude-scout/targets.json" output="targets" />
</load-config>
</step>
<step id="resolve-target-and-args" number="2">
<description>Resolve Target and Arguments</description>
<action>Parse `$ARGUMENTS` for:</action>
- **target-id**: First positional arg, or fall back to `preferences.default_target`
- **--rescan**: Force re-scan of plugin dependencies (ignore cached dep-map)
- **--plugin**: Only