agentleFS
VercelKnown publishervercel/vercel-py/AGENTS.md

vercel-py

AGENTS.md32 starsChanged 5 months agoMITView on GitHub

- uv for package management, virtual environment construction, and running scripts - ruff for linting and formatting - mypy for type checking - Implementation code uses AnyIO primitives. Direct asyncio usage is allowed only in tests, examples, and documentation. - uv run poe qa — Run lint, typecheck, and tests. Accepts package or file scopes plus -q/--quiet and -v/--verbose; does not accept tool-specific options after --. - uv run poe test — Run tests (excludes example tests). - uv run…

  • 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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Before opening a pull request or handing work back to the user, run uv run poe check-news-fragments.

    line 62
  2. Very specific:

    If the check reports missing fragments, add them with uv run poe changelog or explicitly tell the user that the pull request requires them …

    line 64
  3. Distinctive:

    Do not silently hand off package-code changes without the required fragments.

    line 66
  4. Distinctive:

    Keep commit messages short and specific.

    line 70
  5. Distinctive:

    Use a title line of 50 characters or fewer.

    line 71
  6. Distinctive:

    Do not list file-by-file changes that are obvious from the diff.

    line 74
  7. Very specific:

    Do not include any Co-authored-by: line.

    line 75

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

Project tools

  • uv for package management, virtual environment construction, and running scripts
  • ruff for linting and formatting
  • mypy for type checking
  • Implementation code uses AnyIO primitives. Direct asyncio usage is allowed only in tests, examples, and documentation.

Commands

  • uv run poe qa — Run lint, typecheck, and tests. Accepts package or file scopes plus -q/--quiet and -v/--verbose; does not accept tool-specific options after --.
  • uv run poe test — Run tests (excludes example tests).
  • uv run poe test-examples — Run opted-in root and package example tests.
  • uv run poe lint — Run lint checks (ruff check + format).
  • uv run poe typecheck — Run type checks (mypy + ty).
  • uv run poe fix — Auto-fix lint issues and reformat code with ruff.
  • ./scripts/test-python-matrix.sh — Run tests through tox across local Python versions. Accepts tox args before --, then normal test.sh scopes and pytest args after --.

The workspace test, lint, and typecheck Poe commands accept zero or more scopes before -- and tool args after --. The aggregate qa command accepts scopes but intentionally rejects tool-specific arguments after --.

Example: uv run poe test tests/unit/test_time.py -- -k coerce_duration Or by package name: uv run poe test vercel-oidc. Matrix example: ./scripts/test-python-matrix.sh -e py310,py314 -- vercel-queue -- -k subscriptions.

Example tests use the same scope and pytest passthrough conventions:

uv run poe test-examples
uv run poe test-examples vercel-sandbox
uv run poe test-examples vercel-sandbox -- -k sessions_and_resume
VERCEL_OIDC_TOKEN="$(vc project token)" uv run poe test-examples vercel-sandbox

Example testing is opt-in: a package declares a local [tool.poe.tasks.test-examples] task, and owns its executable-example selection, runner, pytest configuration, credentials, setup, and cleanup. The root package declares the public aggregate plus the internal test-examples-root task for root examples. Packages without a declaration are excluded from an unscoped aggregate and produce a clear error when requested explicitly.

The workspace task system is documented in scripts/poe/README.md. Workspace packages should include scripts/poe/poe.toml and inherit the shared lint, typecheck, and test tasks unless they have package-specific behavior.

Example package pyproject.toml Poe setup:

[tool.poe]
include = "../../scripts/poe/poe.toml"
verbosity = -1

News Fragments

  • Before opening a pull request or handing work back to the user, run uv run poe check-news-fragments.
  • If the check reports missing fragments, add them with uv run poe changelog or explicitly tell the user that the pull request requires them to pass CI. Do not silently hand off package-code changes without the required fragments.

Commit Message Guidance

  • Keep commit messages short and specific.
  • Use a title line of 50 characters or fewer.
  • Wrap commit message body lines at 72 characters.
  • Explain what changed and why.
  • Do not list file-by-file changes that are obvious from the diff.
  • Do not include any Co-authored-by: line.

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.