agentleFS
jabrenajabrena/cursor-rules-java/skills/200-agents-md/SKILL.md

200-agents-md

Skill461 starsChanged 4 months agoApache-2.0View on GitHub

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. This should trigger for requests such as Create AGENTS.md; Update AGENTS.md file; Add agent instructions; Generate contributor instructions for Java agents; Document repository conventions in AGENTS.md. Part of Plinth Toolkit

2 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No Maven validation is required before generating AGENTS.md.

    line 25
  2. Distinctive:

    BEFORE APPLYING: Read the reference for detailed good/bad examples, constraints, and safeguards for each AGENTS.md generation pattern

    line 28
  3. Distinctive:

    EDGE CASE: If the user goal is ambiguous, stop and ask a clarifying question before editing files or running project-wide commands

    line 29
  4. Distinctive:

    EDGE CASE: If required context, files, credentials, or tools are missing, report the blocker explicitly and ask whether to proceed with …

    line 30
  5. Distinctive:

    EDGE CASE: If requested changes conflict with project constraints or safety boundaries, explain the conflict and ask for user confirmation …

    line 31
  6. Distinctive:

    Document repository conventions in AGENTS.md

    line 39
  7. Very specific:

    Read references/200-agents-md.md and follow its generation patterns and safeguards.

    line 49
  8. Distinctive:

    Create AGENTS.md with ✅ Always do / ⚠ Ask first / 🚫 Never do boundaries and repository-specific conventions.

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
SKILL.md

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
  • EDGE CASE: If the user goal is ambiguous, stop and ask a clarifying question before editing files or running project-wide commands
  • EDGE CASE: If required context, files, credentials, or tools are missing, report the blocker explicitly and ask whether to proceed with setup or fallback guidance
  • EDGE CASE: If requested changes conflict with project constraints or safety boundaries, explain the conflict and ask for user confirmation on the preferred trade-off

When to use this skill

  • Create AGENTS.md
  • Update AGENTS.md file
  • Add agent instructions
  • Generate contributor instructions for Java agents
  • Document repository conventions in AGENTS.md

Workflow

  1. Review repository context before drafting

Inspect project structure and existing documentation to prepare accurate responses for the AGENTS.md discovery phase.

  1. Read AGENTS generation reference

Read references/200-agents-md.md and follow its generation patterns and safeguards.

  1. Run interactive requirements capture

Gather role, tech stack, commands, workflow, and boundaries in a modular step-based conversation.

  1. Generate AGENTS.md artifact

Create AGENTS.md with ✅ Always do / ⚠ Ask first / 🚫 Never do boundaries and repository-specific conventions.

Reference

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

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.