matlab-write-help
Generate or improve MATLAB help text (documentation comments) for a function, class, or script file following MathWorks standards (H1 line, syntax paragraphs, See Also, 75-char lines). Read BEFORE writing MATLAB help — default patterns (Inputs:/Outputs: lists, block comments, uppercase See Also) produce non-conforming output. Use when writing, rewriting, fixing, or reviewing MATLAB help comments or function documentation.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-write-help --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## When to Use - Writing help text for a new MATLAB function, class, or script - Rewriting or improving existing help text that is incomplete or non-conforming - Reviewing help text for standards compliance - Adding help to methods in a classdef file - Generating property comments for a class ## When NOT to Use - Writing general documentation or README files (not help comments) - Generating code — this skill only produces help text - Working with non-MATLAB languages - Writing MATLAB Live Script markup (use plain-text-live-code guidelines instead) ## Task Resolve `$file` to an M-file path and generate complete, standards-compliant MATLAB help text for it. If the file already has help text, improve it to meet the standards below. Present the proposed help text to the user for review before modifying the file. ## Standards for MATLAB Help Text All rules below are mandatory. Violating any of them produces non-conforming help. ### General Rules - Help begins on line 2 (after `function` or `classdef` line) for functions/classes - Help begins on line 1 for scripts or built-in sidecar files - Help comments must match the indentation of the body code. Look at the first non-comment content
- When to Use
- When NOT to Use
- Task
- Standards for MATLAB Help Text
- General Rules
- Section Order
- Help Casing
- H1 Line
- Syntax Paragraphs
- Example Section
- See Also Line
- Note Section
- Copyright Line
- Class Help
What does the matlab-write-help skill do?
Generate or improve MATLAB help text (documentation comments) for a function, class, or script file following MathWorks standards (H1 line, syntax paragraphs, See Also, 75-char lines). Read BEFORE writing MATLAB help — default patterns (Inputs:/Outputs: lists, block comments, uppercase See Also) produce non-conforming output. Use when writing, rewriting, fixing, or reviewing MATLAB help comments or function documentation.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-write-help --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
