ai-instructions spring-boot-gitignore.instructions.md

ai-instructions spring-boot-gitignore.instructions.md is an instructions file for GitHub Copilot from lsampaioweb/ai-instructions. It costs 394 tokens per session, scanned A, original, MIT.

A Spring Boot project file that tells Git which generated files, editor settings, operating-system files, secrets, certificates, logs, and build output to leave untracked.

In plain words
What is it for?
Use it when creating or checking the root .gitignore file in a Spring Boot project.
Why use it?
It keeps temporary files and sensitive local configuration out of the repository. It also preserves selected shared VS Code settings while excluding personal workspace files.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

Install

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.

agentmods
npx agentmods add instructions/lsampaioweb/ai-instructions/spring-boot-gitignore
Clone the repo
git clone --depth 1 https://github.com/lsampaioweb/ai-instructions

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for ai-instructions spring-boot-gitignore.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/lsampaioweb/ai-instructions/spring-boot-gitignore.svg)](https://agentmods.dev/instructions/lsampaioweb/ai-instructions/spring-boot-gitignore)
Your own site
<a href="https://agentmods.dev/instructions/lsampaioweb/ai-instructions/spring-boot-gitignore"><img src="https://agentmods.dev/badge/instructions/lsampaioweb/ai-instructions/spring-boot-gitignore.svg" alt="Measured on agentmods" height="20"></a>
Per session 394 This file is loaded in full into every session.
When invoked 394 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00394 $0.00394
Opus 5 $0.00197 $0.00197
Sonnet 5 $0.00079 $0.00079
Haiku 4.5 $0.00039 $0.00039

Measured 2d ago against content hash 8dbd7609a2a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ai-instructions spring-boot-gitignore.instructions.md 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 2d 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.

.github/instructions/spring-boot-gitignore.instructions.md · 28 lines

What it actually says

Spring Boot .gitignore Engine

Rules

  • Every Spring Boot project must have a .gitignore at the repository root.
  • Group exclusion rules by category with a # comment header above each group.
  • Exclude target/ for Maven build output.
  • Exclude Maven Release plugin artifacts: release.properties, pom.xml.releaseBackup.
  • Exclude IntelliJ IDEA artifacts: .idea/, *.iml, *.iws, *.ipr.
  • Exclude Eclipse and STS artifacts: .project, .classpath, .factorypath, .settings/, .apt_generated, .sts4-cache.
  • Exclude .vscode/ for VS Code workspace artifacts.
  • Allow .vscode/extensions.json and .vscode/settings.json as tracked exceptions using ! negation patterns.
  • Exclude OS artifacts: .DS_Store, Thumbs.db.
  • Exclude secrets and local overrides: *.env, .env, application-local.yml, application-local.properties.
  • Exclude TLS credential files: *.p12, *.crt, *.key, *.pfx.
  • Exclude log output directories and files: logs/, *.log, *.gz.
  • Exclude JVM crash log files: hs_err_pid*.

Safety Guards

  • Never commit application-local.* files; they are runtime-only overrides containing environment-specific secrets.
  • Never commit TLS credential files to source control.
  • Never use glob patterns (target/*) where directory patterns (target/) are more precise and cover nested paths.
  • Never exclude the .mvn/ directory when it contains the Maven wrapper; the wrapper is intentionally tracked.
Changes

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.

  1. 2d ago First seen · 28 lines · 394 tokens per session scan A 8dbd7609a2a0

Subscribe to this mod's changes

ai-instructions spring-boot-gitignore.instructions.md is an instructions file published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 13d ago), licensed MIT. It adds 394 tokens to every session, about $0.0020 per session on Opus 5. 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-09-03.