delete-initial-resource
Installation
SKILL.md
delete-initial-resource
Removes one or more of the five initial Atomic CRM resources (contacts, companies, deals, tags, tasks) and every reference to them. Irreversible — confirm the target(s) with the user first; rely on git to recover.
Steps
- Confirm the target(s), then read each one's file before editing:
contacts→contacts.md— spine; confirm cascade scope firstcompanies→companies.md— spine/link; confirm cascade scope firstdeals→deals.mdtags→tags.mdtasks→tasks.md
- Run the script (below) — deletes each
src/components/atomic-crm/<resource>/folder and prints the dependent files to clean. - Clean each dependent file using the "Shapes" patterns below + the per-resource file.
- Verify (below).
Deleting several at once: clean from the most-coupled resource outward; clean a shared file once for both; and reconcile interacting union guidance — deleting both contacts and deals removes the notes/activity-log reference entirely rather than each narrowing it, so don't half-apply each file's "narrow the union" note.