agentleFS
CloudflareKnown publishercloudflare/forge/AGENTS.md

forge

AGENTS.md1.2k starsChanged 9 days agoApache-2.0View on GitHub

API documentation site for Forge OpenAPI specs, built on Astro. Never publish links to Cloudflare-internal systems (anything behind Cloudflare's network or login) in files, commits, branch names, or PR and issue text. Bare ticket IDs (FORGE-1) are fine. A pushed link stays in history even after a later commit removes it: tell the maintainers.

  • Installs packages

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 9 mentionsOct 2026: 16 mentionsNov 2026: 1 mention
Dec 2025Jun 2026Nov 2026
Mentions a month of the cloudflare/forge repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about cloudflare/forge

The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 26

Talked about on GitHub, Bluesky and YouTube (26 times).

On GitHub · 20

15 more on GitHub

On Bluesky · 5

On YouTube · 1

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.

    Of the AGENTS.md files we read, the 31,439 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.

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    No spaces inside brackets, and ", " and ": " as separators.

    line 23
  2. Very specific:

    Never publish links to Cloudflare-internal systems (anything behind Cloudflare's network or login) in files, commits, branch names, or PR …

    line 29

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

Forge Docs Monorepo

API documentation site for Forge OpenAPI specs, built on Astro.

Architecture

  • packages/astro-fern: Generic Astro engine for rendering Fern-based API documentation.
  • packages/fern-forge: astro-fern extension that validates and adapts Forge OpenAPI metadata.
  • packages/docs-site: API documentation website consuming astro-fern and fern-forge. The OpenAPI spec is fetched from the openapi.forge.json GitHub release asset (or a local file via FORGE_OPENAPI_SPEC).
  • packages/cloudflare-terraform-docs: Generator for the site's Terraform documentation data, derived from the released Cloudflare Terraform provider. Temporary: removed once Forge supports Terraform natively (see the site's README).

Conventions

  • Open Source Separation: Generic packages (astro-fern, fern-forge) must remain free of Cloudflare-specific dependencies.
  • Formatting & Linting: oxfmt and oxlint, configured only at the root (.oxfmtrc.json, .oxlintrc.json). pnpm check verifies; pnpm format rewrites.
  • Type Checking: Strict TypeScript compiler settings across all packages via pnpm typecheck.
  • Tests: Node-native test runner via pnpm test (or pnpm -r run test).
  • Inline Test Data: JSON written inline in Rust tests (OpenAPI documents and schemas in raw strings) is formatted as if by hand, for readability. Keep new and edited test data in the same shape:
    • Two-space indentation. Content starts two spaces past the indentation of the line that opens the literal, and the closing bracket returns to that indentation.
    • The document skeleton is always expanded, one key per line: the root object, paths, each path item, each operation, components, and each map under components.
    • Other objects and arrays stay on one line when they are short (about 90 characters) and shallow, such as {"type": "string"}, {"title": "t", "version": "1"}, or a single parameter. Longer ones are expanded to one member per line.
    • A wrapper with a single member (content, a media type, schema, a response code) shares a line with what it wraps, as in "requestBody": {"content": {"application/json": {"schema": {, with the wrapped members indented once and the closing brackets together (}}}}).
    • No spaces inside brackets, and ", " and ": " as separators.
    • Data whose formatting is under test, such as the minified documents in tests/normalize, stays exactly as written.
  • RFCs: Design proposals and specifications live in rfcs/.

Public Repository

Never publish links to Cloudflare-internal systems (anything behind Cloudflare's network or login) in files, commits, branch names, or PR and issue text. Bare ticket IDs (FORGE-1) are fine. A pushed link stays in history even after a later commit removes it: tell the maintainers.

Commands

# Install dependencies
pnpm install

# Run lint and format checks
pnpm check

# Typecheck all packages
pnpm typecheck

# Run all unit tests
pnpm test

# Build the docs site
pnpm --filter docs-site build

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.