agentleFS
Prisma-Labs-DevPrisma-Labs-Dev/apple-skills/AGENTS.md

apple-skills

AGENTS.md336 starsChanged 7 months agoMITView on GitHub

This file is for agents maintaining this repository. It is not end-user documentation, and it is not the runtime instruction file for agents that install these skills into Claude Code, Codex, Cursor, or another coding agent. Do not classify an entire skill directory as generated or hand-authored. A single skills/<name>/ directory can contain both. If a file does not match a generated pattern, treat it as hand-authored until MAINTAINING.md or the file itself says otherwise. Keep rules pattern-based so adding…

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Very specific:

    Do not classify an entire skill directory as generated or hand-authored.

    line 21
  2. Very specific:

    If a file does not match a generated pattern, treat it as hand-authored until MAINTAINING.md or the file itself says otherwise.

    line 33
  3. Distinctive:

    Do not turn README.md into a script or maintainer log.

    line 49
  4. Very specific:

    Do not treat this repository's skills/*/SKILL.md files as instructions for your current maintainer task unless you are specifically editing …

    line 50
  5. Distinctive:

    Do not hand-edit generated reference files when the refresh tooling can produce the change.

    line 51
  6. Very specific:

    Keep maintainer details in MAINTAINING.md.

    line 52
  7. Very specific:

    Keep skill guidance generic.

    line 53
  8. Very specific:

    When testing installs, use isolated temporary directories for HOME and XDG_CONFIG_HOME.

    line 54

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

Apple Skills Maintainer Guide

This file is for agents maintaining this repository. It is not end-user documentation, and it is not the runtime instruction file for agents that install these skills into Claude Code, Codex, Cursor, or another coding agent.

Table of Contents

NeedStart HereNotes
Explain the project to humansREADME.mdKeep it brief, friendly, and installation-focused. Put copy-pasteable user commands here, not maintainer runbooks.
Understand install surfacesREADME.md and .claude-plugin/Claude Code installs via the plugin marketplace; Codex and Cursor use the Skills CLI to copy skills/ entries into agent skill directories.
Maintain generated Apple docsMAINTAINING.mdRefresh workflow, DocC rendering details, tooling, and repo structure live there.
Update skill behaviorskills/<name>/SKILL.mdThese are the installed agent-facing instructions for a specific skill. Edit them deliberately; they are consumed by downstream agents.
Update generated reference docsskills/<name>/*.mdUse the generated-vs-hand-authored rules below. Prefer refresh tooling over hand edits for generated files.
Work on doc rendering toolingscripts/apple-docs.ts and scripts/apple-docs/TypeScript tooling fetches Apple's DocC JSON and renders markdown.
Run checkspackage.jsonUse pnpm check for the full gate; individual commands are listed in MAINTAINING.md.
Validate install commandsREADME.md install blocksTest in a temporary HOME/XDG_CONFIG_HOME so real agent configs are not modified.
Publish Claude Code plugin metadata.claude-plugin/Marketplace/plugin metadata for Claude Code lives here.

Generated vs Hand-Authored Files

Do not classify an entire skill directory as generated or hand-authored. A single skills/<name>/ directory can contain both.

PatternOwnershipHow to Change
skills/**/SKILL.mdHand-authoredEdit directly when changing installed skill instructions.
skills/**/*.md with YAML frontmatter containing source: https://developer.apple.com/...Generated from Apple's DocC JSONRegenerate with the tooling in MAINTAINING.md; avoid hand edits except to repair the generator or unblock a refresh.
skills/**/*.videos.mdGenerated sidecar for Apple DocC video referencesRegenerate with the docs refresh flow; keep sidecar behavior generic.
skills/**/references/**, skills/**/docs/**, skills/**/assets/**, skills/**/scripts/**, skills/**/agents/**Hand-authored unless the file itself has generated frontmatterEdit directly, preserving local guide or asset conventions.
Root docs such as README.md, MAINTAINING.md, AGENTS.md, and CHANGELOG.mdHand-authoredEdit directly for human or maintainer documentation.
scripts/**, tests/**, package.json, biome.json, tsconfig.jsonHand-authored toolingEdit directly and run the relevant checks.
Generated-looking failure output or stale fetched contentGenerated artifact to fix at the sourceDo not polish it manually; refresh, remove, or fix the generator/source mapping.

If a file does not match a generated pattern, treat it as hand-authored until MAINTAINING.md or the file itself says otherwise. Keep rules pattern-based so adding or removing skills does not require updating this file.

Repository Roles

File or DirectoryAudiencePurpose
README.mdHuman usersWhat this repo is and how to install, update, or uninstall the skills.
AGENTS.mdRepo-maintainer agentsNavigation and boundaries for working in this repository.
MAINTAINING.mdHuman and agent maintainersDetailed maintainer runbooks and generated-doc workflow.
skills/<name>/SKILL.mdDownstream coding agentsInstructions loaded after a skill is installed.
skills/<name>/*.mdDownstream coding agentsReference material used by installed skills.
scripts/Repo maintainersFetching, rendering, and refresh automation.
tests/Repo maintainersRenderer smoke tests and regression coverage.

Maintainer Boundaries

  • Do not turn README.md into a script or maintainer log. It should help a human quickly understand and install Apple Skills.
  • Do not treat this repository's skills/*/SKILL.md files as instructions for your current maintainer task unless you are specifically editing or validating that skill.
  • Do not hand-edit generated reference files when the refresh tooling can produce the change; fix the generator or source mapping instead.
  • Keep maintainer details in MAINTAINING.md; keep this file as a navigation layer.
  • Keep skill guidance generic. Do not list every current skill here when a skills/<name>/... pattern communicates the rule.
  • When testing installs, use isolated temporary directories for HOME and XDG_CONFIG_HOME.

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.