demo-create
Skill25 starsChanged 7 days agoUnlicenseView on GitHub
Create a standalone JEP demo in demos-java. Use when adding a final JEP with no preview/incubator predecessors.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- southliu/south-admin-reacttheir own version, first seen Nov 2, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- southliu/south-admin-react★ 582same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- article-addSkill
- demo-updateSkill
- pr-createSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Follow CONTRIBUTING.md for templates, registration conventions, and generated files.
- Very specific: line 19
Read https://openjdk.org/jeps/<jep-number> for the title, target JDK, status, history, and relevant APIs.
- Very specific: line 22
Create a descriptively named IDemo implementation in org.javademos.java<jdk>.jep<jep-number>.
- Very specific: line 23
Start demo() with info(<jep-number>).
- Very specific: line 27
Add the entry to src/main/resources/JDK<jdk>Info.json with "link": false and "code": true (false for explanation-only demos).
- Very specific: line 30
Run mvn clean install and the jar using the command in CONTRIBUTING.md.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create a JEP Demo
Input: one JEP number. Ask for it if missing. For a JEP with earlier preview/incubator iterations, use demo-update instead.
Follow CONTRIBUTING.md for templates, registration conventions, and generated files. Use LazyConstantsDemo.java as the style baseline for demos with executable code. For explanation-only demos (no code to show), use GenerationalZGC23Demo.java instead.
Workflow
- Read
https://openjdk.org/jeps/<jep-number>for the title, target JDK, status, history, and relevant APIs. Confirm the target JDK package, JSON resource, and loader exist; report missing release infrastructure as out of scope. - Create a descriptively named
IDemoimplementation inorg.javademos.java<jdk>.jep<jep-number>. Startdemo()withinfo(<jep-number>). Use a///header with a single-entry JEP history and relevant reading links. Based on nature of the feature, consider whether it can have executable code demo or not. Some features only require an explanation via comments. If there is a code to be shown, keep the example small and runnable; accompany code with explanatory comments. - Add the entry to
src/main/resources/JDK<jdk>Info.jsonwith"link": falseand"code": true(falsefor explanation-only demos). Import and register the class insrc/main/java/org/javademos/init/Java<jdk>DemoLoader.java. Keep both registrations in ascending JEP order. - Run
mvn clean installand the jar using the command in CONTRIBUTING.md. Inspect the new demo by appending--only=<jep-number>to the jar command (other demos print exceptions on purpose). Confirm the new JEP's header and expected output appear without exceptions, and review the diff for unrelated changes. - Branch, commit, and open the PR by following pr-create for
<jep-number>.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

