agentleFS
armstronglarmstrongl/nd/tasks/AGENTS.md

nd / tasks

AGENTS.md3 starsChanged 8 months agoMITView on GitHub

This project uses taskmd for task management. Tasks are Markdown files with YAML frontmatter. See TASKMD_SPEC.md for a trimmed field reference, or run taskmd spec --stdout for the full spec. Files follow the pattern ID-descriptive-title.md (e.g., a3f9x2-add-user-auth.md). Use the local helper when you want task creation to open a GitHub issue and task completion to close it: - add: runs taskmd add, creates a GitHub issue, and writes the issue link plus the close-on-completion note into the task file -…

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

The file

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

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

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the local helper when you want task creation to open a GitHub issue and task completion to close it:

    line 54
  2. Very specific:

    Run taskmd next or check dependencies with taskmd graph --format ascii

    line 72
  3. Very specific:

    Check off subtasks (- [x]) as you complete them

    line 74
  4. Distinctive:

    Verify all acceptance criteria are met

    line 80
  5. Very specific:

    Run taskmd verify <id> if the task has verify checks

    line 81
  6. Very specific:

    Run taskmd validate to confirm no issues

    line 83
  7. Distinctive:

    Stop -- the task completes when the PR is merged

    line 89
  8. Very specific:

    When introducing a new phase, add it to the phases list in .taskmd.yaml before assigning it to tasks

    line 98
  9. Distinctive:

    Write entries when starting, making key decisions, hitting blockers, or finishing.

    line 111
  10. Very specific:

    Run taskmd validate before committing to check for missing fields, invalid values, duplicate IDs, circular dependencies, and broken …

    line 115

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

Working with taskmd tasks

This project uses taskmd for task management. Tasks are Markdown files with YAML frontmatter. See TASKMD_SPEC.md for a trimmed field reference, or run taskmd spec --stdout for the full spec.

Task file format

---
id: "a3f9x2"
title: "Task title"
status: pending
priority: high
effort: medium
dependencies: ["002"]
tags: [feature]
created_at: 2026-01-15
---

## Task title

### Objective

What this task accomplishes.

### Tasks

- [ ] Subtask 1
- [ ] Subtask 2

### Acceptance criteria

- Criterion 1

Files follow the pattern ID-descriptive-title.md (e.g., a3f9x2-add-user-auth.md).

CLI commands

taskmd list                              # List all tasks
taskmd list --status pending --priority high  # Filter tasks
taskmd next                              # Find next available task
taskmd validate                          # Check for errors
taskmd graph --format ascii              # View dependency graph
taskmd board                             # Kanban board view
taskmd stats                             # Project statistics
taskmd set <id> --status in-progress     # Update task status
taskmd add "Task title"                  # Create a new task
taskmd verify <id>                       # Run acceptance checks

Sync GitHub issues locally

Use the local helper when you want task creation to open a GitHub issue and task completion to close it:

scripts/taskmd-issue-sync.py add "Task title" --group cli --template feature
scripts/taskmd-issue-sync.py set <id> --status completed
  • add: runs taskmd add, creates a GitHub issue, and writes the issue link plus the close-on-completion note into the task file
  • set ... --status completed (or --done): runs taskmd set and closes the linked GitHub issue
  • Requires gh auth login

Task workflow

Starting a task

  1. Run taskmd next or check dependencies with taskmd graph --format ascii
  2. Update status: taskmd set <id> --status in-progress
  3. Check off subtasks (- [x]) as you complete them

Completing a task

Solo workflow (default):

  1. Verify all acceptance criteria are met
  2. Run taskmd verify <id> if the task has verify checks
  3. Update status: taskmd set <id> --status completed
  4. Run taskmd validate to confirm no issues

PR-review workflow (when workflow: pr-review in .taskmd.yaml):

  1. Open a pull request with your changes
  2. taskmd set <id> --status in-review --add-pr <url>
  3. Stop -- the task completes when the PR is merged

Dependencies

  • A task with unmet dependencies should stay pending or blocked
  • Circular dependencies are invalid -- use taskmd validate to detect them

Phases

  • When introducing a new phase, add it to the phases list in .taskmd.yaml before assigning it to tasks

Worklogs

Worklogs are always available -- no config key is required. Entries are stored per task under a .worklogs/ directory alongside the task files. Record progress with:

taskmd worklog <id> --add "Started implementation. Approach: ..."
taskmd worklog <id>            # View worklog

Write entries when starting, making key decisions, hitting blockers, or finishing.

Validation

Run taskmd validate before committing to check for missing fields, invalid values, duplicate IDs, circular dependencies, and broken references.

Reference

  • Full specification: TASKMD_SPEC.md
  • CLI help: taskmd --help or taskmd <command> --help

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.