Add copy-prompt blocks to CLI install and agent guides#6638
Merged
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
ethanpalm
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documentation changes
Extends the "Copy prompt" pattern (the
<Prompt>component already used once in the Quickstart) to the highest-value pages where a reader is likely to hand setup to an AI agent instead of typing commands themselves:cli/install.mdx— three new prompts: install the CLI, scaffold a new project withmint new, update the CLI. Each prompt wraps the surrounding command examples with instructions the agent can execute end-to-end (verify Node version, run the install, sharemint --versionoutput, handle the commonsudofallback, etc.).ai/skillmd.mdx— prompt that tells an agent to runnpx skills add <url>, list the installed skills, and summarize the product's capabilities so the user knows what the agent can now do.guides/claude-code.mdxandguides/codex.mdx— reuse the existingsnippets/skill-mcp-prompt.mdx(the same prompt shown on the Quickstart) right after the install step. Users can paste it into the just-started Claude Code / Codex session to load the Mintlify skill + MCP into the agent's context.Closes
For Reviewers
When reviewing documentation PRs, please consider:
✅ Technical accuracy
✅ Clarity and completeness
✅ User experience
Generated by Mintlify Agent.
Requested by: ethan@mintlify.com via Slack
Mintlify session: slack_1784251231.104309_C04P7GNDRRS
Note
Low Risk
Documentation-only MDX additions with no runtime, auth, or data-path changes.
Overview
Extends the existing
<Prompt>copy-to-agent pattern to setup-heavy docs so readers can hand workflows to an AI instead of typing commands.On
cli/install.mdx, adds a tip plus prompts that walk an agent through global CLI install (Node version check,npm/pnpminstall,mint --version, permissions/sudo) and scaffolding a project with non-interactivemint new, listing outputs, and startingmint dev. Each block is wrapped in{/* vale off */}/{/* vale on */}.On
ai/skillmd.mdx, adds a prompt for runningnpx skills add <url>, listing installed skills, summarizing capabilities, and surfacing frontmatter constraints.On
guides/claude-code.mdxandguides/codex.mdx, importssnippets/skill-mcp-prompt.mdx(same as Quickstart) with a tip to paste it after starting the CLI so the session loads the Mintlify skill and MCP endpoints.Reviewed by Cursor Bugbot for commit 09bd05f. Bugbot is set up for automated code reviews on this repo. Configure here.