agentleFS
gleicongleicon/devskills/skills/ds-project-map/SKILL.md

ds-project-map

Skill17 starsChanged 3 months agoMITView on GitHub

Map the current repository into `.project/map.md`.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 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.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When invoked, read the actual codebase and write .project/map.md — the structural description a session reads to find its way around.

    line 7
  2. Very specific:

    Create .project/ if it does not exist.

    line 11
  3. Very specific:

    Write .project/map.md with three sections:

    line 13
  4. Distinctive:

    Regenerate the whole file every time: Never diff it, never preserve part of it, never ask what to keep.

    line 20
  5. Very specific:

    Keep it short. This is a map, not documentation.

    line 23

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

When invoked, read the actual codebase and write .project/map.md — the structural description a session reads to find its way around. Describe what exists; invent no direction and make no technical decisions.

Process

  1. Create .project/ if it does not exist.
  2. Establish facts efficiently — locate before reading. Lean on cheap signals first: the file tree, manifests (package.json, go.mod), entry points. Search to find the major pieces and read scoped regions, not whole files. The map is identifiers and one-liners, not a digest of every file.
  3. Write .project/map.md with three sections:
    • Overview — one paragraph: what the project is and who it's for.
    • Stack — languages, runtime, key dependencies, build/test commands.
    • Repo map — a short table of the top-level directories and what each holds.

Rules

  • Regenerate the whole file every time. Never diff it, never preserve part of it, never ask what to keep. Rewriting wholesale is what keeps this skill free of maintenance — and it is only safe because of the next rule.
  • Nothing belongs here that you could not re-derive from the source. A constraint, a project rule, a hard-won gotcha — anything invisible to the code — goes in .project/state.md under # settled or # hazards, which /ds-project-checkpoint writes. Put it here and the next run silently deletes it.
  • Facts only, derived from the code. Reference real files and dirs by path.
  • Keep it short. This is a map, not documentation. No current state and no tasks — those live in state.md.

Output

The path, and one line on what changed.

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.