Command Palette

Search for a command to run...

Назад к скиллам
скилл № 90097

Map Landscape

C4 System Landscape and application-portfolio table of a repo and referenced systems, reporting drift against a committed record. Use for 'what systems do we…

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Map Landscape в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Map landscape

Repository context

The current repository is both the consumer, whose convention home declares where artifacts land, and the default subject, the repository whose tracked files name the rest of the landscape.

Collect with an individual Bash call, one command per call: the project root, git rev-parse --show-toplevel. Treat a failure (not a repository, git unavailable) as an unknown value and carry on; ${CLAUDE_PROJECT_DIR} is the resolver's --root either way.

Purpose

Answer "what systems does this organization have, who owns them, what do they run on, and how do they relate" from what a repository already says about its neighbors. Every fact traces to a named file; every edge traces to a matched string in a tracked file; both are collected by scripts, never derived by hand. The committed record makes the answer re-runnable, so the second run reports what moved instead of quietly replacing the first.

Resolve home and dialect

Read ${CLAUDE_PLUGIN_ROOT}/reference/config.md first; it owns the keys, the topic-doc location, and the resolution order. This skill reports against that contract rather than restating it.

Run bash "${CLAUDE_PLUGIN_ROOT}/lib/resolve-convention-home.sh" --root "${CLAUDE_PROJECT_DIR}" and resolve architecture_dir and landscape_dialect per ${CLAUDE_PLUGIN_ROOT}/reference/config.md "Where the config lives" and "Resolution order, per key"; never parse the root instruction file yourself.

This skill never writes the consumer's root instruction file or its topic doc. /architecture:setup apply owns both.

Choose the subject repositories

  1. No scope argument: the current repository, plus every repository its tracked files reference, one hop out. This is the default and the primary use. Facts are collected from the current checkout; the referenced repositories are nodes with edges and no probed facts unless they are also checked out locally or --remote is passed.
  2. --repos <path>[,<path>...]: exactly those repositories. Facts come from every path; edges come from the first path only (the --edges-from default). No discovery runs at all.
  3. --root <dir> (repeatable): discovery, delegated to the repo-fleet-hygiene plugin when it is enabled and an announced bundled walk when it is not. Read scope-modes.md before running this mode; the collaborator's plan is wider than the roots you asked for, and charting it unfiltered grows the landscape to the operator's whole configured fleet.

The session's working directory is never walked for nested repositories under any mode. Reading the current repository as the default subject is not a walk: it is one path, resolved from git rev-parse --show-toplevel.

Build the record

One call assembles both collectors into the committed record:

"${CLAUDE_SKILL_DIR}/scripts/landscape-record.sh" \
  --source "<how the subject set was chosen>" --remote "<not used | used, owned only | used, all>" \
  --edges-from <subject-repo> <repo-path>...

Keep the ${CLAUDE_SKILL_DIR} anchor; ${CLAUDE_PLUGIN_ROOT}/reference/config.md § Script paths says why.

--source and --remote are recorded verbatim, so a later reader can tell an explicit list from a fleet plan, and a local-only run from one that fetched. --edges-from is the repository whose tracked files supply the edges: the current repository under the default and --root modes, the first path under --repos unless the operator names another.

The record carries repositories[] from portfolio-facts.sh (name, remote, owner, runtime, tooling, target_framework, dependencies[], dev_dependencies[], last_touched, evidence{}) and edges[] from reference-edges.sh (from, to as owner/repo, type, relation, count, files[]).

It also records subject_owner, the organization the graph was drawn from, resolved by the edge extractor so the nodes and the edges cannot disagree about it. That is what makes a checkout internal: having a repository on disk says where someone works, not who owns the system, so a cross-owner checkout is the same external system the edges to it already call external.

Anything no probe could derive is the literal unknown. Carry it through to the artifacts as-is; never replace it with a guess, and never fill it from a commit author, a directory name, or ecosystem memory.

runtime and dependencies are runtime scope, what the repository runs on. tooling and dev_dependencies are development scope, what it is built with: npm devDependencies, PEP 735 dependency groups, a requirements-ci.txt, anything under a dot-directory. Report them as separate facts; a linter is not a runtime.

Edge relation is internal when the target owner matches the subject's own and external otherwise. An external repository is referen

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • reference/scope-modes.md
  • scripts/landscape-record.sh
  • scripts/landscape-record.test.sh
  • scripts/portfolio-facts.sh
  • scripts/portfolio-facts.test.sh
  • scripts/reference-edges.sh
  • scripts/reference-edges.test.sh
  • scripts/render-landscape.sh
  • scripts/render-landscape.test.sh

FAQ

Что делает скилл Map Landscape?

C4 System Landscape and application-portfolio table of a repo and referenced systems, reporting drift against a committed record. Use for 'what systems do we have', 'who owns which repo', 'inventory our systems', repo dependencies, or runtimes. Not for single-codebase modules: /architecture:improve.

Как установить скилл Map Landscape?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Map Landscape запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Map Landscape с