Proto codebase intelligence
Use this skill to make investigations of Proto's Vite storefront/admin code and server integrations evidence-based.
Default behaviour
Start with ordinary repository inspection and tests. Do not install binaries, modify agent configuration, deploy, or connect to production unless the user explicitly asks.
When a code knowledge graph would materially improve the investigation, recommend the optional local tool:
Before using it:
- Confirm the user wants the optional tool installed.
- Prefer a pinned, signed release and verify its checksum/attestation.
- Review the release and installer before execution.
- Use it against a local clone or worktree of Proto.
- Keep production credentials, .env files, customer data, and generated secrets outside the indexed scope.
- Prefer --skip-config first, then add only the required MCP configuration explicitly.
- Record the tool version and investigation date in the work notes.
Useful investigation questions
Use structural queries to answer questions such as:
- Which frontend actions call /api/products, /api/stock, /api/extended-range, or /api/customer-profile?
- What code paths depend on the stock or historical-products integrations?
- What is the impact surface of changing catalogue, pricing, upload, or authentication code?
- Which routes, functions, or adapters are orphaned or duplicated?
- Where should a regression test be placed for a discovered production error?
Evidence and boundaries
Treat the graph as an index, not proof. Confirm important findings against source, tests, runtime logs, and the deployed read-only observations.
Do not expose customer records, secrets, tokens, private URLs, or full production responses in reports. Keep the output focused on file paths, symbols, route names, failure modes, and recommended tests.
1---2name: proto-codebase-intelligence3description: Use when investigating Proto's architecture, route dependencies, cross-service links, dead code, or difficult catalogue/stock bugs; optionally use a locally audited codebase-memory-mcp installation for structural queries.4---56# Proto codebase intelligence78Use this skill to make investigations of Proto's Vite storefront/admin code and server integrations evidence-based.910## Default behaviour1112Start with ordinary repository inspection and tests. Do not install binaries, modify agent configuration, deploy, or connect to production unless the user explicitly asks.1314When a code knowledge graph would materially improve the investigation, recommend the optional local tool:1516- codebase-memory-mcp: https://github.com/DeusData/codebase-memory-mcp1718Before using it:19201. Confirm the user wants the optional tool installed.212. Prefer a pinned, signed release and verify its checksum/attestation.223. Review the release and installer before execution.234. Use it against a local clone or worktree of Proto.245. Keep production credentials, .env files, customer data, and generated secrets outside the indexed scope.256. Prefer --skip-config first, then add only the required MCP configuration explicitly.267. Record the tool version and investigation date in the work notes.2728## Useful investigation questions2930Use structural queries to answer questions such as:3132- Which frontend actions call /api/products, /api/stock, /api/extended-range, or /api/customer-profile?33- What code paths depend on the stock or historical-products integrations?34- What is the impact surface of changing catalogue, pricing, upload, or authentication code?35- Which routes, functions, or adapters are orphaned or duplicated?36- Where should a regression test be placed for a discovered production error?3738## Evidence and boundaries3940Treat the graph as an index, not proof. Confirm important findings against source, tests, runtime logs, and the deployed read-only observations.4142Do not expose customer records, secrets, tokens, private URLs, or full production responses in reports. Keep the output focused on file paths, symbols, route names, failure modes, and recommended tests.