-
-
Notifications
You must be signed in to change notification settings - Fork 777
Update MCP Docs with Mintlify guidelines #2382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,59 @@ | ||||||||||||||||||||||||||||
# Mintlify documentation | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
Our docs are written using Mintlify. Please refer to the [Mintlify documentation](https://mintlify.com/docs/llms.txt) to write amazing Mintlify style docs, especially their components. Make sure to use their components where possible, especially for documenting parameters and responses using their ParamField, ResponseField, Expandable, etc. Use CodeGroup when you want to show multiple code editors side by side. Use Callout when you want to call out important information. Accordions are great for showing more detail but without the need to scroll. The Step component is great for showing a list of steps.There are also Tabs, Tooltips, etc. | ||||||||||||||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent ❓ Verification inconclusiveFix incorrect link, tone, and run-on sentence; break into scannable bullets The Mintlify link appears incorrect, the tone (“amazing”) is informal, and this is a very long line with a spacing error (“steps.There”). Refactor into bullets and tighten wording. -Our docs are written using Mintlify. Please refer to the [Mintlify documentation](https://mintlify.com/docs/llms.txt) to write amazing Mintlify style docs, especially their components. Make sure to use their components where possible, especially for documenting parameters and responses using their ParamField, ResponseField, Expandable, etc. Use CodeGroup when you want to show multiple code editors side by side. Use Callout when you want to call out important information. Accordions are great for showing more detail but without the need to scroll. The Step component is great for showing a list of steps.There are also Tabs, Tooltips, etc.
+Our docs use Mintlify. Refer to the official Mintlify docs for component usage and authoring guidelines:
+
+- Prefer Mintlify components over raw HTML where possible.
+- For parameters and responses, use ParamField and ResponseField. For collapsible details, use Expandable.
+- Use CodeGroup to present multiple language examples side by side.
+- Use Callout to highlight important information.
+- Use Accordions to reveal advanced or optional details without adding scroll.
+- Use Step for step-by-step procedures.
+- Tabs and Tooltips are also available when appropriate.
+
+See: https://mintlify.com/docs Fix incorrect Mintlify link, informal tone, and run-on sentence; break into scannable bullets Please update the Mintlify section in docs/CLAUDE.md to:
Location:
Suggested diff: -Our docs are written using Mintlify. Please refer to the [Mintlify documentation](https://mintlify.com/docs/llms.txt) to write amazing Mintlify style docs, especially their components. Make sure to use their components where possible, especially for documenting parameters and responses using their ParamField, ResponseField, Expandable, etc. Use CodeGroup when you want to show multiple code editors side by side. Use Callout when you want to call out important information. Accordions are great for showing more detail but without the need to scroll. The Step component is great for showing a list of steps.There are also Tabs, Tooltips, etc.
+Our docs use Mintlify. Refer to the official Mintlify documentation for component usage and authoring guidelines:
+
+- Prefer Mintlify components over raw HTML where possible.
+- Use ParamField and ResponseField to document parameters and responses.
+- Use Expandable for collapsible content.
+- Use CodeGroup to present multiple language examples side by side.
+- Use Callout to highlight important information.
+- Use Accordions to reveal advanced or optional details without adding scroll.
+- Use Step for step-by-step procedures.
+- Tabs and Tooltips are also available when appropriate.
+
+See: https://docs.mintlify.com 📝 Committable suggestion
Suggested change
🧰 Tools🪛 LanguageTool[style] ~3-~3: Consider using a more formal and expressive alternative to ‘amazing’. (AWESOME) [style] ~3-~3: You have already used this phrasing in nearby sentences. Consider replacing it to add variety to your writing. (REP_WANT_TO_VB) 🤖 Prompt for AI Agents
|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## Working relationship | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- You can push back on ideas-this can lead to better documentation. Cite sources and explain your reasoning when you do so | ||||||||||||||||||||||||||||
- ALWAYS ask for clarification rather than making assumptions | ||||||||||||||||||||||||||||
- NEVER lie, guess, or make up information | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## Project context | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- Format: MDX files with YAML frontmatter | ||||||||||||||||||||||||||||
- Config: docs.json for navigation, theme, settings | ||||||||||||||||||||||||||||
- Components: Mintlify components | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## Content strategy | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- Document just enough for user success - not too much, not too little | ||||||||||||||||||||||||||||
- Prioritize accuracy and usability of information | ||||||||||||||||||||||||||||
- Make content evergreen when possible | ||||||||||||||||||||||||||||
- Search for existing information before adding new content. Avoid duplication unless it is done for a strategic reason | ||||||||||||||||||||||||||||
- Check existing patterns for consistency | ||||||||||||||||||||||||||||
- Start by making the smallest reasonable changes | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## docs.json | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- Refer to the [docs.json schema](https://mintlify.com/docs.json) when building the docs.json file and site navigation | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## Frontmatter requirements for pages | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- title: Clear, descriptive page title | ||||||||||||||||||||||||||||
- description: Concise summary for SEO/navigation | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## Writing standards | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- Second-person voice ("you") | ||||||||||||||||||||||||||||
- Prerequisites at start of procedural content | ||||||||||||||||||||||||||||
- Test all code examples before publishing | ||||||||||||||||||||||||||||
- Match style and formatting of existing pages | ||||||||||||||||||||||||||||
- Include both basic and advanced use cases | ||||||||||||||||||||||||||||
- Language tags on all code blocks | ||||||||||||||||||||||||||||
- Alt text on all images | ||||||||||||||||||||||||||||
- Relative paths for internal links | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## Git workflow | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- NEVER use --no-verify when committing | ||||||||||||||||||||||||||||
- Ask how to handle uncommitted changes before starting | ||||||||||||||||||||||||||||
- Create a new branch when no clear branch exists for changes | ||||||||||||||||||||||||||||
- Commit frequently throughout development | ||||||||||||||||||||||||||||
- NEVER skip or disable pre-commit hooks | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
## Do not | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
- Skip frontmatter on any MDX file | ||||||||||||||||||||||||||||
- Use absolute URLs for internal links | ||||||||||||||||||||||||||||
- Include untested code examples | ||||||||||||||||||||||||||||
- Make assumptions - always ask for clarification |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Add required YAML frontmatter and avoid duplicate H1
This page prescribes frontmatter but doesn’t include any. Mintlify expects frontmatter for proper rendering and navigation. Replace the top-level H1 with frontmatter to avoid duplicate titles.
📝 Committable suggestion
🤖 Prompt for AI Agents