agentleFS
thales8461thales8461/mapa-skills/skills/mapa/SKILL.md

mapa

Skill1 starsChanged 22 days agoMITView on GitHub

Use when the user sends /mapa, asks to create a project map (roadmap HTML with topics, tasks, prompts and dependencies), to add an approved step-by-step plan to the map, to mark a map task as working or done, to pause or finish a topic, or to clean reviewed topics out of the map.

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. Distinctive:

    No map yet: go to Create.

    line 15
  2. Very specific:

    Ask: project name, language (pt or en), where to save, reviewer name for finished topics (default Codex), keep the example topic or start …

    line 18
  3. Very specific:

    Update atualizado on every change except fila.

    line 44
  4. Very specific:

    Only the DADOS block and atualizado change.

    line 56
  5. Very specific:

    Never mark feita before the merge is confirmed.

    line 58

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

/mapa: one HTML map for every plan in steps

The map is a single HTML file per project. Each topic (assunto) is one plan made of steps; each task (tarefa) is one pull request with a ready-to-copy prompt, the AI, the model, the effort and its dependencies. People open it in the browser; agents edit only its DADOS block. The skills fila and orquestrador read it.

Reply to the user in their language. The helper is node <this skill folder>/scripts/mapa.mjs (below: mapa.mjs). It never edits an existing map.

Find the map

mapa.mjs looks for --map <file>, then MAPA_FILE, then "map" in .claude/mapa.json (searched upwards from the current folder; relative to the project root). All config keys: references/config.md.

No map yet: go to Create.

Create

  1. Ask: project name, language (pt or en), where to save, reviewer name for finished topics (default Codex), keep the example topic or start empty.
  2. mapa.mjs init <file> --name <project> --lang <pt|en> [--reviewer <name>] [--empty].
  3. Offer to write .claude/mapa.json with {"map": "<path>"} so the other skills find it.

Add a topic (after the user approves a plan)

  1. Read references/schema.md.
  2. One task per PR. Ids unique in the whole map (a short prefix per topic: EX1, EX2). depende only on real dependencies, so independent tasks show "Can run in parallel".
  3. Each prompt is self-contained: task id and topic, branch name, what to read first, what to do, tests, how to finish. Put text repeated across prompts in a constant above DADOS and concatenate it.
  4. Pick modelo and esforco per task (small or mechanical: Haiku/Sonnet low; normal feature: Sonnet medium; design-heavy or risky: Opus). Fill gasto 1–10.
  5. Insert the topic into assuntos, update atualizado, run mapa.mjs validate.

Update state

Edit only the field you own, after re-reading the lines:

EventChange
Agent starts a tasktrabalhando: true
Non-Claude agent opens a PRpr: <number>
PR merged (confirmed MERGED)feita: true; remove trabalhando, pr, fila
Topic blocked by something externalpausa: '<reason>' on the topic
Last task of a topic mergedrevisao: [<review prompts>] on the topic (prompt-revisao skill)
Final review donerevisado: '<date>' on the topic
An /orquestrador session starts, changes a task status or endsits entry in orquestradores (the orquestrador skill owns it)
Something waits for the user's approval or answeritem in aprovacoes (the bell, sino skill); remove it when the user answers or its task is feita
A subject of a question page is answered/ler-artifact frees the tasks (aguarda) and swaps the bell item for a tipo: 'resposta' notice

Update atualizado on every change except fila.

Question pages

Questions for people go to a few fixed question pages (one per person or team), not to a new artifact each time. Make each page from assets/perguntas-template.html, publish it with the database capability and list it in DADOS.paginas ({ nome, url, descricao }); the map shows them in the collapsible "Question pages" section. How to create a page, its database and the priorities (baixa, media, alta, urgente): references/perguntas.md. Asking is the sino skill; reading the answers is /ler-artifact.

What can start now

mapa.mjs ready lists the tasks that can start now (not done, not working, no pr, fila or aguarda, topic not paused, every depende done) and, apart, those held back only by aguarda.

Clean

mapa.mjs summary lists topics with their group. Topics with revisado leave the map: show the list, confirm with the user, remove them. Record their history where the project keeps it (changelog, progress file), not in the map.

Rules

  • Only the DADOS block and atualizado change. The page layout changes only on the user's request.
  • Re-read right before each edit; other sessions write to the same file. Never rewrite the block from an old copy.
  • Never mark feita before the merge is confirmed.

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.