Skill: ticket-sanitizer
Description
This skill enforces the standardized naming convention for ticket folders and prepares the internal directory structure. It also scans for potential diagnostic resources (support bundles) referenced in descriptions or present as files.
When to Use
- •Immediately after creating a new ticket folder.
- •When existing ticket folders do not comply with the
${org}-${ticket_id}-${description}format. - •To automatically initialize
logs/andextracted/directories. - •To detect support bundle requirements specified in
description.md.
Usage
Run from the workspace root:
bash
bash .opencode/skills/ticket-sanitizer/ticket_sanitizer.sh
Note: The script now only warns (rather than failing) if the workspace git remotes are incomplete, so it can run immediately after cloning the workspace.
Expected Outcomes
- •All folders in
@ticket/renamed to follow lowercasesnake_casewith proper organization prefixes. - •Standard sub-directories (
logs/,repro/) created within each ticket folder. - •Discovery of
supportbundle*.zipor external bundle references indescription.md.