Repository navigation
Skill: teach agents the demo apps and the compatibility tools - #6102
Merged
Merged
Conversation
Adds references/demos.md (Wayline, Savor, Parley, Skirmish: where the source is, which to read for what, shared patterns) and references/compatibility.md (Android, Swing, JavaFX, Flutter, Unity import goals, source dirs, limits, samples). Skill files are exempt from template-name renaming so a project generated from a demo template keeps the pointers to its upstream demo; the matrix test asserts every demo project ships both references. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
generate-initializr-fixtures.py scans every file of a full-stack download for the template's name; the skill names the demos on purpose, so skip it the same way GeneratorModelMatrixTest does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The Codename One agent skill shipped in every Initializr project now:
references/demos.md: the four full-stack demos (Wayline, Savor, Parley, Skirmish). It covers where their source is, which demo to read for which feature, and the patterns they share, so an agent reads a demo before inventing structure.references/compatibility.md: running existing Android, Swing, JavaFX, Flutter and Unity apps. It covers theimport-*-projectgoals, the source directories, how to mix ported and new code, the limits, and the sample inputs.SKILL.md: indexes both pages. The skill description is rewritten under the 1024-character limit and synced to the Claude stub.Demo templates: a project generated from a demo template already shipped the skill. But the generator's template-name renaming would have rewritten the demo names inside it.
GeneratorModel.isAgentSkillPathnow exempts the skill files,AGENTS.mdand the stub from that renaming.GeneratorModelMatrixTestasserts every demo project ships both references, and that they still point atscripts/<demo>.🤖 Generated with Claude Code