Identify the mode: — Determine if the task involves app authoring, proxy/OpenAPI wrapping, or docs/release hygiene.
2
Ground in the current repo: — Inspect the current source, public exports, CLI commands, scaffold templates, and tests.
3
Follow the current public contract: — Use inline or modular tool examples, auth shapes, MCP Streamable HTTP endpoint, and auto-served framework endpoints.
4
Use tools where they materially improve correctness: — Inspect files and run validation commands after making changes.
5
Load only the reference you need: — App authoring, Proxy/OpenAPI wrapping, Validation, docs, and release hygiene.
6
Test the changes: — Ensure the changes work as expected and adhere to the current public contract.
create a Graft serverrefine a Graft serverwrap an API with Graft proxy modeupdate Graft documentationcreate a tool using Graftserve an API with Graftgenerate OpenAPI spec with Graftuse Graft to expose an API as MCPuse Graft to expose an API as HTTP