agentleFS
amirrezaalastiamirrezaalasti/codescribe/AGENTS.md

codescribe

AGENTS.md2 starsChanged 4 months agoMITView on GitHub

Read this before editing anything in this repository. Follow CONTRIBUTING.md: Use the create-skill / revise-skill skills under skills/meta/ for the scaffolding and revision workflow itself. Every incomplete path, risk, workaround, or follow-up in scripts/*.mjs or any other code touched in this repo gets a tagged comment — this is the tagged-code-comments skill (skills/coding/tagged-code-comments/SKILL.md), and it applies to work on Codescribe's own codebase too, not just to skills it teaches to others. Format: <comment-syntax> <emoji> <TAG[(priority)]>: <message> Full tag vocabulary, anti-patterns,…

The file

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

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Read this before editing anything in this repository.

    line 3
  2. Very specific:

    Keep SKILL.md under ~500 lines.

    line 24
  3. Very specific:

    Use the create-skill / revise-skill skills under skills/meta/ for the scaffolding and revision workflow itself.

    line 27

≈ “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 instructions — Codescribe

Read this before editing anything in this repository.

What's source and what's generated

  • Source of truth: skills/<category>/<name>/SKILL.md (+ references/, assets/). Edit only here.
  • Generated, do not hand-edit: CATALOG.md (npm run catalog regenerates it), skills-lock.json.
  • Never commit: .agents/skills/ and .claude/skills/. These are local install targets created by npx skills add ./ -a <agent> for testing — full copies (or symlinks) of skills/, not source. They are gitignored; if git status shows them as untracked-but-present, that's expected, leave them alone. If a diff ever proposes adding files under those paths, drop them from the commit instead of staging them.

Before treating a change as done

npm run check   # validate + regenerate CATALOG.md
git status      # confirm nothing under .agents/skills/ or .claude/skills/ is staged

Authoring or revising a skill

Follow CONTRIBUTING.md:

  • name matches the folder name ([a-z0-9-]+).
  • description is third person, states WHAT and WHEN, under 1024 chars.
  • Keep SKILL.md under ~500 lines; push checklists/long examples to references/.
  • One skill (or a tightly related set) per PR.

Use the create-skill / revise-skill skills under skills/meta/ for the scaffolding and revision workflow itself.

Comment convention (mandatory for all code in this repo)

Every incomplete path, risk, workaround, or follow-up in scripts/*.mjs or any other code touched in this repo gets a tagged comment — this is the tagged-code-comments skill (skills/coding/tagged-code-comments/SKILL.md), and it applies to work on Codescribe's own codebase too, not just to skills it teaches to others.

Format: <comment-syntax> <emoji> <TAG[(priority)]>: <message>

PriorityEmojiMeaning
P0🔴Blocker — fix or explicitly accept before merge
P1🟠High — fix soon
P2🟡Medium — plan it
P3🟢Low — nice to have
(none)🔵Informational (NOTE / WHY)
// 🟠 TODO(P1): generate-catalog.mjs doesn't sort categories deterministically yet
// 🔵 NOTE: walkSkillDirs stops descending once it finds a SKILL.md

Full tag vocabulary, anti-patterns, and the required Open follow-ups wrap-up table: see skills/coding/tagged-code-comments/SKILL.md. Do not invent free-form TODO/FIXME — always emoji + TAG(Pn): message.

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.