Skip to content
Skills Library
Programming · Research

map-method

/map-method

Static mapping and standalone navigation of existing map evidence. TRIGGER WHEN: project questions, unfamiliar code, debugging, feature work, refactors, reviews or documentation. Consult map evidence before broad exploration. Loading the skill starts no analysis or refresh. Verify claims against source; search the repository without usable maps. DO NOT TRIGGER WHEN: no project code or documentation.

Licence
MIT
Last repository change
27.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
77
Scripts
46
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 46 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/analyze_file.py, scripts/ast_parser.py, scripts/card_store.py, scripts/cascade_scan.py, scripts/classifier.py, scripts/comment_rewriter.py, scripts/context_packet.py, scripts/dependency_graph.py, scripts/doc_review.py, scripts/edge_view.py, scripts/embedding_worker.py, scripts/json_snapshot.py, scripts/languages/__init__.py, scripts/languages/_treesitter.py, scripts/languages/base.py, scri

What it does and when to use it

Static mapping and standalone navigation of existing map evidence. TRIGGER WHEN: project questions, unfamiliar code, debugging, feature work, refactors, reviews or documentation. Consult map evidence before broad exploration. Loading the skill starts no analysis or refresh. Verify claims against source; search the repository without usable maps. DO NOT TRIGGER WHEN: no project code or documentation.

Original author description

Static mapping and standalone navigation of existing map evidence. TRIGGER WHEN: project questions, unfamiliar code, debugging, feature work, refactors, reviews or documentation. Consult map evidence before broad exploration. Loading the skill starts no analysis or refresh. Verify claims against source; search the repository without usable maps. DO NOT TRIGGER WHEN: no project code or documentation.

How it works

  1. Language Support
  2. How This Skill Is Invoked
  3. Load map
  4. Consumer map
  5. Team bindings
  6. Method loads
  7. Resources
Original SKILL.md headings · 86 lines, 796 words
SKILL.md preview
---
name: map-method
description: >
  Static mapping and standalone navigation of existing map evidence.
  TRIGGER WHEN: project questions, unfamiliar code, debugging, feature work, refactors, reviews or documentation. Consult map evidence before broad exploration. Loading the skill starts no analysis or refresh. Verify claims against source; search the repository without usable maps.
  DO NOT TRIGGER WHEN: no project code or documentation.
---

# Codebase Map Analysis Skill

## Language Support

| Language | Extensions | Structural extraction | Comment syntax |
|---|---|---|---|
| Python | `.py`, `.pyi` | stdlib `ast` (always available) | `#` line + docstrings |
| Java | `.java` | tree-sitter (preferred) or regex | `//`, `/* */`, Javadoc `/** */` |
| JavaScript | `.js`, `.mjs`, `.cjs`, `.jsx` | tree-sitter (preferred) or regex | `//`, `/* */`, JSDoc `/** */` |
| TypeScript | `.ts`, `.tsx`, `.mts`, `.cts` | tree-sitter (preferred) or regex; adds interfaces, enums, type aliases | `//`, `/* */`, JSDoc `/** */` |
| SQL | `.sql`, `.ddl`, `.dml` | regex DDL (tables, views, indexes, sequences, types, functions, procedures, triggers) | `--`, `/* */` |
| PL/SQL (Oracle) | `.pks`, `.pkb`, `.plsql`, `.pls`, `.pck`, `.prc`, `.fnc`, `.trg` | regex (packages, package bodies, type bodies, cursors, exceptions, %TYPE/%ROWTYPE references) | `--`, `/* */` |
| Rust | `.rs` | tree-sitter (preferred) or regex; structs, enums, traits, impls (with `Trait for Type` naming), mods, unions, type aliases | `//`, `/* */`, rustdoc `///` / `//!` / `/** */` / `/*! */` |
| Go | `.go` | tree-sitter (preferred) or regex; functions, methods, types | `//`, `/* */` |
| CSS, SCSS, LESS | `.css`, `.scss`, `.less` | stdlib tokenizer, never tree-sitter; one symbol per applied rule (flattened selector within enclosing at-rules); top-level at-rules, Sass/LESS variables, mixins, Sass functions; `@import`/`@use`/`@forward`; Tailwind `@apply` layout utilities expanded as declarations | `/* */`, and `//` outside plain CSS |

`.sql` is disambiguated against PL/SQL by Oracle-specific content markers (`languages/__init__.py`); `plpgsql` stays SQL.

## How This Skill Is Invoked

`references/entry-analyze.md` dispatches isolated `codebase-map:map-analyst`;
`references/entry-team-analyze.md` uses isolated partition workers. Entries own
`.codebase-map/` publication (`references/run.md`).
Loading `codebase-map:map-method` starts no analysis or run.

## Load map

| Unit | Holds | Loaded by |
|---|---|---|
| `references/migration.md` | legacy root migration and bound-path resolution | legacy archives, redirects, bindings or blocked preflight |
| `references/run.md` | classic/team runs, concurrency and perimeter | whoever owns the run |
| `references/snapshot.md` | snapshot ownership, scope, write, diff, carry and check commands | whoever owns the run's snapshot |
| `references/update.md` | incremental re-derivation | analyst on accepted updates |
| `references/deepen.md` | cards an area lacks | area deepening; analyst in `cards` mode |
| `references/evidence.md` | evidence, forbidden files, commands, source reading, classification; maintained-document verification separately | every phase worker and every consumer that reads source |
| `references/reading.md` | analysis reading | every consumer of a bound analysis |
| `references/standalone.md` | shared read-only map discovery, navigation, impact and fallback | every map consumer, including analysis and composed workflows |
| `references/phase-0.md` | Phase 0 knowledge discovery | analyst and team entry |
| `references/phases-1-2.md` | Phase 1 structure, Phase 2 interfaces | phase 1 and 2 workers |
| `references/phases-3-4.md` | Phase 3 flows, Phase 4 semantics and the analysis loop | phase 3 and 4 workers |
| `references/phases-5-6.md` | Phase 5 patterns and risks, Phase 6 documentation health | phase 5 and 6 workers |
| `references/phase-7.md` | Phase 7 final report | analyst and synthesizer |

## Consumer map

- Every map consumer, including analyze and composed workflows: `references/standalone.md` and `references/reading.md` section `Task views`. Ordinary standalone source reads add `references/evidence.md` sections `CRITICAL PRINCIPLE: EVIDENCE-ANCHORED OUTPUT` and `Forbidden Files`; composed consumers keep their own authorized evidence and producer procedures.
- Forbidden files: `references/evidence.md`.
- Consuming a bound analysis: `references/reading.md`, plus `references/evidence.md` before Maintained documentation for source. For durable-document verification, read its Maintained documentation section. Snapshot verification/refresh uses `references/snapshot.md` before Prerequisites.
- Run analyses through `references/entry-analyze.md`; composed callers declare isolated `codebase-map/map-analyst`.

## Team bindings

Use canonical skeletons in owned output. Put partition identity below titles, never in headings. Workers and synthesizers do not update classic state.

## Method loads

Conditional reads: methodology, patterns, comments; migration for legacy roots, redirects, bindings or blocked preflight. Follow nested loads; count their union with core reads.

| Resource | Sections | When |
|---|---|---|
| `references/AI_ANALYSIS_METHODOLOGY.md` | all | methodology |
| `references/SEMANTIC_PATTERNS.md` | all | patterns |
| `references/ANTIREZ_COMMENTING_STANDARDS.md` | all | comments |
| `references/migration.md` | all | migration |

## Resources

Python >= 3.10 scripts: `${CLAUDE_PLUGIN_ROOT}/skills/map-method/scripts/`.
Language Support above applies throughout.

- `ast_parser.py`: structural extraction dispatcher.
- `analyze_file.py`: classification/structure/usages; workflows reuse `--snapshot`.
- `classifier.py`: language-aware criticality.
- `usage_finder.py`: cross-file symbol usages.
- `comment_rewriter.py`: multi-language comment analysis.
- `rewrite_comments.py`: comment quality CLI: scan/analyze/rewrite/report.
- `doc_review.py`: documentation maintenance (Phase 6).
- `migrate_root.py`: project-bound legacy migration; historical-path resolution.
- `snapshot.py`: scope, SQLite snapshots (explicit JSON), run resolution, incremental changes.
- `source_reader.py`: manifest graphs, outlines and validated source blocks.
- `tree_scope.py`: shared Git, dot-directory and dependency/build perimeter.
- `cascade_scan.py`: global stylesheet layout risks, cascade overrides and screen rules (Phase 5).
- `languages/`: per-language adapters listed above.
- `requirements.txt`: optional tree-sitter and tree-sitter-language-pack dependencies.
Files in this package (77)
  • SKILL.md 6 KB
  • SKILL.toml 1 KB
  • references/AI_ANALYSIS_METHODOLOGY.md 14 KB
  • references/ANTIREZ_COMMENTING_STANDARDS.md 14 KB
  • references/SEMANTIC_PATTERNS.md 13 KB
  • references/context.md 9 KB
  • references/deepen.md 2 KB
  • references/embeddings.md 6 KB
  • references/entry-analyze.md 10 KB
  • references/entry-team-analyze.md 33 KB
  • references/evidence.md 18 KB
  • references/human-view.md 2 KB
  • references/mcp.md 16 KB
  • references/migration.md 2 KB
  • references/phase-0.md 3 KB
  • references/phase-7.md 6 KB
  • references/phases-1-2.md 6 KB
  • references/phases-3-4.md 9 KB
  • references/phases-5-6.md 9 KB
  • references/reading.md 1 KB
  • references/role-partition-behavior-worker.md 4 KB
  • references/role-partition-quality-worker.md 5 KB
  • references/role-partition-structure-worker.md 5 KB
  • references/role-partition-synthesizer.md 5 KB
  • references/role-semantic-interconnect-mapper.md 18 KB
  • references/run.md 6 KB
  • references/scope.md 8 KB
  • references/snapshot.md 7 KB
  • references/standalone.md 2 KB
  • references/update.md 4 KB
  • scripts/analyze_file.py 21 KB
  • scripts/ast_parser.py 3 KB
  • scripts/card_store.py 7 KB
  • scripts/cascade_scan.py 42 KB
  • scripts/classifier.py 15 KB
  • scripts/comment_rewriter.py 36 KB
  • scripts/context_packet.py 35 KB
  • scripts/dependency_graph.py 9 KB
  • scripts/doc_review.py 46 KB
  • scripts/edge_view.py 14 KB
  • scripts/embedding_worker.py 28 KB
  • scripts/json_snapshot.py 7 KB
  • scripts/map_slice.py 5 KB
  • scripts/mcp_server.py 11 KB
  • scripts/mcp_service.py 37 KB
  • scripts/migrate_root.py 18 KB
  • scripts/requirements.txt 2 KB
  • scripts/resolution.py 13 KB
  • scripts/resolve_edges.py 43 KB
  • scripts/retrieval.py 17 KB
  • scripts/rewrite_comments.py 24 KB
  • scripts/scope_planner.py 36 KB
  • scripts/semantic_index.py 19 KB
  • scripts/semantic_map.py 19 KB
  • scripts/semantic_store.py 107 KB
  • scripts/snapshot.py 161 KB
  • scripts/snapshot_store.py 31 KB
  • scripts/source_reader.py 32 KB
  • scripts/store_consumers.py 19 KB
  • scripts/store_graph.py 16 KB
  • scripts/store_graph_metrics.py 6 KB
  • scripts/tree_scope.py 9 KB
  • scripts/usage_finder.py 31 KB
  • scripts/languages/__init__.py 6 KB
  • scripts/languages/_treesitter.py 20 KB
  • scripts/languages/base.py 11 KB
  • scripts/languages/comments.py 15 KB
  • scripts/languages/go.py 16 KB
  • scripts/languages/java.py 21 KB
  • scripts/languages/javascript.py 32 KB
  • scripts/languages/plsql.py 7 KB
  • scripts/languages/python.py 29 KB
  • scripts/languages/rust.py 24 KB
  • scripts/languages/semantic.py 62 KB
  • scripts/languages/sql.py 13 KB
  • scripts/languages/stylesheet.py 41 KB
  • scripts/languages/typescript.py 5 KB

Versions

RepositoryScoreLicence
This page · acaprino/alfio-claude-plugins90MIT
acaprino/daodan100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/daodan100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/daodan100MIT
acaprino/alfio-claude-plugins100MIT
acaprino/daodan100MIT
acaprino/alfio-claude-plugins100MIT

Database snapshot: 13.11.2026 · package version 3df595d15fc3 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100map
    Static mapping and standalone navigation of existing map evidence. TRIGGER WHEN: project questions, unfamiliar code, debugging, feature work, refactors, reviews or documentation. Consult map evidence before broad exploration. Loading the skill starts no analysis or refresh.…
  • 100readme-reference
    Use when making code, workflow, testing, deployment, or documentation changes in this repository and you need targeted project-specific facts from README files before editing. Read only the relevant section, verify it against code, and repair stale documentation when the task includes documentation.
  • 100codebase-navigation
    Use when you need to locate code in this repository - unfamiliar areas, a feature described without a file path, or checking who uses something. Gives the three-layer order (generated code map, then rg, then the ts-code-map cli as fallback), says exactly when rg is not enough,…
  • 90debugging-workflows
    Find and fix bugs in an existing software project. Use to investigate unexpected behavior, map unfamiliar code, explain a fix, and hand off concise findings or durable project knowledge.
  • 100code-mapping
    Creates and navigates hierarchical code maps (L0/L1/L2/L3) for AI agent and human orientation. Use when bootstrapping codebase understanding, creating navigation documentation, exploring architecture, or validating map integrity.
  • 95project-bootstrap
    Draft missing ADR and FRD from verified project evidence without turning legacy behavior or stale documentation into approved requirements. TRIGGER WHEN: a project has no ADR or FRD, existing project knowledge must be bootstrapped from code, documentation or Codebase Map, or…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.