agentleFS
processmissionprocessmission/oh-my-qemu/AGENTS.md

oh-my-qemu

AGENTS.md60 starsChanged 13 days agoMITView on GitHub

This file governs development of this repository. It is not installed into QEMU. Each installed skill must contain its own runtime rules and must not depend on or cite this file. QEMU's official GitLab and mailing lists are upstream channels. A patch becomes an upstream contribution only when it is sent to the mailing-list recipients selected through QEMU's MAINTAINERS. - Do not prepare or send agent-generated code or documentation for upstream submission. Follow QEMU's current docs/devel/code-provenance.rst. - Local branches, commits,…

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

20 rules. About 0 are common, 5 are distinctive, and 15 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 15

    Very specific

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

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

    Do not prepare or send agent-generated code or documentation for upstream submission.

    line 13
  2. Very specific:

    Put skills in skills/<skill-name>/SKILL.md.

    line 24
  3. Distinctive:

    Keep each skill independently installable.

    line 25
  4. Very specific:

    Keep data fields to name and description.

    line 29
  5. Very specific:

    Keep SKILL.md concise. Put long material in one-level references/, scripts/, or assets/, and link every resource file from SKILL.md.

    line 32
  6. Very specific:

    Keep bash helpers portable to bash 3.2, in function form with a guarded main dispatcher.

    line 34
  7. Very specific:

    Keep the workflow gate library (qemu-workflow/scripts/gates.sh), the register-semantics RS-IR contract and its ir-ops.def vocabulary …

    line 37
  8. Distinctive:

    Do not require checkpoint commits.

    line 46
  9. Very specific:

    Every skill carries one identical canonical ## Audit workflow block, one ## QEMU upstream boundary block, and an ## Upstream references …

    line 48
  10. Very specific:

    Keep skills/qemu-workflow/references/skill-routing.md current when catalog boundaries or the first-task path change.

    line 51
  11. Very specific:

    Keep the architecture and workflow docs in docs/ (including their Graphviz sources) aligned with the skills when the catalog, phase …

    line 53
  12. Distinctive:

    Every skill must include the compact audit contract.

    line 57
  13. Very specific:

    Keep temporary tooling in scripts/, generated or third-party artifacts in output/, and QEMU build output in a named source-root directory …

    line 69
  14. Very specific:

    Before creating audit artifacts or configuring QEMU, add .agents/, .oh-my-qemu/, and builds/ to the repository-local git rev-parse …

    line 74
  15. Distinctive:

    When an agent reviews a change in this repository, report only P0 and P1 findings:

    line 82
  16. Distinctive:

    Do not emit P2, P3, nit, style, or note findings in an agent review.

    line 90
  17. Very specific:

    Keep install.sh self-contained and project-local.

    line 96
  18. Very specific:

    run npx skills add, defaulting non-interactively to all skills for Codex and Claude Code.

    line 98
  19. Very specific:

    update Git excludes only after a successful install for .agents/, .claude/skills/, .oh-my-qemu/, builds/, and skills-lock.json.

    line 102
  20. Very specific:

    Keep validation in scripts/validate-codex-skills.mjs and public documentation in site/.

    line 106

≈ “Common” is an estimate: at least 1 in 5 of the 36,368 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

QEMU Skill Repository Agent Guide

This file governs development of this repository. It is not installed into QEMU. Each installed skill must contain its own runtime rules and must not depend on or cite this file.

QEMU upstream boundary

QEMU's official GitLab and mailing lists are upstream channels. A patch becomes an upstream contribution only when it is sent to the mailing-list recipients selected through QEMU's MAINTAINERS.

  • Do not prepare or send agent-generated code or documentation for upstream submission. Follow QEMU's current docs/devel/code-provenance.rst.
  • Local branches, commits, patch files, pushes, and pull requests are not by themselves upstream contributions. Perform Git actions only when requested.
  • Research, debugging, analysis, local experiments, verification, and workflow guidance are allowed.

Changes to this repository follow its local Git policy.

Skill rules

  • Put skills in skills/<skill-name>/SKILL.md.
  • Keep each skill independently installable. Do not depend on another skill, repository file, installer behavior, or plugin hook.
  • Inside YAML frontmatter, put the Process Mission copyright and MIT SPDX comments immediately after the opening --- and before the data fields. Keep data fields to name and description.
  • Include matching agents/openai.yaml with quoted display_name, short_description, and $skill-name default_prompt.
  • Keep SKILL.md concise. Put long material in one-level references/, scripts/, or assets/, and link every resource file from SKILL.md.
  • Keep bash helpers portable to bash 3.2, in function form with a guarded main dispatcher; keep Python helpers standard-library only. Resources must pass bash -n / python3 syntax checks in the validator.
  • Keep the workflow gate library (qemu-workflow/scripts/gates.sh), the register-semantics RS-IR contract and its ir-ops.def vocabulary (qemu-register-extraction), the RS-IR translation references (qemu-peripheral-modeling/references/ir-to-registerinfo.md and qemu-board-modeling/references/unimplemented-device.md), the field-lesson catalogs, the board/machine page template (qemu-rst-documentation), and the orchestrator/review phase, routing, and checklist references (qemu-modeler, qemu-model-review) consistent with their references when changing those contracts.
  • Do not require checkpoint commits. Stage or commit only when requested.
  • Require explicit approval for external writes such as gh issue create.
  • Every skill carries one identical canonical ## Audit workflow block, one ## QEMU upstream boundary block, and an ## Upstream references section where QEMU docs apply. The validator enforces the two blocks.
  • Keep skills/qemu-workflow/references/skill-routing.md current when catalog boundaries or the first-task path change.
  • Keep the architecture and workflow docs in docs/ (including their Graphviz sources) aligned with the skills when the catalog, phase protocol, or translation contract changes.

Every skill must include the compact audit contract. For a non-trivial task that writes to QEMU, use only the needed entries under:

.oh-my-qemu/<task-slug>/
├── audit.md
├── commands.md
├── logs/
├── scripts/
└── output/

Keep temporary tooling in scripts/, generated or third-party artifacts in output/, and QEMU build output in a named source-root directory such as builds/build-aarch64/—never build/ or task output/. Change source files only when they are the requested deliverable.

Before creating audit artifacts or configuring QEMU, add .agents/, .oh-my-qemu/, and builds/ to the repository-local git rev-parse --git-path info/exclude. Preserve existing entries, avoid duplicates, never stage these paths, and verify them absent from git status --short at handoff.

Agent review

When an agent reviews a change in this repository, report only P0 and P1 findings:

  • P0: correctness, security, data loss, broken CI, or another release-blocking defect.
  • P1: contract or acceptance-criteria violation, regression, missing required evidence, or a fix that must land before merge.

Do not emit P2, P3, nit, style, or note findings in an agent review. If an observation is useful but is not P0/P1, omit it from the findings list; report it only as an explicitly non-blocking note when the requester asks for one.

Installer rules

Keep install.sh self-contained and project-local. It must:

  • run npx skills add, defaulting non-interactively to all skills for Codex and Claude Code;
  • reject global installs and tracked installer-managed paths or lockfiles;
  • support --skill and use this checkout's local skill tree;
  • update Git excludes only after a successful install for .agents/, .claude/skills/, .oh-my-qemu/, builds/, and skills-lock.json.

Direct npx skills add installs skills only and does not update Git excludes. Keep validation in scripts/validate-codex-skills.mjs and public documentation in site/. Validation covers metadata, the canonical audit and boundary blocks, one-level resource layout and linkage, relative links, script syntax, catalog names, installer markers, and retired names. It does not execute the documented skill commands.

Run:

npm run codex:skills:validate

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.

Reviews can't be read right now.

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.