agents' md files (coding, engineering, researching, brainstorming, searching, etc.)
Обзор
Rules for coding agents (Claude Code, Codex and others), kept in two parts. These are repository-independent and reusable as they are: - GENERAL.md: roles and spawning, delegation, decision rights and escalation, briefs and reports, tests and review, handover between sessions, safe git and process habits, and the general skills. - USER.md: the contract between the user and the agents (the user's part and the options). - skills/ /SKILL.md: the general skills (procedures an agent loads when a task matches). The rule set of one concrete repository (LLMServingSim), as a worked example of how the general files are adopted: its AGENTS.md entry file, the role files under agents/, the agent definitions and hooks under .claude/, and the generator and publishing scripts. 1. Copy GENERAL.md and USER.md into the repository, and the skills into .claude/skills/. 2. Write the repository's own AGENTS.md, with a term map in the style of section 0.4 of llmservingsim/AGENTS.
README
agents.md
Rules for coding agents (Claude Code, Codex and others), kept in two parts.
Part 1: general files (repository root)
These are repository-independent and reusable as they are:
GENERAL.md: roles and spawning, delegation, decision rights and escalation, briefs and reports, tests and review, handover between sessions, safe git and process habits, and the general skills.USER.md: the contract between the user and the agents (the user’s part and the options).skills//SKILL.md: the general skills (procedures an agent loads when a task matches).
Part 2: llmservingsim/
The rule set of one concrete repository (LLMServingSim), as a worked example of how the general files are
adopted: its AGENTS.md entry file, the role files under agents/, the agent definitions and hooks under
.claude/, and the generator and publishing scripts.
Adopting the general files in another repository
- Copy
GENERAL.mdandUSER.mdinto the repository, and the skills into.claude/skills/. - Write the repository’s own
AGENTS.md, with a term map in the style of section 0.4 ofllmservingsim/AGENTS.mdthat maps the general terms (handoff file, decisions list, task trail, …) to the repository’s own files. - Mark the sections that are not tied to the repository with `` on the line after their heading, and write them in general terms.
- Run a generator like
llmservingsim/agents/gen_general.pyto rebuildGENERAL.mdfrom the marked sections, and a publisher likellmservingsim/agents/publish_agentsmd.pyto sync this layout.
Provenance
The root files are generated from LLMServingSim and are edited there, never in this repository: change the
marked section in the source repository, regenerate, and run python3 agents/publish_agentsmd.py.
Source commit of the last sync: 6734dd35
Рекомендуемые инструменты
Попробуйте другой запрос или уберите фильтр.
Установка
npx skillfish add qwxe/agents.md