Repository navigation
fix(docs): label JavaScript blocks as JavaScript; Codex manifest says 25 skills - #677
Merged
addyosmani merged 1 commit intoOct 13, 2026
Conversation
… 25 skills Three fenced blocks were labelled bash but hold JavaScript: the Frontend and Backend measurement examples in performance-optimization (web-vitals imports, console.time) and the measurement block in the performance checklist, which mixed npx commands with web-vitals code in one shell fence. An agent reading a bash block can try to run it in a shell, and `#` is not a JavaScript comment. Relabel the two skill blocks as javascript with // comments, and split the checklist block into a bash fence for the npx commands and a javascript fence for the code. Content is unchanged line for line. The Codex manifest's longDescription still said 24 workflows; the pack has had 25 skills since constraint-driven-development landed. Say 25. Found by scanning every fenced block in the repo by declared language; these were the only mislabels.
addyosmani
approved these changes
Oct 13, 2026
addyosmani
left a comment
Owner
There was a problem hiding this comment.
praise: three real mislabels. I checked that each relabelled block is plain JavaScript and that nothing reads the fence language, and the Codex manifest was the last stale count of 24. Merging.
nitpick: the other JS fences in the repo use js and these use javascript. Not worth another round.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two small correctness fixes, found by scanning every fenced block in the repo by its declared language and checking each manifest's prose against the skills directory. These were the only mislabels and the only stale count.
Change
Three fences labelled
bashthat contain JavaScript.skills/performance-optimization/SKILL.md, the Frontend measurement example (web-vitals import,onLCP/onINP/onCLS) and the Backend example (console.timearound a query). Both becomejavascriptwith//comments;#is not a JavaScript comment, so the old blocks were not valid in either language.references/performance-checklist.md, the measurement block, which mixednpx lighthouse/ bundle-analysis commands with web-vitals code in one shell fence. Split into abashfence for the four npx commands and ajavascriptfence for the code, at the point where the content switches.Why it matters beyond highlighting: an agent that reads a
bashblock as something to run will try to executeimport { onLCP } from 'web-vitals'in a shell. Content is unchanged line for line; only labels and comment markers change.Codex manifest count.
.codex-plugin/plugin.jsonstill says "24 production engineering workflows". The pack has 25 skills and has sinceconstraint-driven-developmentlanded. The catalog-generation PR #548 does not touch this file.Verification
Fence counts are even in both files, the manifest parses, and a re-scan finds no
bashfence containing JavaScript anywhere in skills, references, docs, agents, or commands. #670 also editsperformance-optimization/SKILL.mdbut at line 128; the hunks here are at 48 and 62, so they merge in either order.