sprawl add
📌 1. The Target Problem
Manually editing YAML manifests leads to formatting errors (tabs instead of spaces, wrong indentation) and requires lookups of the exact artifact name. This slows down development.
⚙️ 2. Usage & Options
sprawl add <item_name>
Options & Flags
item_name: The category/name string of the artifact (e.g. 'rules/coding-standards' or 'skills/web-guidance').
🔍 3. How it Works (Under the Hood)
- Verifies availability of the target artifact inside the global DNA paths (
~/.sprawl/core/or~/.sprawl/dna/). - Parses and modifies
.agents/sprawl_manifest.ymlto append the artifact to the appropriate section. - Triggers a local
sprawl syncto compile rules and pull in dependencies automatically.
🩺 4. Troubleshooting
- Error: Artifact not found in DNA registry
- Resolution: Run
sprawl lsto see available DNA components and check your naming spelling.