Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/lsampaioweb/ai-instructionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/lsampaioweb/ai-instructions/spring-boot-readme)<a href="https://agentmods.dev/rules/lsampaioweb/ai-instructions/spring-boot-readme"><img src="https://agentmods.dev/badge/rules/lsampaioweb/ai-instructions/spring-boot-readme/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/lsampaioweb/ai-instructions/spring-boot-readme"><img src="https://agentmods.dev/badge/rules/lsampaioweb/ai-instructions/spring-boot-readme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00595 |
| Opus 5.5 | $0.00000 | $0.00238 |
| Sonnet 5.5 | $0.00000 | $0.00119 |
| Haiku 4.5 | $0.00000 | $0.00060 |
Grade A, and why
spring-boot-readme scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spring Boot README Contract
These rules apply to the root README.md of an application repository. A
deployable app must ship one.
Do not restate pom, configuration, or API design contracts here—link to behavior
only when the README must tell a human how to run the app.
Required structure
Every real application README.md includes these sections, in this order:
- Title — project name as an H1.
- Purpose — one short sentence stating what the application does.
- Overview — a short bullet list (typically 3–7 items) of the main capabilities that exist in the code (not aspirational features).
- Prerequisites — runtime and tools actually required (for example Java version, Maven, PostgreSQL, Docker when used).
- Configuration — environment variables and important settings by name. Never commit real secrets; show placeholders or local-only examples clearly labeled as local development.
- Run — commands for the
developmentandproductionprofiles (full profile names; neverdev/prod). - Access — primary URLs (API base path, Actuator health, Swagger UI when the app exposes it).
- Tests — how to run tests (
mvn test) and any environment-dependent caveats. When k6 scripts exist, also document thek6CLI andk6 run(k6 contract). - API summary — brief endpoint list or pointer to OpenAPI/Swagger. Keep this short; do not paste a full OpenAPI document into the README.
Optional footer: Created by (or equivalent attribution).
Writing rules
- Prefer concrete commands, paths, ports, and env var names over marketing prose.
- Document only features that exist in the repository.
- Keep the Overview factual; do not invent JPA, OAuth, or other stacks that the project does not use.
- Use the same profile and port conventions as the configuration contract.
- When SQL/DDL is DBA-owned, say so briefly instead of implying the app migrates the schema at startup (JDBC contract).
Forbidden
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +13 lines ebf716b3f6bc
- 3mo ago First seen · 45 lines · 0 tokens per session scan A b0eba3002ea3
spring-boot-readme is a cursor rule published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 595 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
spring-boot-readme compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| spring-boot-readmelsampaioweb/ai-instructions | Cursor rule | 1 | 11d ago | MIT | A | 0 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 203k | 10d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | today | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |
| shared-plane-packagesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |