diff-cslisted
Install: claude install-skill brennacodes/brenna-plugs
<purpose>
Show changes between snapshots for a tracked target. Runs git diff commands on the tracking branch inside the target directory. Filters by path pattern and change type. Presents results according to `preferences.default_diff_output` (summary/detailed/full) unless overridden.
</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`
- **--from**: Starting ref (sha, HEAD~N, or tag). Default: HEAD~1
- **--to**: Ending ref. Default: HEAD
- **--since**: Time-based range (e.g., "1 we