agentleFS
portolan-sdiportolan-sdi/portolan-skills/AGENTS.md

portolan-skills

AGENTS.md11 starsChanged 30 days agoApache-2.0View on GitHub

All agents MUST read this document before starting work, with no exceptions, ever. (Claude Code does not read AGENTS.md but imports this file via a one-line CLAUDE.md.) Most of this content is synced downstream from portolan-ops. Put repo-specific instructions in AGENTS.md, never in CLAUDE.md, which the sync overwrites. Agents MUST read the complete contents of norms and policies before starting work, with no exceptions, ever. The portolan-spec repo is the absolute ground truth for the Portolan spec. All other tools…

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before documenting any command, flag, or API, verify that it exists.

    line 12
  2. Distinctive:

    Use conventional commits always.

    line 14
  3. Distinctive:

    All tickets and PRs MUST follow the templates.

    line 16

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
<!-- ops-sync:begin — synced from portolan-sdi/portolan-ops. Edit there, not here. -->

Portolan agent norms

All agents MUST read this document before starting work, with no exceptions, ever. (Claude Code does not read AGENTS.md but imports this file via a one-line CLAUDE.md.) Most of this content is synced downstream from portolan-ops. Put repo-specific instructions in AGENTS.md, never in CLAUDE.md, which the sync overwrites.

Ground rules

Agents MUST read the complete contents of norms and policies before starting work, with no exceptions, ever.

The portolan-spec repo is the absolute ground truth for the Portolan spec. All other tools are downstream of it.

Before documenting any command, flag, or API, verify that it exists.

Use conventional commits always.

All tickets and PRs MUST follow the templates.

GitHub applies issue forms only in the web UI. With gh issue create, write each form field as a ### <field label> heading, in the form's order. Include ### Priority with one of P0 to P3 from the priority rubric. Pass the form's type label with --label, and pass the body with --body-file. The writing hook denies a body that skips its form, and issue governance flags one.

Org-wide facts

The canonical homepage is https://www.portolan-sdi.org/. Canonical URLs live in copy/urls.md. Do not hardcode variants.

Community discussion happens in the Portolan Google Group and the Portolan channel in Cloud-Native Geo Slack. Planning happens in org-level GitHub projects.

Files between ops-sync markers are synced from portolan-ops. They are overwritten on every sync run. To change one, edit it in portolan-ops.

One canonical home per fact. If a value like a color, URL, or policy line exists in portolan-ops, link to it rather than copying it.

<!-- ops-sync:end -->

Skills track pinned upstreams

Every skill states facts about portolan-cli, rashid, the specification, the catalog template, or the registry. pins.toml names the version of each that the skills describe. scripts/check_drift.py checks every portolan, rashid, and gh command in a bash fence, every PORTO-* and PTL-* id, every cited specs/...md path, and every sample body marked <!-- drift-sample: issue --> or <!-- drift-sample: pr --> against those versions. Run it before you file a change:

uv run scripts/check_drift.py

Pre-commit runs it with --offline. The Drift workflow runs it on every pull request and once a week. The weekly run fails when a pin lags its upstream and keeps one tracking issue open.

Each SKILL.md has <!-- drift: depends-on: ... --> on line 6. That comment lists the upstreams the skill states facts about. There is no last-verified date. git log pins.toml records when a pin last moved.

A skill restates nothing that portolan <cmd> --help, the spec, or rashid output can answer. Cite a spec rule by its id, such as PORTO-CORE-081. Do not paraphrase the rule. To show a wrong command on purpose, put <!-- drift-skip: <reason> --> on the line before the fence.

To move a pin, edit pins.toml. Then run the checker and fix every finding in the same pull request.

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.