How to add the API Designer subagent to Claude Code
- Open the publisher’s Markdown file and save it as .claude/agents/api-designer.md at the root of your project.
- Ask Claude Code to delegate your sample task to the api-designer subagent. If it does not appear in the transcript, restart Claude Code and retry.
Try this workflow
Give the agent a draft endpoint for listing saved filters and ask it to define pagination, response fields, and predictable error responses. Include three scenarios with zero results, one full page, and a final partial page.
Review the OpenAPI example against those scenarios and check that each sample response validates against the proposed schema.
What you need
The publisher’s file grants the subagent these tools. Read, Write, Edit, Bash, Glob, Grep. Review the list before using the file in a shared project.