skills/adopt-legacy/SKILL.md
Detect and transform legacy beta.3 project markers to v6.0 format (D5, AC-13 c). Handles three markers: missing phase_plan_mode, markdown re-eval addendums in process-plan.md (pre-D2 format), and references to the removed legacy gate-bypass env-var in project files. Safe to run on v6-native projects — no markers detected means no-op. Dry-run by default; --apply to write changes. Use when: upgrading a project from wicked-garden v6.0-beta.3 to v6.0; checking whether a project needs migration; transforming legacy artifacts before running crew:approve on a beta project.
npx skillsauth add mikeparcewski/wicked-garden adopt-legacyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Inspects a crew project directory for three legacy markers and offers to transform them in-place. All transformations are idempotent — running twice is a no-op if no markers remain.
| Marker | Detection | Transformation |
|--------|-----------|----------------|
| Missing phase_plan_mode | project.json lacks the key | Sets phase_plan_mode = "facilitator" |
| Markdown re-eval addendum | ## Re-evaluation YYYY-MM-DD in process-plan.md | Serialises each block to phases/{phase}/reeval-log.jsonl (best-effort); replaces block with a migration comment |
| Legacy gate-bypass reference | Any .md/.json file contains the removed env-var string | Replaces with a commented removal note |
# Preview changes (default — no writes)
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" \
"${CLAUDE_PLUGIN_ROOT}/scripts/crew/adopt_legacy.py" <project-dir>
# Apply transformations
sh "${CLAUDE_PLUGIN_ROOT}/scripts/_python.sh" \
"${CLAUDE_PLUGIN_ROOT}/scripts/crew/adopt_legacy.py" <project-dir> --apply
Or invoke directly as a crew command:
/wicked-garden:adopt-legacy <project-dir>
[adopt-legacy] Scanning project: my-feature
[adopt-legacy] Mode: dry-run (pass --apply to write changes)
[adopt-legacy] Detected 3 legacy marker(s)
[adopt-legacy] Transformation 1/3: [dry-run] would set phase_plan_mode = "facilitator" in project.json
[adopt-legacy] Transformation 2/3: [dry-run] would migrate 2 markdown addendum(s) from process-plan.md → phases/unknown/reeval-log.jsonl
[adopt-legacy] Transformation 3/3: [dry-run] would replace legacy gate-bypass reference in status.md
[adopt-legacy] Dry-run complete. Run with --apply to write changes.
phase_manager.py complaining about missing phase_plan_modeprocess-plan.mdscripts/crew/adopt_legacy.py — stdlib-only, no external dependencies.
development
--- name: large-scale-migration description: How to execute a LARGE MECHANICAL change across any codebase with LEVERAGE instead of an agent-grind or hand-edits — a cross-cutting migration, refactor, rename, dialect/framework/DB port, library adoption, or bulk transform. The map→transform→gate pattern: a deterministic transform driven by a source-of-truth map, proven by a differential-equivalence gate. Use when the work is "migrate all X to Y", "rename Z everywhere", "port to a new DB/dialect/fra
testing
v11 LLM-based work-shape classifier. Replaces the regex archetype detector with the model's own reasoning. Reads the user's prompt, picks the right archetype(s) from the catalog, identifies signals (blast_radius, novelty, reversibility, etc.), and persists to SessionState so subsequent turns steer correctly. Use when: the prompt_submit hook emitted a `<wg classify-due />` directive, OR explicitly invoked at session start, OR when re-classifying after the user changes scope mid-session.
tools
v11 work-shape archetype runner. When a prompt has been routed to one of the 9 archetypes (triage, explore, specify, decide, ship, review, incident, build, migrate), this skill is the entry point. It picks the right per-archetype playbook from refs/ and executes the phase shape declared in `.claude-plugin/archetypes.json`. Use when: a `<wg archetype="X">` or `<wg archetypes>` system-reminder tag appears, an explicit "let's run the X archetype" request, or when one of the per-archetype slash commands resolves to this skill.
development
Show or set the session intent variable. Intent gates how loud the framework is — simple-edit (silent), feature/research (synthesis directive), rigor (full crew context). Auto-detected on turn 1; this skill overrides explicitly. Sticky for the session. Use when: "set intent", "intent override", "/wicked-garden:intent", "make the framework quiet", "force rigor", "what's my intent".