AGENT SKILL

java-migration

Analyze Java projects and perform version migrations, API replacements, and build configuration updates. Use when the user requests java migration or invokes java-migration. Do NOT use for unrelated languages, domains or production deployment.

License 许可
CC-BY-4.0
最近更新
2026-11-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
java-migration
license
CC-BY-4.0
metadata
{ "author": "AEOS", "version": "1.0.0", "owner_agent": "codenavi-agent" }
description
Analyze Java projects and perform version migrations, API replacements, and build configuration updates. Use when the user requests java migration or invokes java-migration. Do NOT use for unrelated languages, domains or production deployment.

02 资源文件 2

03 SKILL.md 正文

Skill: Java Migration

Governance: CodENavi Full Workspace v2. Skill of codenavi-agent; inherit AGENTS.md. Lifecycle: BRIEFING → RECON → PLAN → EXECUTE → VERIFY → DEBRIEF. Source roles/workers are internal lenses. Never create agent identities or bypass runtime secret/permission gates.

Mission

Analyze Java projects and perform version migrations, API replacements, and build configuration updates.

Allowed Actions

  • Read Java source files.
  • Read build configuration (pom.xml, build.gradle).
  • Read module descriptors.
  • Detect deprecated APIs and suggest replacements.
  • Apply code transformations within sandbox.
  • Run build commands.
  • Run test suites.
  • Generate migration reports.

Forbidden Actions

  • Delete modules without evidence.
  • Change public API without contract test.
  • Upgrade major dependencies without compatibility check.
  • Commit directly to main branch.
  • Merge pull requests without approval.
  • Deploy without approval.

Inputs

  • workspace path
  • source Java version
  • target Java version
  • migration scope

Outputs

Evidence Required

  • dependency tree before/after
  • build results
  • test results
  • changed files diff
  • rollback plan

Prompt Contract

  • State the objective, target scope, assumptions and constraints before execution.
  • Use only evidence-backed facts; mark uncertainty explicitly.
  • Route tool access through approved command, MCP or Tool Router paths.
  • Redact secrets, credentials, tokens and sensitive values.
  • Return facts, assumptions, risks, recommendations, evidence_refs and blocking_conditions when applicable.
  • Stop when required evidence, permissions, policy approval or input context is missing.

Documentation Intelligence

Before recommending a Java version migration, select the source and target documentation MCPs from:

  • docs-java-11
  • docs-java-17
  • docs-java-21
  • docs-java-25
  • docs-java-26

Use language_docs.migration_delta and language_docs.lookup_symbol for API, deprecation, removal and release-note claims. Mark unsupported or undocumented migration advice as REVIEW or BLOCKED.

Quality Gates

  • Must pass full test suite.
  • Must not break public API without contract tests.
  • Must document every change.
  • Must verify build after migration.
  • Must produce rollback plan.

Provenance and source freshness: provenance.

Example usage and failure handling: read usage and verification when selecting this skill or a required step fails.

04 同仓库更多 Skills

paulosantanna
paulosantanna/ai-assistent-universal-coder

workspace-brain

Operate the CodENavi workspace brain MCP and CLI — cloud DeepSeek RAG, disk corpus at WORKSPACE_BRAIN_ROOT, Jev URL curation, and event logging for Cursor/Codex/OpenCode/Claude. Use when ingesting repo knowledge, asking the brain, mapping web seeds, or recording AI-driven file changes. Do NOT use for local Ollama RAG or storing API keys in git.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

workbench-profile-resolver

Provide enterprise-grade capability for `workbench-profile-resolver` inside AEOS v1.1. Use when the user requests workbench profile resolver or invokes workbench-profile-resolver. Do NOT use for unrelated tools or unapproved remote writes.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

wordpress-expert

Staff-level WordPress engineering super-skill for one-shot site mapping, clean-code AI-assisted project creation/modification, the complete installed plugin universe, governed remote wp-admin operations, themes/blocks/layout, third-party integrations and production-safe changes. Use when the user requests wordpress expert or invokes wordpress-expert. Do NOT use for unrelated languages, domains or production deployment.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

whatsapp-simulator

Generate synthetic WhatsApp-style conversation fixtures for testing conversational systems, support flows and automation. Use when the user requests whatsapp simulator or invokes whatsapp-simulator. Do NOT use for unrelated tools or unapproved remote writes.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

web-quality-audit

Assimilated TLC/web-quality multi-area audit. Review performance, accessibility, SEO and best practices in one pass. Triggers: audit my site, review web quality, check page quality, optimize my website across areas. Do not use for a single-area job (core-web-vitals, ai-seo, best-practices, perf-lighthouse).

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

voiceai

Provide an evidence-backed voice interface for AEOS. Activating this skill is treated as explicit current-session consent for `voiceai` to record user audio or transcribe audio from user-authorized audio/video media within the declared scope. The skill can: Use when the user requests voiceai or invokes voiceai. Do NOT use for unrelated tools or unapproved remote writes.

★ 1