agentleFS
BetoFregaBetoFrega/skills/AGENTS.md

skills

AGENTS.md1 starsChanged 40 days agoMITView on GitHub

- Keep the primary checkout on main at all times. Work directly on its main branch or in a separate Git worktree; use other branches only in worktrees. Locate the primary checkout through git worktree list --porcelain (the first entry), including when working from another worktree. - After every push or merge that updates remote main, fetch origin and synchronize main in the primary checkout with git merge --ff-only origin/main. Completion requires the primary checkout to remain on main and…

The file

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

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

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep the primary checkout on main at all times.

    line 3
  2. Very specific:

    After every push or merge that updates remote main, fetch origin and synchronize main in the primary checkout with git merge --ff-only …

    line 7
  3. Very specific:

    Write all skill content in English, including frontmatter descriptions, headings, instructions, and examples.

    line 17
  4. Distinctive:

    Use repository-relative paths in maintained instructions and examples.

    line 51

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

Git workflow

  • Keep the primary checkout on main at all times. Work directly on its main branch or in a separate Git worktree; use other branches only in worktrees. Locate the primary checkout through git worktree list --porcelain (the first entry), including when working from another worktree.
  • After every push or merge that updates remote main, fetch origin and synchronize main in the primary checkout with git merge --ff-only origin/main. Completion requires the primary checkout to remain on main and its HEAD to match the freshly fetched origin/main.
  • Preserve uncommitted work and local commits. If they block synchronization, report the blocker and resolve it before declaring delivery complete; never force-reset the primary checkout to synchronize it.

Language

Write all skill content in English, including frontmatter descriptions, headings, instructions, and examples. Apply this rule when creating or editing skills in this repository. Respond to the user in their preferred language.

Global rule changes

For global additions, revisions, or removals, use grilling, reuse settled answers, and obtain approval. Update local global instructions and setup's maintained policy, installation, and verification guidance. Setup must reproduce approved behavior on other computers, including removals. Read back both destinations and verify configured agents' loading. Report blocked destinations and Git delivery separately; local-only changes are incomplete.

Skill installation

Install repository skills only through the beto-frega-skills plugin in each agent; do not create local copies or symlinks of repository skills. Bump the version only when the change alters what the plugin loads: skills, agents, hooks, or the manifests themselves. Changes limited to evaluations/, docs/, README, or tests keep the current version. When a bump is needed, change version in .claude-plugin/plugin.json, .claude-plugin/marketplace.json, and .codex-plugin/plugin.json together. A change under personal/ bumps only its marketplace.json entry instead. beto-frega-personal has no plugin.json: its marketplace entry (strict: false) is its manifest, because the claude.ai sync rejects a plugin whose root holds another .claude-plugin/plugin.json, and personal/ sits inside the root of beto-frega-skills. After synchronizing delivered changes into the primary checkout, update the plugin in each configured agent and verify that a fresh session loads the changed skill.

A merge to main that changes the version in .claude-plugin/plugin.json publishes a GitHub Release v<version> through .github/workflows/release.yml. Its notes list the titles of the PRs merged since the previous release, so give each PR a title that says what changes for plugin users.

Portable paths

Use repository-relative paths in maintained instructions and examples. Scripts must discover the repository root from their own location or Git metadata rather than hardcode a user's home, checkout name, or absolute checkout path. Resolve standard user installation directories through the environment or Path.home(). Create cross-directory symlinks with relative targets calculated from their actual locations.

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.