Fetches and analyzes a predefined list of documentation URLs (from this skill's code-guide-urls.json), then writes a concise code guide to .cursor/code-guide.md. Use when the user asks to build or refresh the code guide, analyze documentation links, prepare docs for the project, run the "code guide agent", or before starting implementation that should follow external docs (e.g. Mantine). This agent runs first; implementation uses the generated guide afterward.
This agent only does the prep phase: reads URLs from config, fetches and analyzes content, writes the code guide. It does not implement features — that happens later, using the generated guide.
code-guide-urls.json in this skill's directory (.cursor/skills/build-code-guide/code-guide-urls.json).urls array use the url field (and optionally label, id).mcp_web_fetch@mantine/core, @mantine/hooks).STARTER_GUIDE.md in this skill's directory (.cursor/skills/build-code-guide/STARTER_GUIDE.md): if present, read it. It describes project structure (modules, folders), React Query usage, and typing for query/mutation hooks. Merge its content into the final code guide (e.g. section “Project structure & conventions” or “Starter guide”).code-guide-custom.md in this skill's directory (.cursor/skills/build-code-guide/code-guide-custom.md): if present, read it. This is the user’s own Markdown: project-specific conventions, preferred components, naming, or extra rules. Merge into the final code guide (see step 4)..cursor/code-guide.mdCreate .cursor/code-guide.md in this format:
# Code Guide (generated)
Sources: [list URLs from code-guide-urls.json]
## Components / API (summary)
- **Name** – when to use, import (package).
## Patterns
- Layout: …
- Forms: …
- Navigation: …
## Imports (examples)
\`\`\`
import { X } from '@mantine/...';
\`\`\`
STARTER_GUIDE.md (from this skill folder), add a section to the guide, e.g. “Project structure & conventions” or “Starter guide”, with the file content (or a concise summary if very long).code-guide-custom.md (from this skill folder), append a section, e.g. “Custom / project-specific”, with that file’s content.Final guide = generated summary from URLs + optional STARTER_GUIDE section + optional custom section.
.cursor/code-guide.md)..cursor/skills/build-code-guide/): code-guide-urls.json, STARTER_GUIDE.md, code-guide-custom.md. Edit these to configure what gets merged into the code guide. Output is always .cursor/code-guide.md.STARTER_GUIDE.md in this folder is optional. When present, the agent reads it and adds its content to the code guide (project structure, modules, React Query patterns).code-guide-custom.md in this folder is optional. The user can put project-specific rules, conventions, or component preferences there; the agent includes it in the generated guide when present.