2710-bhushan/web-development-projects/writing-docs
Claude Code and agent skill by 2710-bhushan/web-development-projects
- community
Checking that the SKILL.md file is still in the repository.
Writes and updates Medusa documentation MDX files for the book, resources, ui, user-guide, and cloud projects. Use when making documentation changes based on code diffs, adding new pages, updating existing content, or updating component examples. ALWAYS load this skill before modifying any MDX file in www/apps/.
Install
npx vskill@latest install 2710-bhushan/web-development-projects/writing-docsSKILL.md
The same SKILL.md was published earlier as 2710-bhushan/web-development-projects/writing-docs.
Writing Medusa Documentation
Skill for writing and updating MDX documentation across the book, resources, ui, user-guide, and cloud projects under www/apps/.
Constraints
CRITICAL: Violating these will corrupt the documentation or break CI.
- Never document `@ignore`-tagged items — any option, method, or parameter with
@ignorein its TSDoc must be skipped entirely - Never touch `www/apps/resources/references/` — auto-generated, will be overwritten
- Never touch `www/apps/ui/specs/components/` — auto-generated, will be overwritten
- Never touch `www/apps/api-reference/` — managed by a separate process
- Never run `yarn prep` or `yarn lint:content` — these run automatically after your session
- Never invent Cloudinary screenshot URLs in user-guide — leave
<!-- TODO: add screenshot -->instead
Load Reference Files When Needed
Load at least one reference file before writing any content.
| Task | Load | |
|---|---|---|
| Deciding if a change needs docs | reference/when-to-document.md | |
| Writing any MDX content | reference/mdx-patterns.md | |
| Writing for the book project | reference/book-style.md | |
| Writing for the resources project | reference/resources-style.md | |
| Writing for the user-guide project | reference/user-guide-style.md | |
| Writing for the cloud project | reference/cloud-style.md | |
| Checking prose quality | reference/vale-rules.md |
Quick Reference
Project paths and writable directories
| Project | Content path | Sidebar file | |
|---|---|---|---|
| book | www/apps/book/app/ | www/apps/book/sidebar.mjs | |
| resources | www/apps/resources/app/ | www/apps/resources/sidebars/*.mjs | |
| ui | www/apps/ui/app/, www/apps/ui/specs/examples/ | www/apps/ui/sidebar.mjs | |
| user-guide | www/apps/user-guide/app/ | www/apps/user-guide/sidebar.mjs | |
| cloud | www/apps/cloud/app/ | www/apps/cloud/sidebar.mjs |
MDX file minimum structure
For book pages that use chapter numbering, the title uses ${pageNumber}:
Cross-project links
Common Mistakes
- [ ] Adding a new option, method, or parameter without a version note
- [ ] Documenting any option, method, or parameter tagged with
@ignorein its TSDoc — skip these entirely - [ ] Touching
references/orspecs/components/directories - [ ] Using
we,us,let's,ourin prose (use "you" or imperative) - [ ] Using "Medusa API" to mean the backend — use "Medusa backend" instead
- [ ] Writing "Medusa Cloud" — use "Medusa" (noun form) or "Cloud" (location/service)
- [ ] Using
e.g.,— writefor exampleinstead - [ ] Using em dashes (
—) — rewrite sentence to avoid them - [ ] Using passive voice ("is created", "can be configured") — write active ("you can configure", "call X to create")
- [ ] Writing code lines longer than 64 characters
- [ ] Forgetting to add a new page to the sidebar file
- [ ] Removing
${pageNumber}from book page titles - [ ] Using
<img>or bare HTML instead of MDX components - [ ] Documenting internal implementation details (only public APIs)
Reference Files
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingCommerceOS/.claude/skills/writing-docs/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/2710-bhushan/web-development-projects/writing-docs)