agentleFS
chenhunghanchenhunghan/jira-skill/AGENTS.md

jira-skill

AGENTS.md4 starsChanged 8 months agoMITView on GitHub

After editing jira/SKILL.md, run the eval suite to check for regressions. Only run the evals affected by your change — evals are slow (each one calls an LLM twice). Run the full suite only when the user explicitly asks for it. Validate JSON and count evals: run-evals.sh sends each eval prompt + the full SKILL.md + all references/*.md files to an LLM and grades the response against expectations. Writes results to jira-workspace/eval-run-1/. Override models with MODEL_GENERATE and MODEL_GRADE env vars:

  • 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 repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    After editing jira/SKILL.md, run the eval suite to check for regressions.

    line 5
  2. Very specific:

    If neither CLI is available, run the same logic manually: for each eval in jira/evals/evals.json, paste the SKILL.md as system context, …

    line 41
  3. Very specific:

    When adding a feature or safety rule to SKILL.md, add a corresponding eval.

    line 50
  4. Very specific:

    Put new reference files in jira/references/.

    line 54

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

Contributing

Verify changes

After editing jira/SKILL.md, run the eval suite to check for regressions. Only run the evals affected by your change — evals are slow (each one calls an LLM twice). Run the full suite only when the user explicitly asks for it.

Structural check (requires jq)

Validate JSON and count evals:

jq -e '.evals | map(select(.id == null or .prompt == null or .expectations == null or (.expectations | length) == 0)) | if length > 0 then error("invalid evals") else empty end' jira/evals/evals.json
jq -e 'map(select(.query == null or .should_trigger == null)) | if length > 0 then error("invalid triggers") else empty end' jira/evals/trigger-evals.json
jq -r '"Task evals: \(.evals | length)"' jira/evals/evals.json
jq -r '"Trigger evals: \(length)"' jira/evals/trigger-evals.json

Behavioral eval (requires claude or codex CLI)

run-evals.sh sends each eval prompt + the full SKILL.md + all references/*.md files to an LLM and grades the response against expectations. Writes results to jira-workspace/eval-run-1/.

bash run-evals.sh                       # run all (auto-detects claude or codex)
bash run-evals.sh --triggers-only       # trigger evals only
bash run-evals.sh --tasks-only          # task evals only
bash run-evals.sh --task 7              # single task eval by id
bash run-evals.sh --trigger 25          # single trigger eval by index (0-based)
CLI=codex bash run-evals.sh             # force codex backend

Override models with MODEL_GENERATE and MODEL_GRADE env vars:

ClaudeCodex (with OpenAI API key)
Default generatesonnetgpt-4.1-mini
Default gradehaikugpt-4.1-nano
CheaperMODEL_GENERATE=haikuMODEL_GENERATE=gpt-4.1-nano MODEL_GRADE=gpt-4.1-nano

Codex with a ChatGPT account uses its default model and ignores -m — model overrides require an OpenAI API key (codex login).

If neither CLI is available, run the same logic manually: for each eval in jira/evals/evals.json, paste the SKILL.md as system context, send the prompt, and check the response against the expectations array.

What to check

  • Task evals (jira/evals/evals.json): Does the agent produce correct acli commands, follow safety rules, use mdadf --compact, and respect operating constraints?
  • Trigger evals (jira/evals/trigger-evals.json): Does the skill description trigger for Jira work (should_trigger: true) and stay silent for GitHub PRs, Confluence, auth setup, etc. (should_trigger: false)?

Adding evals

When adding a feature or safety rule to SKILL.md, add a corresponding eval. Task evals go in evals.json, trigger boundary cases go in trigger-evals.json.

Adding reference files

Put new reference files in jira/references/. Add a pointer in SKILL.md that tells the agent when to load the file (e.g. "read references/foo.md if the user needs X"). run-evals.sh auto-discovers all references/*.md files and includes them in the eval context.

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.