marlinfirmware/marlindocumentation/gcode-page
Claude Code and agent skill by marlinfirmware/marlindocumentation
- community
Checking that the SKILL.md file is still in the repository.
Use when adding a G-code page or changing a command's parameters, notes or examples on marlinfw.org. Keeps the frontmatter data model intact and regenerates the index and feed.
Install
npx vskill@latest install marlinfirmware/marlindocumentation/gcode-pageSKILL.md
Add or update a G-code page
Each command has one page in docs/gcode/, named by zero-padded code: G000-G001.md, G029.md, M851.md. Variants of one code get a suffix (G029-ubl.md, G029-mbl.md) and the base page lists them. All structured data lives in the frontmatter; _layouts/gcode.html renders it. Only the description goes in the body.
Frontmatter data model
Steps
- Verify the command in the source, never from the number:
Marlin/src/gcode/gcode.cppdispatch and the
handler file under Marlin/src/gcode/<category>/. Parameters come from parser.seen*() calls in the handler.
- Find `since` by checking the source at each release tag:
git show 2.0.0:Marlin/src/gcode/gcode.cpp | grep 'case 851:' (use Marlin/Marlin_main.cpp before 2.0; for a G-code grep the handler name, since case 80: also matches M80). Don't use git tag --contains.
- Write or edit the page. Keep the data model; do not move parameters or examples into prose.
- Regenerate the index:
python3 _tools/gen_gcode_index.py(rewritesdocs/gcode/index.mdfrom frontmatter). - Check:
python3 _tools/check_site.py && bundle exec jekyll build && python3 _tools/check_links.py && python3 _tools/check_feed.py.
The feed check matters here: the Auto Build Marlin extension reads one entry per G-code page.
- Sanity-check the rendered page: header badges (group, since, requires), Usage block, Parameters, Examples.
Pitfalls
- A
tag/codesmismatch or a missingparent:drops the page from the sidebar and the index. requires:values starting with!must be quoted ("!NO_VOLUMETRICS").- Pages with
pagetype: tocare navigation stubs for variants; they carry no parameters. - The same G-code number can mean something else in other firmware (RepRap wiki); document Marlin's behavior only.
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 repositoryCheckingskills/gcode-page/SKILL.md
Popularity
- Repository stars
- 403
- Repository forks
- 876
- 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/marlinfirmware/marlindocumentation/gcode-page)