Cursor-rules-java 200-agents-md

Use when you need to generate an AGENTS.md file for a Java repository — covering project conventions, tech stack, file structure, commands, Git workflow, and contributor boundaries — through a modular, step-based interactive process that adapts to your specific project needs. Part of the skills-for-java project

install
source · Clone the upstream repo
git clone https://github.com/jabrena/cursor-rules-java
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jabrena/cursor-rules-java "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/200-agents-md" ~/.claude/skills/jabrena-cursor-rules-java-200-agents-md && rm -rf "$T"
manifest: skills/200-agents-md/SKILL.md
source content

AGENTS.md Generator for Java repositories

Generate a comprehensive AGENTS.md file for Java repositories through a modular, step-based interactive process that covers role definition, tech stack, file structure, commands, Git workflow, and contributor boundaries. This is an interactive SKILL.

What is covered in this Skill?

  • AGENTS.md generation for Java repositories of any complexity
  • Role and expertise definition for AI agents and contributors
  • Tech stack documentation: language, build tool, frameworks, pipelines
  • File structure mapping with read/write boundaries
  • Command catalogue for build/test/deploy/run workflows
  • Git workflow conventions: branching strategy, commit message format
  • Contributor boundaries using ✅ Always do / ⚠️ Ask first / 🚫 Never do formatting

Constraints

No Maven validation is required before generating AGENTS.md. Review the project structure and existing documentation before starting to provide accurate answers during Step 1.

  • BEFORE STARTING: Review the project structure and existing documentation to provide accurate answers during Step 1
  • BEFORE APPLYING: Read the reference for detailed good/bad examples, constraints, and safeguards for each AGENTS.md generation pattern

When to use this skill

  • Create AGENTS.md
  • Update AGENTS.md file
  • Add agent instructions

Reference

For detailed guidance, examples, and constraints, see references/200-agents-md.md.