Removes the docudart/ directory in a target folder and re-runs docudart create --full to regenerate it. Accepts an optional directory argument (defaults to "example").
When this skill is invoked:
Determine the target directory from the argument:
/regenerate example), use that as the target directoryexampleValidate the target directory exists at <project_root>/<target>/:
Back up user assets before deleting:
<target>/docudart/assets/ exists, copy it to a temporary location (e.g., /tmp/docudart-assets-backup/)Remove <target>/docudart/ if it exists
Run docudart create --full from the target directory:
cd <target> && dart run ../bin/docudart.dart create --full
Restore user assets:
<target>/docudart/assets/, overwriting the defaultsReport the result to the user