agentleFS
jduboisjdubois/dr-jskill/AGENTS.md

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.

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
  1. Very specific:

    When doing a script, you MUST do a JavaScript (Node.js) script that works on Mac OS X, Windows and Linux.

    line 4
  2. Distinctive:

    NEVER propose to use Lombok in the generated projects (add Maven Enforcer/ArchUnit checks in generated templates).

    line 7
  3. Distinctive:

    Do not add OpenAPI/springdoc, feature toggles, Buildpacks, or Jib.

    line 10
  4. Very specific:

    Ship dotfiles: ensure .gitignore, .env.sample, .editorconfig, .gitattributes, .dockerignore, optional .vscode/ are added to generated …

    line 11
  5. Very specific:

    Java code intelligence: when working on Java files in a generated project, prefer the JDTLS-backed lsp tool (goToDefinition, …

    line 14
  6. Very specific:

    Use --check in CI to fail builds if anything is out of sync.

    line 35
  7. Very specific:

    Update fallback defaults in scripts/lib/versions.mjs (the getXxx() getters) so the scripts still work without versions.json.

    line 40
  8. Very specific:

    Do not add new Currently X.Y.Z lines here — hardcoded version numbers in this file drift out of sync with versions.json.

    line 63

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 (.mjs extension) and only Node.js built-in APIs (no npm dependencies).
    • Node.js 24.x and npm 11.x are prerequisites.
  • 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 (see references/PROJECT-SETUP.md).
  • .env is the canonical local secret store: generated projects load real credentials from a .env file (gitignored). Always instruct users to copy .env.sample → .env and fill in real values there.
  • NEVER read or expose .env: the .env file contains real secrets. Never cat, 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 lsp tool (goToDefinition, findReferences, hover, documentSymbol, rename) over grep/view/sed. Generated projects ship .github/lsp.json so GitHub Copilot CLI wires JDTLS automatically. See references/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

  1. Edit versions.json with the new value(s).
  2. Regenerate tables and asset versions:

    node scripts/sync-versions-in-docs.mjs

    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 18" outside version markers)
    • SKILL.md, README.md (prerequisites, headline framework versions)
    • Workshop chapters (workshop/*.md) if they pin a version in prose
  4. Update fallback defaults in scripts/lib/versions.mjs (the getXxx() getters) so the scripts still work without versions.json.
  5. Smoke-test by generating a project and running ./mvnw verify.

Where to check for new 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.