agentleFS
rogerchappelrogerchappel/skilldeck/AGENTS.md

skilldeck

AGENTS.md0 starsChanged 4 months agoMITView on GitHub

This file defines how AI agents and human maintainers should work in skilldeck. Move quickly, but keep every change reviewable, reversible, verifiable, and safe. Allowed commit types: Before editing, report: Every task must include verification. Use the smallest relevant check first: If verification cannot be run, say why and provide the exact command a maintainer should run. Every completed task must return: When opening or updating a pull request, the PR body must follow .github/pull_request_template.md unless the maintainer explicitly asks…

  • Commits and pushes
  • 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 35,337 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 repositoryOne other file it gives its agents.

The file

Show its rules and text

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

17 rules. About 1 is common, 12 are distinctive, and 4 are very specific to this project.

  • ≈1

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    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. Distinctive:

    Do not merge without explicit maintainer approval.

    line 22
  2. Distinctive:

    Do not rewrite shared history unless explicitly instructed.

    line 23
  3. Distinctive:

    Keep unrelated docs, code, tests, generated files, dependency changes, and CI changes in separate commits.

    line 29
  4. Distinctive:

    If a task may touch more than 3 files, write the split plan before editing.

    line 31
  5. Distinctive:

    Create or confirm a branch.

    line 58
  6. Very specific:

    Run bash scripts/validate.sh or a smaller targeted check when appropriate.

    line 63
  7. Distinctive:

    Every task must include verification.

    line 69
  8. Distinctive:

    Use the smallest relevant check first:

    line 71
  9. Distinctive:

    If verification cannot be run, say why and provide the exact command a maintainer should run.

    line 81
  10. Distinctive:

    Every completed task must return:

    line 85
  11. Very specific:

    When opening or updating a pull request, the PR body must follow .github/pull_request_template.md unless the maintainer explicitly asks for …

    line 106
  12. Very specific:

    Do not pass PR bodies or review comments as shell strings containing escaped newlines like \n.

    line 108
  13. Distinctive:

    Use a body file or heredoc instead:

    line 110
  14. Distinctive:

    Before creating or updating a PR, inspect the final rendered source:

    line 147
  15. Very specific:

    If the preview contains literal \n, missing headings, or does not match the repository template, fix it before posting.

    line 153
  16. Distinctive:

    Stop and ask before touching:

    line 157
  17. Common:

    Never commit secrets. Never mutate production data unless explicitly instructed.

    line 172

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

Agent Operating Instructions for skilldeck

This file defines how AI agents and human maintainers should work in skilldeck.

Project Context

  • Project: skilldeck
  • Repository: ``
  • Primary maintainer: ``
  • Default branch: ``
  • Package manager: ``
  • Primary verification command: bash scripts/validate.sh

Core Principle

Move quickly, but keep every change reviewable, reversible, verifiable, and safe.

Branch Policy

  • Work on a branch for all repository changes.
  • Branch from the latest `` before editing.
  • Do not merge without explicit maintainer approval.
  • Do not rewrite shared history unless explicitly instructed.

Atomic Commits

  • Use Conventional Commits.
  • One commit should represent one reviewable intent.
  • Keep unrelated docs, code, tests, generated files, dependency changes, and CI changes in separate commits.
  • Hard gate: if a change touches more than 3 files, split it into smaller commits unless it is a scaffold, generated output, lockfile-only dependency update, or clearly mechanical repository-wide rename.
  • If a task may touch more than 3 files, write the split plan before editing.

Allowed commit types:

  • feat:
  • fix:
  • test:
  • docs:
  • refactor:
  • ci:
  • chore:
  • perf:
  • types:

Expected Workflow

Before editing, report:

  1. Task objective
  2. Expected blast radius
  3. Files likely to change
  4. Commit plan
  5. Verification plan
  6. Risk level: low, medium, or high

Then:

  1. Create or confirm a branch.
  2. Make the smallest coherent change.
  3. Review git status.
  4. Review git diff.
  5. Stage only files related to the current intent.
  6. Run bash scripts/validate.sh or a smaller targeted check when appropriate.
  7. Commit atomically.
  8. Return a review pack.

Verification

Every task must include verification.

Use the smallest relevant check first:

  • targeted unit test
  • targeted integration test
  • typecheck
  • lint
  • build
  • smoke command
  • manual documentation review

If verification cannot be run, say why and provide the exact command a maintainer should run.

Review Pack

Every completed task must return:

## Review Pack
Repo: skilldeck
Branch:
PR:
Task:
Status: done / blocked / needs review
Summary:
Commits:
Files changed:
Verification:
Risk level:
Rollback plan:
Human decision needed:
Next recommended task:

PR Body Formatting Gate

When opening or updating a pull request, the PR body must follow .github/pull_request_template.md unless the maintainer explicitly asks for a different format.

Do not pass PR bodies or review comments as shell strings containing escaped newlines like \n. GitHub will render those literally and the comment is not reviewable.

Use a body file or heredoc instead:

cat > /tmp/pr-body.md <<'EOF'
## Summary

-

## Verification

- [ ] Tests or checks run:
- [ ] Manual review completed:

## Risk Level

- [ ] Low
- [ ] Medium
- [ ] High

Notes:

## Rollback Plan

-

## Human Decision Needed

- [ ] None
- [ ] Maintainer review
- [ ] Product/design decision
- [ ] Security/privacy review
- [ ] Other:
EOF

gh pr create --body-file /tmp/pr-body.md

Before creating or updating a PR, inspect the final rendered source:

cat /tmp/pr-body.md

If the preview contains literal \n, missing headings, or does not match the repository template, fix it before posting.

Safety Rules

Stop and ask before touching:

  • authentication or authorization
  • security controls
  • payments or billing
  • production data
  • data deletion or destructive commands
  • database migrations
  • secrets or environment variables
  • public API compatibility
  • licensing
  • telemetry, analytics, or privacy behavior
  • production configuration
  • major dependency upgrades

Never commit secrets. Never mutate production data unless explicitly instructed.

Repository-Specific Notes

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.