chore: make agent path more prominent in app creation docs - #454
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
f2b0896 to
229ae4e
Compare
|
Superseding the earlier Context7-pending note: the strict before/after evaluation now passes without relying on Context7 as the primary harness.
That is a 53.8% reduction in context before the agent path appears. All six agent-only visibility checks pass. The three-trial Claude outcome gate also passes: 18/18 preview answers lead with Context7 is retained as an optional site-wide spot check; the reproducible primary gate fetches and hashes production/preview |
409bf5d to
4178b8d
Compare
4178b8d to
bbb3edb
Compare
Address review feedback that the Agent tab opened directly on a heading while the Dashboard and CLI tabs open with a lead-in sentence. Adds a one-line description and converts the three sections to <Steps>.
Address review feedback that the agent hints should not push an agent toward create_app when the user has asked for something else. Each <Visibility for="agents"> block now leads with the exception — dashboard, CLI, porter apply, or configuration-as-code — before stating create_app as the default, and says not to author a porter.yaml otherwise.
Agents fetching the registry page had no create_app guidance. Points them at the image argument, and notes that it needs no pull request and no GitHub App, unlike the source-and-build flow.
This PR updates our docs to prioritize the agent path for Porter's hosted MCP server and its
create_apptool for creating an application.This is done in a few ways:
snippets/agent-create-app.mdx) to the quickstart and GitHub deploy pages. Agent is first and default (the tab states the Porter GitHub App prerequisite), and also gives a copy-pasteable prompt, and explains the merge-the-PR step.applications/deploy/connect-github, linked from both the Agent and Dashboard paths.applications/deploy/overviewto concepts and adds reciprocal links from the MCP docs.<Visibility for="agents">, so.md/llms.txtexports steer agents tocreate_app.I also setup some evals in #455: agent guidance in the top two results went from 1/4 to 4/4 generic queries, median tokens before agent guidance dropped 53.8%, and 18/18 Claude trial answers lead with
create_app(+13 over production).