|
| 1 | +--- |
| 2 | +title: QUI Docs |
| 3 | +--- |
| 4 | + |
| 5 | +# {frontmatter.title} |
| 6 | + |
| 7 | +Install the QUI Documentation Authoring plugin when you want Claude Code to |
| 8 | +draft, revise, or review documentation pages. The plugin gives Claude Code two |
| 9 | +documentation-specific skills: |
| 10 | + |
| 11 | +- **write-docs**: guidelines for writing MDX pages |
| 12 | +- **review-docs**: guidelines for reviewing MDX pages |
| 13 | + |
| 14 | +## Prerequisites |
| 15 | + |
| 16 | +- Enable the Qualcomm UI Claude Code [marketplace](/claude-code/marketplace). |
| 17 | +- Reload plugins after installing so the skills load into the session. |
| 18 | + |
| 19 | +## Install the plugin |
| 20 | + |
| 21 | +1. In Claude Code, open the plugin browser: |
| 22 | + |
| 23 | + ```shell |
| 24 | + /plugin |
| 25 | + ``` |
| 26 | + |
| 27 | +2. Open the **Discover** tab and search for `qui`. |
| 28 | + |
| 29 | +3. Install **qui-docs**. |
| 30 | + |
| 31 | +4. Activate the plugin: |
| 32 | + |
| 33 | + ```shell |
| 34 | + /reload-plugins |
| 35 | + ``` |
| 36 | + |
| 37 | +You can also install directly from the command line: |
| 38 | + |
| 39 | +```shell |
| 40 | +/plugin install qui-docs@qualcomm-ui |
| 41 | +``` |
| 42 | + |
| 43 | +## Use the writing skill |
| 44 | + |
| 45 | +Ask Claude Code to use the writing skill when creating or revising |
| 46 | +documentation: |
| 47 | + |
| 48 | +```md |
| 49 | +Use the qui docs plugin to write a setup guide for this integration |
| 50 | +``` |
| 51 | + |
| 52 | +Claude Code should load `qui-docs:write-docs`, read the plugin's authoring |
| 53 | +principles and rules, determine the page type, write with reader value in the |
| 54 | +first paragraph, and update `qui-docs.config.ts` when navigation changes. |
| 55 | + |
| 56 | +## Use the review skill |
| 57 | + |
| 58 | +Ask Claude Code to use the review skill before submitting documentation |
| 59 | +changes: |
| 60 | + |
| 61 | +```md |
| 62 | +Use the QUI Docs plugin to review the documentation changes in this branch |
| 63 | +``` |
| 64 | + |
| 65 | +Claude Code should load `qui-docs:review-docs`, list the files under review, |
| 66 | +check the Reviewer Rejection Gates, and report findings with file and line |
| 67 | +references. If there are no issues, Claude Code should still list any residual |
| 68 | +verification gaps. |
| 69 | + |
| 70 | +## When to use the plugin |
| 71 | + |
| 72 | +Use this plugin for changes to MDX route files, `qui-docs.config.ts`, |
| 73 | +navigation entries, examples, screenshots, documentation links, and docs assets |
| 74 | +in a QUI Docs site. |
| 75 | + |
| 76 | +Do not use this plugin as the only validation for code snippets. The plugin |
| 77 | +checks the documentation rules, but code snippets and CLI examples still need |
| 78 | +to be run or compiled when feasible. |
| 79 | + |
| 80 | +## Troubleshoot plugin usage |
| 81 | + |
| 82 | +If Claude Code does not load a `qui-docs:*` skill, confirm that **qui-docs** is |
| 83 | +installed from the `/plugin` view, then run `/reload-plugins`. |
| 84 | +If the skills still do not appear, start a new Claude Code session. |
| 85 | + |
| 86 | +Keep the plugin up to date by refreshing the marketplace: |
| 87 | + |
| 88 | +```shell |
| 89 | +/plugin marketplace update qualcomm-ui |
| 90 | +``` |
| 91 | + |
| 92 | +If Claude Code writes a page without applying the QUI Docs rules, ask it to use |
| 93 | +the QUI Docs plugin explicitly and rerun the review skill before submitting the |
| 94 | +change. |
0 commit comments