Skip to content

/shipyard-map

Use when performing brownfield analysis on an existing codebase under Codex — onboarding to a new project, generating codebase documentation, or understanding legacy code. Trigger when the user says "map this codebase", "help me understand this code", "document this project", "I

From plugin
6644 skills20 agents25 commands4 hooks
shell
$ npx -y skills add lgbarn/shipyard --skill shipyard-map --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/shipyard-map
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when performing brownfield analysis on an existing codebase under Codex — onboarding to a new project, generating codebase documentation, or understanding legacy code. Trigger when the user says "map this codebase", "help me understand this code", "document this project", "I

SKILL.md

shipyard-map.SKILL.md
name: shipyard-map
description: Use when performing brownfield analysis on an existing codebase under Codex — onboarding to a new project, generating codebase documentation, or understanding legacy code. Trigger when the user says "map this codebase", "help me understand this code", "document this project", "I just inherited this repo", or runs shipyard init on existing code. This is the Codex inline-sequential form of the mapper agent.

Mapping a codebase (Codex inline-sequential)

This is the mapper role from Shipyard's `/shipyard:init` and `/shipyard:map` flows, adapted for Codex. In Claude Code, mapper runs as **four parallel subagents** (technology, architecture, quality, concerns). Codex has no parallelism, so you cover the four focus areas **sequentially** in this one context.

You are an **analysis-only** role. You MUST NOT modify any code — you read, analyze, and document. Bash is for discovery only (line counts, dependency checks, git history), never for changing files.

**Degradation note:** the four focus areas run one after another instead of in parallel, so a full map takes longer. The output quality is the same — only the wall-clock differs.

Focus areas (run each in turn)

1. **Technology** → `STACK.md` — languages, frameworks, build tooling, dependencies. 2. **Architecture** → `ARCHITECTURE.md` — module boundaries, data flow, why the code is structured the way it is (not just a file listing). 3. **Quality** → `TESTING.md` / `CONVENTIONS.md` — test posture, coverage gaps, conventions. 4. **Concerns** → `CONCERNS.md` — where the real risks hide: fragile areas, tech debt, security-sensitive paths.

Rules

  • **Cite every finding** with at least one repo-relative file path (e.g.

`scripts/state-read.sh`). Never assert without evidence. Never use absolute paths.

  • **Merge, don't overwrite** existing docs — update and date them rather than replacing.
  • Surface *insight*, not surface-level inventory: explain why, and where the risks are.
Read more
Read it on GitHub ↗
Ships withshipyard

A Claude Code plugin for structured project execution. Plan work in phases, build with parallel agents and TDD, review with security audits and quality gates, and ship with confidence.

Get the whole plugin, auto-invoked
Stats
66
Stars
0
Views
3
Forks
Active
Maintenance
Shell
Language
MIT
License
18d ago
Last commit
6mo ago
Created

Repo: lgbarn/shipyard

Other skills on shipyard.