Skip to main content
Run any Skill in Manus
with one click

comment-refactor

Stars95
Forks6
UpdatedMay 13, 2026 at 02:38

Trigger for the COMMENT_REFACTOR procedure on a phase-2-validated C file whose CODE is already in good shape (pseudocode-shaped from a prior refactor pass) but whose COMMENTS / PROSE need to be rebuilt. Invoke when the user types `COMMENT_REFACTOR`, `UPDATE_LITERATE` (legacy alias), `/comment-refactor <filename>`, or asks to "redo the comments on X". Defaults to the DEFAULT_REFACTOR profile (the competent-learner standard); pass `novice` as an arg (`/comment-refactor novice <file>`) to target NOVICE_REFACTOR instead. Erases every existing narrative comment block, then writes the chosen profile from zero against a code-only inventory. Code bodies are NOT touched.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly