From trabuco
Migrate a legacy Java project into Trabuco's multi-module structure. Scans first to assess feasibility, then runs AI-powered code transformation. Use when the user has an existing Spring Boot / Java project and wants to adopt Trabuco's structure + AI-native integrations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/trabuco:migrateThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Migration is expensive (LLM API calls, destructive if run on source). This skill enforces the safe sequence.
Migration is expensive (LLM API calls, destructive if run on source). This skill enforces the safe sequence.
Ask for the path if not provided. It must point at a legacy Java project directory, not a Trabuco-generated one.
Scan first, always: call mcp__trabuco__scan_project. It returns:
migration_summary with compatible/replaceable/unsupported dependencieshas_blockers booleanRead carefully. This is a READ-ONLY analysis.
Report findings honestly:
has_blockers: true, list the blockers. Migration cannot proceed until the user addresses unsupported dependencies (usually by removing them or finding Trabuco-compatible alternatives).has_blockers: false but many dependencies are "replaceable," warn the user that the migration will replace them with Trabuco equivalents — breakage risk depends on how the app uses those libs./trabuco:new-project.Check AI credentials: call mcp__trabuco__auth_status. Migration uses an LLM. If no provider has creds, call mcp__trabuco__list_providers and instruct the user to configure one (typically Anthropic for best results with Java code). Do NOT proceed without a provider.
Dry-run first: call mcp__trabuco__migrate_project with dry_run: true. This produces a migration plan without modifying anything. Show the user the plan (modules proposed, files to transform).
Confirm explicitly: "Should I run the actual migration?" The answer must be yes, not just "sounds good." Migration creates a new directory but consumes LLM credits.
Execute: call mcp__trabuco__migrate_project without dry_run. Report progress and the output directory.
Validate output: immediately call mcp__trabuco__run_doctor on the migrated project. If there are critical findings, walk the user through fixes.
Next steps: tell the user the migration produced a NEW directory. Their original project is untouched. They should:
cd into the new directorymvn clean install to check buildnpx claudepluginhub arianlopezc/trabuco --plugin trabucoGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.