agentleFS
solanodzsolanodz/harness-engineering-skills/templates/agents.md

harness-engineering-skills / templates

AGENTS.md4 starsChanged 6 months agoMITView on GitHub

{{PROJECT_PURPOSE}} Before writing code: If baseline verification is failing, repair that first before adding new scope. A feature is done only when ALL of the following are true: Before ending a session: Required checks: {{VERIFICATION_COMMANDS}} If you encounter: - Architecture decisions: Consult project architecture docs if present, otherwise ask user - Unclear requirements: Check product/requirements docs if present, otherwise ask user - Repeated test failures: Update progress, flag for human review - Scope ambiguity: Re-read feature_list.json for definition of done

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. walkinglabs/learn-harness-engineering★ 19k100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

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

The file

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

11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

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

    If baseline verification is failing, repair that first before adding new scope.

    line 16
  2. Distinctive:

    Verification required: Don't claim done without running verification commands

    line 21
  3. Very specific:

    Update artifacts: Before ending session, update progress.md and feature_list.json

    line 22
  4. Distinctive:

    Stay in scope: Don't modify files unrelated to the current feature

    line 23
  5. Distinctive:

    Before ending a session:

    line 44
  6. Very specific:

    Update progress.md with current state

    line 46
  7. Very specific:

    Update feature_list.json with new feature status

    line 47
  8. Distinctive:

    Commit with descriptive message once work is in safe state

    line 49
  9. Very specific:

    Leave repo clean enough for next session to run ./init.sh immediately

    line 50
  10. Distinctive:

    Unclear requirements: Check product/requirements docs if present, otherwise ask user

    line 66
  11. Distinctive:

    Repeated test failures: Update progress, flag for human review

    line 67

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

{{AGENT_FILE_NAME}}

{{PROJECT_PURPOSE}}

Startup Workflow

Before writing code:

  1. Confirm working directory with pwd
  2. Read this file completely
  3. Read project docs if present (docs/ARCHITECTURE.md, docs/PRODUCT.md, README, or equivalent)
  4. Run ./init.sh to verify environment is healthy
  5. Read feature_list.json to see current feature state
  6. Review recent commits with git log --oneline -5

If baseline verification is failing, repair that first before adding new scope.

Working Rules

  • One feature at a time: Pick exactly one unfinished feature from feature_list.json
  • Verification required: Don't claim done without running verification commands
  • Update artifacts: Before ending session, update progress.md and feature_list.json
  • Stay in scope: Don't modify files unrelated to the current feature
  • Leave clean state: Next session must be able to run ./init.sh immediately

Required Artifacts

  • feature_list.json — Feature state tracker (source of truth)
  • progress.md — Session continuity log
  • init.sh — Standard startup and verification path
  • session-handoff.md — Optional, for larger sessions

Definition of Done

A feature is done only when ALL of the following are true:

  • Target behavior is implemented
  • Required verification actually ran (tests / lint / type-check)
  • Evidence recorded in feature_list.json or progress.md
  • Repository remains restartable from standard startup path

End of Session

Before ending a session:

  1. Update progress.md with current state
  2. Update feature_list.json with new feature status
  3. Record any unresolved risks or blockers
  4. Commit with descriptive message once work is in safe state
  5. Leave repo clean enough for next session to run ./init.sh immediately

Verification Commands

# Full verification (recommended)
{{PRIMARY_VERIFICATION_COMMAND}}

Required checks: {{VERIFICATION_COMMANDS}}

Escalation

If you encounter:

  • Architecture decisions: Consult project architecture docs if present, otherwise ask user
  • Unclear requirements: Check product/requirements docs if present, otherwise ask user
  • Repeated test failures: Update progress, flag for human review
  • Scope ambiguity: Re-read feature_list.json for definition of done

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.