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.
In this repository8 other files it gives its agents.
- filaSkill
- ler-artifactSkill
- orquestradorSkill
- planejamentoSkill
- posSkill
- prompt-revisaoSkill
- revisaoSkill
- sinoSkill
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
- Distinctive: line 15
No map yet: go to Create.
- Very specific: line 18
Ask: project name, language (pt or en), where to save, reviewer name for finished topics (default Codex), keep the example topic or start …
- Very specific: line 44
Update atualizado on every change except fila.
- Very specific: line 56
Only the DADOS block and atualizado change.
- Very specific: line 58
Never mark feita before the merge is confirmed.
≈ “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.
Files
/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
- Ask: project name, language (
ptoren), where to save, reviewer name for finished topics (defaultCodex), keep the example topic or start empty. mapa.mjs init <file> --name <project> --lang <pt|en> [--reviewer <name>] [--empty].- Offer to write
.claude/mapa.jsonwith{"map": "<path>"}so the other skills find it.
Add a topic (after the user approves a plan)
- Read
references/schema.md. - One task per PR. Ids unique in the whole map (a short prefix per topic:
EX1,EX2).dependeonly on real dependencies, so independent tasks show "Can run in parallel". - 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
DADOSand concatenate it. - Pick
modeloandesforcoper task (small or mechanical: Haiku/Sonnet low; normal feature: Sonnet medium; design-heavy or risky: Opus). Fillgasto1–10. - Insert the topic into
assuntos, updateatualizado, runmapa.mjs validate.
Update state
Edit only the field you own, after re-reading the lines:
| Event | Change |
| Agent starts a task | trabalhando: true |
| Non-Claude agent opens a PR | pr: <number> |
PR merged (confirmed MERGED) | feita: true; remove trabalhando, pr, fila |
| Topic blocked by something external | pausa: '<reason>' on the topic |
| Last task of a topic merged | revisao: [<review prompts>] on the topic (prompt-revisao skill) |
| Final review done | revisado: '<date>' on the topic |
An /orquestrador session starts, changes a task status or ends | its entry in orquestradores (the orquestrador skill owns it) |
| Something waits for the user's approval or answer | item 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
DADOSblock andatualizadochange. 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
feitabefore the merge is confirmed.
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
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.

