Use this guide when you're a coding agent setting up Projections in someone else's repository. If you're working on Projections itself, head to AGENTS.md instead.
Projections maps the systems inside a codebase—dependencies, schemas,
infrastructure, service wiring, and similar structures—and shows how a change
reshapes them. You run the work through the projections CLI while the person
watches the results in the viewer, a local page that you drive.
- Install the CLI if
projections --versiondoesn't already print a version. Follow docs/agents/install.md and verify the download as instructed. - Explore the repository. Run
projections help agents explorefrom the repository root and follow its instructions. It identifies the projections that fit the codebase, tries them against recent pull requests, and helps you adopt the ones the person wants to keep. - Create custom projections for repository-specific systems. When the
codebase has something unique that built-ins don't cover, run
projections help agents create-projectionand follow its steps. Runningprojections initalso writes a skill for you at.agents/skills/projections/SKILL.mdthat covers the full authoring loop. - Show results in the viewer. Run
projections view show -p <id>, or call theopen_projectiontool when runningprojections mcp. Open the viewer in your in-app browser when you have one, or pass--opento launch a standalone browser. If the person asks to "open it in the inspector", this viewer is what they mean. In the GitHub Copilot app, prefer the Projections canvas over a browser tab because the canvas matches the app's theme—runprojections canvas installonce, then open theprojectionscanvas. - Wait to touch CI until asked. When they want CI integration, run
projections help agents cito propose where Projections fits in their workflows. Never edit CI files without their go-ahead.
Any code that comes from the repository itself (custom extractors and some
built-in ones) only runs when you pass --trust. Review what it will execute
and ask the person before trusting it.
- Quick start and first projection walk through the same flow for people.
- How it works explains extractors, comparators, and renderers.
- Agent tools covers the MCP server, the viewer, and their tools.
- Agent skills lists which agents read which skills directory.
- Security explains what runs, where it runs, and what access it has.
projections helpandprojections help authoringprovide the CLI's built-in reference.