agentleFS
merllinsbeardmerllinsbeard/merlin-skills/AGENTS.md

merlin-skills

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

This repository is a skill-first, /goal-first operating system for autonomous web coding. Treat it as a curated workflow layer, not as a grab bag of prompts. For any non-trivial task, load skills/merlin-skills-routing/SKILL.md before selecting implementation skills or creating a Codex /goal. The router must start with a short Spec Kit consultation: inspect .specify/, active specs/<feature>/ artifacts, GOAL.md, task progress, and existing proof before choosing the next skill. The default sequence is: In this sequence, tdd is the implementation discipline for…

The file

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

9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the smallest skill chain that covers the work.

    line 19
  2. Distinctive:

    When a feature uses spec-kit, the active feature directory is the source of truth:

    line 23
  3. Very specific:

    Before starting Codex /goal:

    line 39
  4. Very specific:

    Run create-goal to write specs/<feature>/GOAL.md.

    line 43
  5. Very specific:

    Start /goal from that GOAL.md.

    line 44
  6. Distinctive:

    Do not start long autonomous work from a loose chat summary when a spec directory exists.

    line 46
  7. Distinctive:

    Before closing changes to this repo, run:

    line 78
  8. Distinctive:

    If installer behavior changes, also run it against a temporary skill root:

    line 84
  9. Distinctive:

    Do not claim the package is ready until validation passes.

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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

Merlin Skills Agent Guide

This repository is a skill-first, /goal-first operating system for autonomous web coding. Treat it as a curated workflow layer, not as a grab bag of prompts.

Prime Directive

For any non-trivial task, load skills/merlin-skills-routing/SKILL.md before selecting implementation skills or creating a Codex /goal.

The router must start with a short Spec Kit consultation: inspect .specify/, active specs/<feature>/ artifacts, GOAL.md, task progress, and existing proof before choosing the next skill.

The default sequence is:

route -> Spec Kit consultation -> brainstorming when useful -> speckit-* artifacts -> create-goal -> /goal -> tdd -> gstack-qa -> browser proof -> gstack-ship

In this sequence, tdd is the implementation discipline for executing tasks.md slices after GOAL.md exists. It is not a replacement for speckit-tasks and it is not a bulk "write all tests first" phase.

Use the smallest skill chain that covers the work. Do not load every skill by default.

Source Of Truth

When a feature uses spec-kit, the active feature directory is the source of truth:

specs/<feature>/
  spec.md
  plan.md
  tasks.md
  GOAL.md

Optional source files may include research.md, data-model.md, contracts/, quickstart.md, and checklists/.

Generated goal files must reference the exact spec-kit artifacts they are based on.

Mandatory /goal Entry

Before starting Codex /goal:

  1. Run merlin-skills-routing.
  2. Confirm the feature has usable spec-kit artifacts.
  3. Run create-goal to write specs/<feature>/GOAL.md.
  4. Start /goal from that GOAL.md.

Do not start long autonomous work from a loose chat summary when a spec directory exists.

Routing Table

NeedPreferred skill route
Install or refresh Merlin Skills globally or for a projectinstall-merlin-skills
Install, verify, initialize, or manage GitHub Spec Kit CLI/integrationspeckit-cli
Product idea, early concept, or "is this worth building?"brainstorming then speckit-*
Ambiguous creative featurebrainstorming
Convert conversation to PRDto-prd
Stress-test assumptions against docsgrill-with-docs
Understand a broad areazoom-out
Create or refresh Spec Kit artifactsspeckit-constitution, speckit-specify, speckit-clarify, speckit-plan, speckit-tasks, then speckit-analyze/speckit-checklist when useful
Build or fix with tests after tasks.md/GOAL.md exist, or for a small non-Spec-Kit fix with a clear behavior targettdd
Debug hard bug or regressiondiagnose
Create durable Codex goalcreate-goal
QA and fix web appgstack-qa
Browser proof or generated Playwright testsplaywright-cli
Custom Playwright automationplaywright-skill
Ship PR/releasegstack-ship

Upstream Boundaries

Copied upstream skill sources should stay verbatim unless this repo explicitly owns the adaptation.

The intentionally adapted upstream ideas are create-goal, gstack-qa, and gstack-ship. Everything else should stay close to the selected upstream source or be excluded.

The full spec-kit repository is archived under vendor-snapshots/archives/ instead of extracted into the runtime skill tree. Only official generated Codex speckit-* skills are promoted into skills/; do not extract the whole upstream repository into the live tree.

Verification

Before closing changes to this repo, run:

npm test

If installer behavior changes, also run it against a temporary skill root:

SKILL_ROOT=/tmp/merlin-skills-root bash scripts/install-local.sh
find /tmp/merlin-skills-root -maxdepth 2 -name SKILL.md | sort

Gstack-derived install names must stay prefixed in the skill root. This package keeps only gstack-qa and gstack-ship; do not reintroduce the full gstack runtime surface.

Do not claim the package is ready until validation passes.

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.