agentleFS
GeoloeG-IsTGeoloeG-IsT/agents-reverse-engineer/.claude/skills/are-specify/SKILL.md

are-specify

Skill21 starsChanged 10 months agoMITView on GitHub

Generate project specification from AGENTS.md docs (experimental)

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    Run the specify command in the background and monitor progress in real time.

    line 10
  2. Very specific:

    Read version: Read .claude/ARE-VERSION → store as $VERSION.

    line 14
  3. Very specific:

    Wait ~15 seconds (use sleep 15 in Bash), then use Glob to find the latest .agents-reverse-engineer/progress-*.log file, and Read it (use …

    line 22
  4. Very specific:

    Check whether the background task has completed using TaskOutput with block: false

    line 24
  5. Distinctive:

    Important: Keep polling even if no progress log exists yet (the command takes a few seconds to start writing)

    line 26
  6. Very specific:

    If no AGENTS.md files exist, it will auto-run generate first.

    line 34

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Generate a project specification from existing AGENTS.md documentation.

<execution> Run the specify command in the background and monitor progress in real time.

Steps

  1. Read version: Read .claude/ARE-VERSION → store as $VERSION. Show the user: agents-reverse-engineer v$VERSION
  2. Run the specify command in the background using run_in_background: true:
    npx agents-reverse-engineer@$VERSION specify --backend claude $ARGUMENTS
  3. Monitor progress by polling the latest progress log:
    • Wait ~15 seconds (use sleep 15 in Bash), then use Glob to find the latest .agents-reverse-engineer/progress-*.log file, and Read it (use the offset parameter to read only the last ~20 lines for long files)
    • Show the user a brief progress update
    • Check whether the background task has completed using TaskOutput with block: false
    • Repeat until the background task finishes
    • Important: Keep polling even if no progress log exists yet (the command takes a few seconds to start writing)
  4. On completion, read the full background task output and summarize:
    • Number of AGENTS.md files collected
    • Output file(s) written

This collects all AGENTS.md files, synthesizes them via AI, and writes a comprehensive project specification.

If no AGENTS.md files exist, it will auto-run generate first.

Options:

  • --dry-run: Show input statistics without making AI calls
  • --output <path>: Custom output path (default: specs/SPEC.md)
  • --multi-file: Split specification into multiple files
  • --force: Overwrite existing specification
  • --debug: Show AI prompts and backend details
  • --trace: Enable concurrency tracing to .agents-reverse-engineer/traces/</execution>

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.