agentleFS
dirkkok101dirkkok101/skills/templates/AGENTS.md

skills / templates

AGENTS.md2 starsChanged 8 months agoMITView on GitHub

This project uses br (beads-rust) for local issue tracking. Issues are stored in .beads/beads.db (SQLite-only, local to this machine). When ending a work session, you MUST complete ALL steps below. Work is NOT complete until git push succeeds. MANDATORY WORKFLOW: CRITICAL RULES: - Work is NOT complete until git push succeeds - NEVER stop before pushing - that leaves work stranded locally - NEVER say "ready to push when you are" - YOU must push - If push fails, resolve…

  • Commits and pushes

The file

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

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

  • 2

    Very specific

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

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

    File issues for remaining work: - Create issues with br create "Title" --type task -p 2

    line 20
  2. Distinctive:

    Verify: - All changes committed AND pushed

    line 31
  3. Distinctive:

    NEVER stop before pushing - that leaves work stranded locally

    line 36
  4. Distinctive:

    NEVER say "ready to push when you are" - YOU must push

    line 37
  5. Distinctive:

    If push fails, resolve and retry until it succeeds

    line 38
  6. Very specific:

    JSON Output: All commands support --json for machine-readable output

    line 105

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

This project uses br (beads-rust) for local issue tracking. Issues are stored in .beads/beads.db (SQLite-only, local to this machine).

Quick Reference

br ready              # Find available work (unblocked, open)
br show <id>          # View issue details
br update <id> --status in_progress  # Claim work
br close <id>         # Complete work

Landing the Plane (Session Completion)

When ending a work session, you MUST complete ALL steps below. Work is NOT complete until git push succeeds.

MANDATORY WORKFLOW:

  1. File issues for remaining work - Create issues with br create "Title" --type task -p 2
  2. Run quality gates (if code changed) - Tests, linters, builds
  3. Update issue status - Close finished work, update in-progress items
  4. PUSH TO REMOTE - This is MANDATORY:
    git pull --rebase
    git add .
    git commit -m "..."
    git push
    git status  # MUST show "up to date with origin"
  5. Verify - All changes committed AND pushed
  6. Hand off - Provide context for next session

CRITICAL RULES:

  • Work is NOT complete until git push succeeds
  • NEVER stop before pushing - that leaves work stranded locally
  • NEVER say "ready to push when you are" - YOU must push
  • If push fails, resolve and retry until it succeeds
  • Beads database is local-only (not synced to git) - that's fine

Beads CLI Reference (br)

Issue Lifecycle

CommandPurposeExample
br createNew issuebr create "Title" -p 2 --type task
br qQuick capture (ID only)br q "Fix typo"
br showDisplay detailsbr show bd-abc123
br updateModify issuebr update bd-abc123 --status in_progress
br closeComplete workbr close bd-abc123
br closeClose multiplebr close bd-abc bd-def bd-ghi
br reopenRestore closedbr reopen bd-abc123
br deleteRemove (tombstone)br delete bd-abc123

Querying Issues

CommandPurposeExample
br listFilter issuesbr list --status open
br readyUnblocked workbr ready
br blockedBlocked itemsbr blocked
br searchText searchbr search "authentication"
br staleInactive issuesbr stale --days 30
br countAggregationbr count --by status
br statsProject overviewbr stats

Dependencies

CommandPurposeExample
br dep addCreate dependencybr dep add bd-child bd-parent
br dep removeRemove dependencybr dep remove bd-child bd-parent
br dep listShow dependenciesbr dep list bd-abc123
br dep treeVisual hierarchybr dep tree bd-abc123
br dep cyclesFind circular depsbr dep cycles

Labels & Comments

CommandPurposeExample
br label addTag issuebr label add bd-abc123 backend
br label removeRemove tagbr label remove bd-abc123 backend
br comments addAdd notebr comments add bd-abc123 "Root cause found"
br comments listView notesbr comments list bd-abc123

System

CommandPurpose
br initInitialize workspace
br doctorDiagnostics
br versionVersion info

Key Concepts

  • Priority: 0=critical, 1=high, 2=medium (default), 3=low, 4=backlog
  • Types: task, bug, feature
  • Status: open, in_progress, closed
  • Dependencies: br dep add <child> <parent> - child is blocked by parent
  • JSON Output: All commands support --json for machine-readable output

Workflow Pattern

# 1. Start session - find work
br ready

# 2. Claim task
br update bd-xxx --status in_progress

# 3. Do the work
# ... implement ...

# 4. Complete task
br close bd-xxx

# 5. Repeat or end session

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.