Amp
Setup Amp to correctly generate Avo code based on your prompt.
Quick use
Paste the docs link in your prompt and ask Amp to read it before generating code.
Read https://docs.avohq.io/4.0/docs-map.md and use it as a reference for Avo code.Permanent setup
Amp reads the AGENTS.md file from your repository. Add a line pointing to Avo's docs:
When working with Avo, use the docs at https://docs.avohq.io/4.0/docs-map.md as a reference.Or save the docs in your repo and reference the file from AGENTS.md:
curl -L https://docs.avohq.io/4.0/docs-map.md --create-dirs -o docs/avo-docs-map.mdSkills
For Avo 4 apps, run rails g avo:skills and choose .agents/skills to install the Avo skills loader where Amp can find it. See Skills for the full setup.
MCP server
Connect the Context7 MCP server so Amp can query Avo's docs while building features.
Run this command to add it to your local Amp CLI:
amp mcp add context7 -- npx -y @upstash/context7-mcpIf you use Amp in an orb, configure the server in the repository or in Amp's MCP settings instead. See Amp's MCP documentation for those options.
Now you can ask Amp anything about Avo, and write use context7 at the end of your prompt.
For example:
create a new Avo resource for a product model. use context7