← ClaudeAtlas

migrate-idatlisted

Migrate i-did-a-thing data files from the old flat .things/ layout to the per-plugin directory structure. Moves logs, arsenal, resumes, index.json, and tags.json.
brennacodes/brenna-plugs · ★ 1 · Data & Documents · score 70
Install: claude install-skill brennacodes/brenna-plugs
<purpose> Migrate i-did-a-thing data files from the old flat `~/.things/` layout to the per-plugin `~/.things/i-did-a-thing/` directory structure. This moves logs, arsenal files, resumes, and index files. This skill handles **data file relocation only**. Config migration (config.yml -> config.json + preferences.json) is handled by `/things:setup-things`. Run `/things:setup-things` first if config.json doesn't exist yet. </purpose> <steps> <step id="check-prerequisites" number="1"> <description>Check Prerequisites</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 to initialize your .things directory." Then stop.</if> <action>Check for old data in flat locations.</action> <command language="bash" tool="Bash">ls -d <home>/.things/logs <home>/.things/arsenal <home>/.things/resumes 2>/dev/null ls <home>/.things/index.json <home>/.things/tags.json 2>/dev/null</command> <if condition="no-old-data-found"> Tell the user: "No old i-did-a-thing data found to migrate. Your data is already in the new location or hasn't been created yet." Then stop. <exit /> </if> </load-config> </step> <step id="show-p