dr-jskill
AGENTS.md341 starsChanged 2 months agoApache-2.0View on GitHub
All versions live in versions.json — the single source of truth. This updates: - Version tables in references/*.md (between <!-- versions:start --> / <!-- versions:end -->) - <nodeVersion> / <npmVersion> inside maven-frontend-plugin snippets in the same docs - Hardcoded versions in assets/Dockerfile, assets/Dockerfile-native, assets/compose.yaml, assets/docker-compose*.yml, assets/devcontainer/*, assets/ci/github-actions.yml Use --check in CI to fail builds if anything is out of sync. 3. Sweep any remaining narrative mentions the sync script does not cover: - references/**/*.md prose (e.g. "Node 24" / "PostgreSQL…
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- dr-jskillSkill
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 4
When doing a script, you MUST do a JavaScript (Node.js) script that works on Mac OS X, Windows and Linux.
- Distinctive: line 7
NEVER propose to use Lombok in the generated projects (add Maven Enforcer/ArchUnit checks in generated templates).
- Distinctive: line 10
Do not add OpenAPI/springdoc, feature toggles, Buildpacks, or Jib.
- Very specific: line 11
Ship dotfiles: ensure .gitignore, .env.sample, .editorconfig, .gitattributes, .dockerignore, optional .vscode/ are added to generated …
- Very specific: line 14
Java code intelligence: when working on Java files in a generated project, prefer the JDTLS-backed lsp tool (goToDefinition, …
- Very specific: line 35
Use --check in CI to fail builds if anything is out of sync.
- Very specific: line 40
Update fallback defaults in scripts/lib/versions.mjs (the getXxx() getters) so the scripts still work without versions.json.
- Very specific: line 63
Do not add new Currently X.Y.Z lines here — hardcoded version numbers in this file drift out of sync with versions.json.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
This is a Spring Boot skill that follows Julien Dubois' best practices
- You MUST follow the Agents Skills specifications at: https://agentskills.io/home
- When doing a script, you MUST do a JavaScript (Node.js) script that works on Mac OS X, Windows and Linux.
- Scripts use ES modules (
.mjsextension) and only Node.js built-in APIs (no npm dependencies). - Node.js 24.x and npm 11.x are prerequisites.
- Scripts use ES modules (
- NEVER propose to use Lombok in the generated projects (add Maven Enforcer/ArchUnit checks in generated templates).
- Build tool is Maven only (no Gradle).
- Hibernate ddl-auto is the supported database initialization mechanism (
spring.jpa.hibernate.ddl-auto). Do not offer Liquibase or Flyway. - Do not add OpenAPI/springdoc, feature toggles, Buildpacks, or Jib.
- Ship dotfiles: ensure
.gitignore,.env.sample,.editorconfig,.gitattributes,.dockerignore, optional.vscode/are added to generated projects (seereferences/PROJECT-SETUP.md). .envis the canonical local secret store: generated projects load real credentials from a.envfile (gitignored). Always instruct users to copy.env.sample→.envand fill in real values there.- NEVER read or expose
.env: the.envfile contains real secrets. Nevercat,view,read, or print its contents — not to the console, not in output, not in logs. Only.env.sample(placeholder values) may be read or displayed. If a task requires inspecting current env values, ask the user to share only the specific variable name, never the whole file. - Java code intelligence: when working on Java files in a generated project, prefer the JDTLS-backed
lsptool (goToDefinition, findReferences, hover, documentSymbol, rename) over grep/view/sed. Generated projects ship.github/lsp.jsonso GitHub Copilot CLI wires JDTLS automatically. Seereferences/JDTLS.md.
Versions Manifest
Centralize versions in versions.json. Scripts load from scripts/lib/versions.mjs (JavaScript). Update this file first when bumping versions.
Updating Versions
All versions live in versions.json — the single source of truth.
Bump workflow
- Edit
versions.jsonwith the new value(s). Regenerate tables and asset versions:
node scripts/sync-versions-in-docs.mjsThis updates:
- Version tables in
references/*.md(between<!-- versions:start -->/<!-- versions:end -->) <nodeVersion>/<npmVersion>insidemaven-frontend-pluginsnippets in the same docs- Hardcoded versions in
assets/Dockerfile,assets/Dockerfile-native,assets/compose.yaml,assets/docker-compose*.yml,assets/devcontainer/*,assets/ci/github-actions.yml
Use
--checkin CI to fail builds if anything is out of sync.- Version tables in
- Sweep any remaining narrative mentions the sync script does not cover:
references/**/*.mdprose (e.g. "Node 24" / "PostgreSQL 18" outside version markers)SKILL.md,README.md(prerequisites, headline framework versions)- Workshop chapters (
workshop/*.md) if they pin a version in prose
- Update fallback defaults in
scripts/lib/versions.mjs(thegetXxx()getters) so the scripts still work withoutversions.json. - Smoke-test by generating a project and running
./mvnw verify.
Where to check for new releases
| Tool | Source |
| Java (Temurin) | https://adoptium.net/ |
| Spring Boot | https://spring.io/projects/spring-boot (also auto-resolved by create-project-latest.mjs) |
| PostgreSQL | https://www.postgresql.org/ |
| GraalVM | https://www.graalvm.org/ |
| Maven | https://maven.apache.org/ |
| Node.js (LTS) | https://nodejs.org/en/about/previous-releases |
| npm | https://www.npmjs.com/package/npm |
| Vite | https://vitejs.dev/ |
| Vue.js / Pinia / Vue Router | https://vuejs.org/ |
| React / React Router | https://react.dev/ |
| Angular / Angular Router | https://angular.dev/ |
| Bootstrap | https://getbootstrap.com/ |
| Testcontainers | https://testcontainers.com/ |
| Spring Framework / Hibernate | https://spring.io/ / https://hibernate.org/ |
| Maven Frontend Plugin | https://github.com/eirslett/frontend-maven-plugin/releases |
Do not add new Currently X.Y.Z lines here — hardcoded version numbers in this file drift out of sync with versions.json. Keep this guide version-free.
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.

