Skip to content

jeffabailey/jbb-writing-skills

v1.8.0

Writing skills for structured article creation, review, revision, ideation, strategy, copy, SEO, cover images, practice playgrounds, and pre-publish validation for jeffbaileyblog.

write-optimize-code

Optimizes the code in a Markdown article by reading every fenced block (``bash, ``python, ```yaml, ...) together as one program, then making it correct, consistent across blocks, as simple as it can be, and maintainable by the review-maintainability rubric. Edits the article in place after a backup, keeps prose and output blocks in step with changed code, syntax-checks every block, and reports before and after maintainability scores. Use when the user says /write:optimize-code or /write:simplify-code, asks to simplify, clean up, tighten, optimize, or review the code samples, snippets, or commands in an article, blog post, tutorial, or README, or asks whether an article's code is too complicated, even if they don't say "maintainability".

Version
1.0.1
Read SKILL.md at the source

Pinned to revision 4d0f6a732053, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.