agentleFS
duckduckgoduckduckgo/apple-browsers/AGENTS.md

apple-browsers

AGENTS.md274 starsChanged 9 days agoApache-2.0View on GitHub

Loaded into every agent session. Add a line only when agents demonstrably get something wrong and nothing catches it during the task. Procedures live in .claude/skills/; personal preferences live in your user-level config. - Before finishing, run mint run swiftlint lint --strict --force-exclude on the files you changed. CI uses --strict, so any warning, including the file-header check, fails the PR; --force-exclude skips files CI doesn't lint, such as Package.swift. - Every new Swift Testing @Test needs .timeLimit(.minutes(1)), which requires…

The file

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

3 rules. About 0 are common, 0 are distinctive, and 3 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.

  • 3

    Very specific

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

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

    Before finishing, run mint run swiftlint lint --strict --force-exclude on the files you changed.

    line 7
  2. Very specific:

    Every new Swift Testing @Test needs .timeLimit(.minutes(1)), which requires @available(iOS 16, macOS 13, *).

    line 11
  3. Very specific:

    Before reviewing any change, read REVIEW.md first (and REVIEW-pixels.md for pixel or wide event changes).

    line 20

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

DuckDuckGo Apple browsers

Loaded into every agent session. Add a line only when agents demonstrably get something wrong and nothing catches it during the task. Procedures live in .claude/skills/; personal preferences live in your user-level config.

  • Before finishing, run mint run swiftlint lint --strict --force-exclude on the files you changed. CI uses --strict, so any warning, including the file-header check, fails the PR; --force-exclude skips files CI doesn't lint, such as Package.swift.
  • Every new Swift Testing @Test needs .timeLimit(.minutes(1)), which requires @available(iOS 16, macOS 13, *).
  • Adding, moving or deleting files in the Xcode projects: use the ddg-xcode-add-file skill.
  • Adding or changing a pixel or wide event: use the ddg-add-pixel skill.
  • Tests that depend on the remote Privacy Configuration arrange each flag state explicitly and assert the app's behavior in that state, including flags changing while the app runs. They never assert what the live configuration currently contains.
  • Before reviewing any change, read REVIEW.md first (and REVIEW-pixels.md for pixel or wide event changes).
  • Pull requests: fill in .github/PULL_REQUEST_TEMPLATE.md. If the SnapshotReferences submodule changed, run ./scripts/open-snapshot-submodule-pr.sh first and add the PR link it prints to the description.

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.