ChatGPT code-style-analyzer skill for style findings
Check supplied code for naming, formatting, hardcoded values, and comments. Include locations, priorities, suggested changes, and reasons.
中文Install in ChatGPT
A ChatGPT workspace with skill creation enabled. The example uses only the supplied plain-text material.
- In a ChatGPT workspace with skill creation enabled, open Plugins → Skills → Create → Create with editor.
- Create a skill in the editor and adapt the text-only `code-style-analyzer` workflow from the pinned GitHub source into its instructions.
- Save the skill, then type @ in a new chat to select it and try the example.
Example task
Manually select code-style-analyzer and review this fictional layout snippet under the supplied style rule.
file `layout.ts` | line `14` | style guide `named constants for layout spacing`
line text `const gap = 24;` | `24` means the card grid spacing and appears in another local styleWhat to check
Report hardcoded spacing on line `14` of `layout.ts`. Suggest a shared `CARD_GRID_GAP` for `24` and explain that it avoids duplicate edits.
Original SKILL.md on GitHub · Updated
Frequently asked question
What belongs in a style finding?
Include the location, current code, suggested change, and reason. Assign priority according to maintenance impact.