Skip to content

build: add Xtend → Java migration skill at .agents/skills/#1351

Merged
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:skill/xtend-conversion
May 21, 2026
Merged

build: add Xtend → Java migration skill at .agents/skills/#1351
joaodinissf merged 1 commit into
dsldevkit:masterfrom
joaodinissf:skill/xtend-conversion

Conversation

@joaodinissf
Copy link
Copy Markdown
Collaborator

@joaodinissf joaodinissf commented May 19, 2026

Summary

Adds the xtend-to-java skill 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.sh mirrors 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/:

./.agents/sync.sh

Test plan

  • sync.sh idempotent; works from repo root and from .agents/.
  • .claude/skills gitignored.
  • Skill discoverable in Claude Code.
  • (Windows reviewer) sync.sh recursive copy in Git Bash.

🤖 Generated with Claude Code

@joaodinissf joaodinissf force-pushed the skill/xtend-conversion branch from 42424a3 to 8a43eed Compare May 20, 2026 15:41
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>
@joaodinissf joaodinissf force-pushed the skill/xtend-conversion branch from 8a43eed to aa4b176 Compare May 20, 2026 16:01
@joaodinissf joaodinissf changed the title build: add xtend-conversion skill at .agents/skills/ build: add Xtend → Java migration skill at .agents/skills/ May 20, 2026
@joaodinissf joaodinissf marked this pull request as ready for review May 20, 2026 16:04
@joaodinissf joaodinissf requested a review from rubenporras May 20, 2026 16:04
@joaodinissf joaodinissf enabled auto-merge (rebase) May 20, 2026 16:21
@joaodinissf joaodinissf merged commit 226f3e9 into dsldevkit:master May 21, 2026
4 checks passed
@joaodinissf joaodinissf deleted the skill/xtend-conversion branch May 21, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants