agentleFS
OpenAIKnown publisheropenai/snap-o/app-macos/AGENTS.md

snap-o / app-macos

AGENTS.md114 starsChanged 58 days agoApache-2.0View on GitHub

For automated contributors:

  • 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 repository5 other files it gives its agents.

The file

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

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

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use ellipses in status messages shown in the capture pane.

    line 6
  2. Distinctive:

    Follow the existing style.

    line 7
  3. Very specific:

    Never add a deinit; rely on SwiftUI/Observation lifecycle instead.

    line 10
  4. Distinctive:

    Never run git commands; leave version control to the user.

    line 11
  5. Distinctive:

    Do not modify these config files without explicit approval.

    line 12
  6. Very specific:

    Run tests that launch apps or open windows locally only when the user explicitly requests or approves them.

    line 14
  7. Very specific:

    Add independent logic tests to Snap-OUnitTests.

    line 15
  8. Very specific:

    Leave the full native suite to CI in .github/workflows/mac.yml, including its standalone scripts.

    line 16
  9. Very specific:

    When changing dependencies, update the tracked Package.resolved and compare CI build times with and without a compiler cache.

    line 17

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

AGENTS.md

For automated contributors:

  • This app targets macOS 26+ ONLY.
  • Do not use ellipses in status messages shown in the capture pane.
  • Follow the existing style. Defer to the repo configs:
    • SwiftLint: .swiftlint.yml
    • SwiftFormat: .swiftformat
  • Never add a deinit; rely on SwiftUI/Observation lifecycle instead.
  • Never run git commands; leave version control to the user.
  • Do not modify these config files without explicit approval. If a change is needed, propose it with a short rationale in a separate PR (or commit) so it’s easy to review and doesn’t mix with code changes.
  • Select local checks by the behavior changed. Build code changes, lint changed Swift files, and default to Snap-OUnitTests for tests without an app host. See Local test selection.
  • Run tests that launch apps or open windows locally only when the user explicitly requests or approves them. The Snap-OIntegrationTests scheme launches Snap-O, even with a test filter; some standalone scripts also open windows.
  • Add independent logic tests to Snap-OUnitTests. Keep app, window, and real transport tests in Snap-OIntegrationTests or an explicit standalone integration script.
  • Leave the full native suite to CI in .github/workflows/mac.yml, including its standalone scripts. Report local checks performed and any deferred coverage. Do not repeat successful checks unless relevant code, dependencies, or build inputs change.
  • When changing dependencies, update the tracked Package.resolved and compare CI build times with and without a compiler cache. Local incremental builds do not measure fresh-runner cost.
  • To build the app, use xcodebuild:
    xcodebuild -project Snap-O.xcodeproj \
               -scheme Snap-O \
               CODE_SIGNING_ALLOWED=NO \
               CODE_SIGNING_REQUIRED=NO \
               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.