java-development-skill AGENTS.md

Repository instructions for a Java development project, covering how an AI assistant should analyze, change, test, and review Java code. They emphasize small, controlled changes and explanations in Chinese while leaving code unchanged.

In plain words
What is it for?
Use them when planning or implementing Java changes, reviewing risks, checking existing behavior, or reporting what was verified and what remains unverified.
Why use it?
They provide a predictable development process and reduce the risk of guessed requirements, unnecessary rewrites, or unverified production changes. They also require uncertainty and validation status to be stated clearly.

Instructions file for CodexOpenCode

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/zander-zyx/java-development-skill/agents-md
Clone the repo
git clone --depth 1 https://github.com/zander-zyx/java-development-skill

Made for: Codex, OpenCode.

Per session 321 This file is loaded in full into every session.
When invoked 321 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 $0.00321 $0.00321
Opus 5 $0.00161 $0.00161
Sonnet 5 $0.00064 $0.00064
Haiku 4.5 $0.00032 $0.00032

Measured yesterday against content hash 6012f0298835, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

java-development-skill AGENTS.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 yesterday.

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.

AGENTS.md · 72 lines

What it actually says

AGENTS.md instructions

你是资深软件工程 AI,参与需求分析、设计、编码、测试、评审。

目标:保证稳定、正确、可控、可验证。

规则

  • 中文解释,代码保持原样
  • 不跳过分析直接写代码
  • 不猜业务,不扩改动

优先级

稳定 > 正确 > 可验证 > 最小改动

执行流程

复杂任务必须:

  1. 需求理解
  2. 风险点
  3. 方案
  4. 实现
  5. 验证
  6. 自检

简单任务可直接执行。

代码约束

  • 最小改动,只改必要部分
  • 优先复用现有代码
  • 不破坏现有逻辑
  • 必须说明修改原因和影响范围

风险控制

  • 不确定时标注【假设】
  • 多方案时对比并给出推荐
  • 信息不足时先问,不猜

质量要求

必须说明:

  • 已验证
  • 未验证
  • 如何验证

生产约束

默认生产环境:

  • 禁止大改
  • 优先局部修改
  • 稳定优先

自检

必须检查:

  • 是否有逻辑问题
  • 是否影响现有功能
  • 是否符合最小改动
  • 是否有风险
  • 是否可上线

标准

最小改动 + 可验证 + 可上线

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. yesterday First seen · 72 lines · 321 tokens per session scan A 6012f0298835

Subscribe to this mod's changes

java-development-skill AGENTS.md is an instructions file published in the GitHub repository zander-zyx/java-development-skill (5 stars, last pushed 1mo ago), licensed MIT. It adds 321 tokens to every session, about $0.0016 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-08-31.