repair-artifacts
Repair Artifacts
Use this skill when a maintainer needs a conservative remediation path after audit finds registry or readme drift.
Responsibilities
- Reuse the shared inventory to discover active artifact directories.
- Rebuild normalized registry rows from valid metadata.
- Preview repair actions and manual follow-up suggestions by default.
- Apply registry/readme regeneration only when the maintainer explicitly asks.
Preferred Input
- no arguments for a full dry-run repair plan
- optional artifact-type filters
--applyto perform the selected repair writes
Tooling
# Preview a full repair plan
python3 skills/repair-artifacts/scripts/repair_artifacts.py
# Preview selected artifact layers
python3 skills/repair-artifacts/scripts/repair_artifacts.py \
--artifact-type proposal \
--artifact-type slice
# Apply the selected repairs
python3 skills/repair-artifacts/scripts/repair_artifacts.py --apply
# Emit machine-readable output
python3 skills/repair-artifacts/scripts/repair_artifacts.py --json
Output
- default: human-readable dry-run or apply summary, plus preview-only repair suggestions
--json: structured actions, suggestions, and skipped artifacts
Exit behavior:
0when the repair plan or apply run succeeds
Guardrails
- Default to dry-run; do not write unless
--applyis present. - Keep apply mode limited to derived registry/readme artifacts.
- Preview metadata or traceability follow-up without guessing or silently rewriting those files.
- Leave malformed metadata as manual follow-up instead of guessing corrections.
- Reuse owner registry writers instead of copying registry formatting logic.
More from sirius-cc-wu/sirius-skills
dioxus-ui-ux
Dioxus UI/UX design intelligence. Specialized guidelines for Dioxus Components, plus 50 styles, 21 palettes, 50 font pairings. Stacks: dioxus, daisyui, shadcn, html-tailwind. Actions: plan, build, create, design, implement, review, fix, improve, optimize. Projects: web app, dashboard, admin panel, SaaS, mobile app. Elements: button, modal, navbar, card, form, chart.
16dioxus-stitch
Transforms Stitch designs into clean, modular Dioxus code using daisyUI. Handles RSX conversion, type-safe props, and data decoupling for Rust projects.
8dioxus-ui-skill
Dioxus UI/UX design intelligence. Specialized guidelines for Dioxus Components, plus 50 styles, 21 palettes, 50 font pairings. Stacks: dioxus, shadcn, html-tailwind. Actions: plan, build, create, design, implement, review, fix, improve, optimize. Projects: web app, dashboard, admin panel, SaaS, mobile app. Elements: button, modal, navbar, card, form, chart.
4discover
Frames a project or feature before implementation by capturing goals, constraints, stakeholders, and initial story candidates.
2ui-flow
Captures optional UI and UX flows, screen-level requirements, and interaction notes before implementation.
2design
Produces feature-level system-design.md artifacts before breakdown when a feature needs architecture, interface, constraint, failure-handling, or validation decisions captured durably.
2