Plan local codebase chat

From BuilderIO/agent-native · View interactive version

Plan local codebase chat is an AI agent skill from the GitHub repository BuilderIO/agent-native. How Ask Plan links a browser-selected local codebase and how to answer questions from its indexed snapshots instead of guessing from file names. Use when the user asks about their linked local codebase or `localCodebase` is in application state.

How to use this skill

Skill file

Local Codebase Chat

The local-codebase application-state key is written by the Ask Plan browser

folder picker when a user links a local codebase. It includes the selected

folder name plus personal resource paths for the latest code index, file tree,

and captured source snapshots.

indexes safe text files, skips generated/secret-looking paths, writes a small

personal instruction resource under instructions/local-codebases/, and

stores captured file snapshots under codebases/<id>/snapshots/<timestamp>/.

inspect localCodebase. First read its indexPath with the resources tool

using scope: "personal", then read relevant captured file resourcePaths

before making claims. Do not infer API contracts, schema shape, or UI behavior

from file names alone.

or attach the file instead of guessing.

get-plan-blocks or list-plan-components before visual-answer, then

publish blocks such as openapi-spec, api-endpoint, data-model,

diagram, file-tree, tabs, and annotated-code grounded in the files

you read.

Related Skills

MDX files.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.