build: add Xtend → Java migration skill at .agents/skills/#1351
Merged
Conversation
42424a3 to
8a43eed
Compare
Adds a structured project skill encoding the Xtend → Java conversion rules and methodology for repeatable, slice-based migrations. The skill is split so an LLM can load only the parts it needs: - SKILL.md — 1-line entry point with a quick-recall cheat sheet, binding decisions, and an Xtend → Java syntax reference table. - rules/ — 10 rule files covering binding decisions, imports, variables, methods, templates, control flow, extension methods, lambdas, operator overloads, and misc syntax. - workflow/ — Steps 0–7 overview, one-file and multi-file batch conversion, validation checklist (30 quality rules + per-file pass/fail list), module infrastructure cleanup, formatting and commit protocol, and known pitfalls. - references/xtend-library-replacements.md — lookup table from Xtend stdlib calls to Java stdlib equivalents. - examples/ — two worked end-to-end conversions. Cross-tool generic location at .agents/skills/ is the source of truth. A POSIX shell script .agents/sync.sh mirrors it into .claude/skills/ (gitignored) for Claude Code's auto-discovery — symlink on macOS/Linux, recursive copy on Windows where Git symlinks need Developer Mode. The script anchors paths to its own location, so running it from either the repo root or .agents/ produces the same result. After cloning, run ./.agents/sync.sh once. Re-run after pulling changes that touch .agents/skills/. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
8a43eed to
aa4b176
Compare
rubenporras
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the
xtend-to-javaskill at.agents/skills/xtend-to-java/: binding decisions, 10 rule files, conversion workflow, 30-rule validation checklist, infrastructure-cleanup steps, two worked examples..agents/sync.shmirrors the skill into the gitignored.claude/skills/so Claude Code auto-discovers it — symlink on macOS/Linux, recursive copy on Windows.After clone or after a pull touching
.agents/skills/:Test plan
sync.shidempotent; works from repo root and from.agents/..claude/skillsgitignored.sync.shrecursive copy in Git Bash.🤖 Generated with Claude Code