Skip to content
Agentmart
Submit a tool

codemap

Scan the project and generate token-lean architecture codemaps under docs/CODEMAPS/.

Skill by ichiorca

IndexedApache-2.0★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ichiorca-codemap

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Scan the project and generate token-lean architecture codemaps under docs/CODEMAPS/.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/codemap

What's inside

Skill name
codemap
Description
Scan the project and generate token-lean architecture codemaps under docs/CODEMAPS/.
License
Apache-2.0
Instructions
68 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • SKILL.md.lock

SKILL.md (first lines)

# Update codemaps

Generate (or refresh) a token-lean architecture map of THIS project so future
sessions can navigate it without re-scanning the whole tree. You are producing
the map — read the code, then write the summaries. Keep every file small and
optimized for an LLM to load cheaply.

## Step 1 — Scan the structure

1. Identify the project type (monorepo, single app, library, service).
2. Find the source roots (`src/`, `lib/`, `app/`, `internal/`, `packages/`).
3. Map the entry points (main.go, index.ts, app.py, cmd/*, etc.).

## Step 2 — Write the maps

Create or update these under `docs/CODEMAPS/` (fall back to
`.reports/codemaps/` if docs/ is not writable):

| File | Contents |
|------|----------|
| `architecture.md` | High-level component boundaries + data flow |
| `backend.md` | Routes/handlers → service → store call chains |
| `frontend.md` | Page/route tree, component hierarchy, state flow |
| `data.md` | Tables/models, relationships, migrations |
| `dependencies.md` | External services, third-party libs, shared modules |

Omit a file if the project has nothing for it (e.g. no frontend). Prefer
call-flow chains and file paths over code blocks:

```
# Backend

## Routes
POST /api/users -> UserController.create -> UserService.create -> UserRepo.insert
GET  /api/users/:id -> UserController.get -> UserService.findById -> UserRepo.findById

## Key files
src/services/user.ts   (business logic, ~120 lines)
src/repos/user.ts      (data access, ~80 lines)

## Dependencies
- PostgreSQL (primary store)
- Redis (session cache)
```

## Step 3 — Diff-aware updates

If a map already exists, estimate how much it changed. If the change is large
(more than ~30% of the content), show the diff and ask the operator before
overwriting. Otherwise update in place.

## Step 4 — Freshness header

Start each map with a freshness comment:

```
<!-- codemap | generated: 2026-06-04 | files scanned: 142 | ~800 tokens -->
```

## Rules

- Focus on high-level structure, NOT implementation detail.
- Prefer file paths + function signatures over full code.
- Keep each map under ~1000 tokens so loading it is cheap.
- Use ASCII arrows for flow instead of prose.
- Run this after major features or refactors.

From ichiorca/shipsignal, Apache-2.0.

More from ichiorca/shipsignal

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jun 7, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from ichiorca

Cite this page

codemap skill. Agent Mart. https://agentmart.dev/skills/ichiorca-codemap (last updated 2026-10-24)