visualize-repo
What it does
This skill sets up a local visual documentation layer for a code repository. It turns parts of the code, such as APIs, components and data models, into visual docs that live in source control. It is for teams that want durable visual docs for their code.
When to use it
- ✓When you want visual docs for the APIs, components or data models in a repository.
- ✓When a team wants to comment on repository docs before a coding agent makes changes.
- ✓When you want a visual repo viewer that keeps its files under version control.
Skill link
https://github.com/BuilderIO/agent-native/blob/main/.agents/plugins/agent-native-visual-plans/skills/visualize-repo/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you set up a visual docs view of my repository so my team can browse the main APIs and components?”
5 new skills a week. 1 minute to read.
How it works
The agent runs a command in the repository that creates a starter set of visual doc files and opens them in a local viewer. The source files stay in the project.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Visualize Repo
/visualize-repo opens a local, source-controlled visual documentation layer
for a repository. It is for durable repo understanding, not a one-off plan:
components can have wireframes, APIs can have specs, models can have schema
views, and reviewers can comment on those docs before sending work to a coding
agent.
Default Command
Run the Agent-Native CLI from the repo root:
npx @agent-native/core@latest visualize-repo --open
Useful variants:
npx @agent-native/core@latest visualize-repo init
npx @agent-native/core@latest visualize-repo --target actions --target server/db/schema.ts
npx @agent-native/core@latest visualize-repo check
npx @agent-native/core@latest visualize-repo verify
npx @agent-native/core@latest visualize-repo --no-open
The command writes or updates agent-native.json with an
apps.visualize-repo local-files section, creates a starter MDX folder at
.agent-native/visual-docs/repo-overview, then serves it through the Plan
local bridge. The hosted Plan UI can render the review surface, but the plan
source stays in local files and bridge comments stay in comments.json.
When There Is No Manifest
If agent-native.json does not exist, let the CLI bootstrap one. It scans for
high-value starting points such as actions/, app/components/,
app/pages/, server/db/schema.ts, src/, packages/, templates/,
docs/, and content/. Keep the first run targeted. Prefer 5-20 visualized
nodes over a generated wall of repo prose.
Use explicit targets when the user already knows the important surface:
npx @agent-native/core@latest visualize-repo \
--target actions/webhooks.ts \
--target server/db/schema.ts \
--target app/components/PromptComposer.tsx
Agent Workflow
- Inspect
agent-native.jsonand the generatedplan.mdx. - Read the source anchors listed for each target before changing the visual docs.
- Add only the visual blocks that earn their keep:
api-endpointfor stable APIs,data-modelfor durable schema,wireframefor user-facing components/flows,diagramfor architecture, andannotated-codefor load-bearing implementation. - Run
npx @agent-native/core@latest visualize-repo checkafter editing MDX. - Use
verifybefore handoff when renderer correctness matters.
When acting on comments, treat local comments.json as the feedback inbox.
Agent-targeted comments should become code changes plus matching MDX updates so
the visual docs and executable code stay in sync.
Privacy Boundary
visualize-repo check is local/offline lint. visualize-repo --open starts a
localhost bridge and opens the Plan UI against local files; it does not publish
the plan to hosted storage and performs no hosted Plan database writes.
visualize-repo verify may send the MDX folder to the Plan app's public
validation action so the real renderer schema can check it. For no hosted
content egress, pass --app-url pointing at a local Plan app or skip
verify and rely on check.
Do not call hosted Plan write tools for this workflow unless the user explicitly
asks to publish or share the docs. Avoid create-visual-plan,
update-visual-plan, import-visual-plan-source, patch-visual-plan-source,
and get-plan-feedback for local repo docs; edit the MDX files directly and
use the local bridge.
FAQ
Where are the docs stored?
They are stored as local MDX files inside the repository, so they can be tracked in git.
Can reviewers leave comments?
Yes. Comments are saved in a local file and can later become changes for a coding agent.
Does it need an existing config file?
No. If the repository has no manifest, the command creates one by scanning for key folders.
Details
Original description by the author
Open or create a repo-native visual documentation workspace backed by local Plan MDX files. Use when the user asks to visualize a repository, create durable visual docs for APIs/components/models/flows, launch a visual repo viewer, review repo docs like a visual IDE, or collect Plan comments that should become coding-agent changes.
repo: BuilderIO/agent-native
Popularity
- GitHub stars
- 7.6k
- Ranking position
- #13126
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
design-exploration
7.6kHelps your agent explore several UI design directions side by side, let you pick one, and then refine the chosen design.
visual-edit
7.6kHelps your agent open a running local app in a visual editor so you can review and edit its real screens together.
turn-into-app
7.6kTurns a workflow, spreadsheet or project into a polished visual app, with populated screens and an agent working behind the controls.
visual-plan
7.6kTurns a plain text plan into an interactive visual plan with diagrams, file maps, code snippets and open questions.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.