Docblock Rewrite — Development skill for Claude Code
Convert PHPDoc and JSDoc blocks into one-line plain-English // comments.
How to install Docblock Rewrite
Installs to ~/.claude/skills/chrismccoy-forge-docblock-rewrite/SKILL.md
mkdir -p ~/.claude/skills/chrismccoy-forge-docblock-rewrite && curl -fsSL https://raw.githubusercontent.com/chrismccoy/forge/HEAD/commands/docblock-rewrite.md -o ~/.claude/skills/chrismccoy-forge-docblock-rewrite/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Docblock Rewrite does
description: Convert PHPDoc and JSDoc blocks into one-line plain-English // comments. Scripted bulk pass over a directory or single file. Backs up originals to .bak, validates output against banned-words list and 100-char cap, replaces in place. Honors @internal/@deprecated/@ignore opt-outs. allowed-tools: Read, Bash disable-model-invocation: true
**Load first.** Read `${CLAUDE_PLUGIN_ROOT}/lib/docblock-rewrite/SKILL.md` in full before anything else - intake, tool calls, or output.
Alternatives in Development
- Remove Comments — Remove Obvious Comments 2.8k ★
- Comments — /comments Command 849 ★
- Herdr Reviewr — Review your coding agent's diff in a terminal pane and send line comments back to Claude Code, Codex, OpenCode 823 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Clear Rewrite
Rewrite text to pass CLEAR-100. Plain words, human voice, real structure, no filler. Runs the checker in a loo
Xhs Compliance Skill
Claude Code Agent Skill for XHS (小红书) content compliance — avoid banned words and traffic limits
Hygiene
Backfix output-hygiene artifacts in this project's text files (convert stray em/en dashes to ASCII, strip invi
Fence
Show the guardrails that are active right now — validates the YAML rule files, prints every rule in words, whi
Truetailor
Resume tailoring skill where the fabrication gate is code, not a promise. gate.py (stdlib, offline) blocks any
Eli5
Say the last answer again in plain words — same facts, in the order the operator needs them. Optional topic ar
Related Agents
Phpdoc Writer
Writes clear, comprehensive PHPDoc blocks for PHP classes and methods. Optimized for onboarding new developers
Paper Style Enforcer
Enforces the author's STYLE_PROFILE.md on a draft paragraph. Detects banned words, sentence-length violations,
Voice Validator
Runs the post-generation checks on writer-style output: a fact-preservation diff (every verified number/identi