docs: update style guide skill with prop naming conventions for boolean props - #8274
docs: update style guide skill with prop naming conventions for boolean props#8274joshblack wants to merge 6 commits into
Conversation
|
|
Quick report when applying this skill: |
There was a problem hiding this comment.
Pull request overview
Updates the repository’s style-guide skill documentation to include dedicated guidance on React component prop naming—especially boolean prop conventions—and links that guidance from the main skill entry.
Changes:
- Add
doctocas a dev dependency (and update lockfile) to support auto-generated TOCs in docs. - Update
.github/skills/style-guide/SKILL.mdto include a topic table linking to local guidance docs. - Add a new
component-prop-naming.mddocument describing boolean prop naming conventions.
Show a summary per file
| File | Description |
|---|---|
| package.json | Adds doctoc and reorders an ESLint plugin entry in devDependencies. |
| package-lock.json | Lockfile updates reflecting the new doctoc dependency and transitive deps. |
| .github/skills/style-guide/SKILL.md | Adds a topic index table and links to the new prop naming doc. |
| .github/skills/style-guide/docs/component-prop-naming.md | New style-guide document with boolean prop naming conventions and an auto-generated TOC block. |
Review details
- Files reviewed: 3/4 changed files
- Comments generated: 1
- Review effort level: Lite
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Part of https://github.com/github/primer/issues/6757
Changelog
New
Changed
Removed
Rollout strategy