Skip to main
maudeMDCC/00
Flow commands

/flow:setup-codebase-map

Snapshot the project's architecture into a persistent codebase map for cross-session reuse

PropertyValue
Command/flow:setup-codebase-map
Categorysetup
Argument hint(none)
Sourceplugins/flow/commands/setup-codebase-map.md

Description

Snapshot the project's architecture into a persistent codebase map for cross-session reuse

Invocation

snippet
/flow:setup-codebase-map

Summary

Produce a structured snapshot of the project's architecture, stack, conventions, and key files. The output is written to .ai/context/codebase-map.md so that other commands (plan-feature, execute, verify-work) can read it instead of re-discovering the repo from scratch every session.

Source of truth

This page is auto-generated from the command's frontmatter. The exact prompt Claude runs — including directives, edge-case handling, and tool-routing logic — lives in the source file:

plugins/flow/commands/setup-codebase-map.md → read it for the full behavior.

On this page