用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mongodb/docs --skill style-guide命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Turn a Mercury mismatch ticket into a reviewable docs edit. Reads the ticket, resolves its URL(s) field to a source file in content/, classifies the requested change into one of six known patterns, and applies the matching edit recipe. Handles heading/metadata/cross-link fixes, content relocation, and scope qualifiers automatically; scaffolds missing content; refuses factual corrections that need a product source of truth. TRIGGER when: the user names a Mercury mismatch ticket, a ticket whose summary begins 'Mercury mismatch :', or any Mercury mismatch epic; asks to fix an LLM-citation or docs-findability ticket; or says "mercury fix" / "work this mismatch ticket". SKIP: general SEO passes (use fix-seo); broken external links (use fix-404s); factual accuracy audits against product code (use docs-drift).
Use this skill for any Jira operation in the DOCSP project — creating, viewing, searching, updating, transitioning, commenting on, or linking tickets. Also handles follow-up ticket creation to manage scope creep. TRIGGER when: user mentions a DOCSP-XXXXX ticket number or any Jira ticket URL; user asks to view, open, check, update, transition, close, comment on, link, or search tickets; user references "the ticket", "the Jira", or "open a ticket". SKIP: GitHub issues; non-Jira platforms; questions unrelated to ticket operations.
Converts RST pages using language tabs to composable tutorial format. Script-first: uses analyze.py and convert.py for automation, with manual fallback steps for large pages and edge cases. Canonical reference — consolidates language-tabs-to-composable (monolithic) and language-tabs-to-composable-modular into one skill.
基于 SOC 职业分类
| name | style-guide |
| description | MongoDB documentation style rules. Apply when writing or editing rST documentation. |
Use the following markup styles when writing or editing documentation:
:guilabel: — UI ElementsUse for buttons, menus, dialogs, tabs, checkboxes, fields, icons, pages, windows.
Click :guilabel:`Save`.
In the :guilabel:`Database Name` field, enter a name.
Select :guilabel:`Start > Control Panel`.
:kbd: — Keyboard ShortcutsPress :kbd:`Shift-G` and then press :kbd:`Enter`.
`text` — Code-Related Text`mongod`, `-t``mytestdb`, `/etc/``$PATH``startTransaction()`Capitalize all words except: articles (a, an, the), conjunctions (and, but, or), prepositions, "to" in infinitives. Always capitalize first and last word.
| Type | Structure | Example |
|---|---|---|
| Conceptual | Noun phrase | "How Monitoring Works" |
| Tutorial | Imperative verb | "Install MongoDB" |
| Reference | Plural noun | "Operators and Collectors" |
Use file-based directives, not hard-coded inline code:
.. literalinclude:: /path/to/file.js
:language: javascript
.. io-code-block::
.. input:: /path/to/input.py
.. output:: /path/to/output.txt
| Avoid | Use |
|---|---|
| admin | administrator |
| argument (CLI) | option |
| blacklist/whitelist | access list |
| date (for timestamps) | timestamp |
| higher/lower (versions) | later/earlier |
| i.e. | that is |
| e.g. | for example |
| master/slave | primary/secondary |
| menu item, menu option | menu command |
| user (for people) | customer |
Prefer American English spelling.