FE hyperstack: add react-pro-coder skill - #138
Merged
Merged
Conversation
56 rules with stable IDs across component design, hooks, state placement, performance, data fetching, TypeScript, styling and accessibility, architecture, testing, and production security. Gated on react_get_constraints so the skill defers to the react plugin for framework ground truth. Wires the skill to the react plugin in the audit source table and adds it to the README domain table.
KailasMahavarkar
force-pushed
the
f-FE-hyperstack-react-pro-coder-skill
branch
from
September 3, 2026 21:46
56b9a07 to
512ae29
Compare
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.
Adds
react-pro-coder, a domain skill that carries the React and Next.js engineering rules thereact_*MCP tools do not: 56 rules with stable IDs across ten domains, plus the process gates (environment check, task classification, architecture-first order, pattern gate, output contract, negative-doubt pass). The skill is gated onreact_get_constraintsso framework ground truth still comes from the plugin, and it defers visual decisions todesigner/ui-ux/design-tokensand shadcn internals toshadcn-expert.Rule set
references/COMPONENT-DESIGN.mdreferences/HOOKS.mdreferences/STATE.mdreferences/PERFORMANCE.mdreferences/DATA-FETCHING.mdreferences/TYPESCRIPT.mdreferences/STYLING-A11Y.mdreferences/ARCHITECTURE.mdreferences/TESTING.mdreferences/SECURITY-PRODUCTION.mdIDs are cited in findings (
path:line - RULE-ID - problem - fix) so a review comment points at a rule rather than an opinion.Conflicts resolved against
react_get_constraintsThe source rule list disagreed with the plugin's hard constraints in three places. Each is resolved in favour of the plugin, with the reasoning written into the rule rather than left implicit.
index.ts" vsno-barrel-exportsindex.tsis the one allowed barrel, named re-exports only, requiressideEffects: false. App-wide barrels stay forbidden, and imports inside a feature go directuseMemoonly when the object feeds a memoized child (PF-3)Three constraints not in the source list were added from the plugin: Next.js 15 async
params/searchParams, React 19 Actions (useActionState,useFormStatus,useOptimistic), and a React Compiler caveat on hand-memoization (H-3).Changes
skills/react-pro-coder/SKILL.mdskills/react-pro-coder/references/*.md(10 domain files)skills/react-pro-coder/references/REVIEW-CHECKLIST.mdskills/react-pro-coder/references/OUTPUT-CONTRACT.mdskills/react-pro-coder/references/TEMPLATES.mdcn, page with metadata, test, SEO checklist, audit report scaffoldsskills/react-pro-coder/references/VARIANT-MAPPING.mdscripts/audit/sources.tsreactplugin so the audit harness tracks itREADME.mdskills/INDEX.mdVerification
skills-index-behaviour.test.tscovers the parts that break when a skill is added wrong: INDEX.md sync, required frontmatter (name,category,description), and a valid category.audit-harness-behaviour.test.tscovers the newskills: ["react-pro-coder"]entry existing underskills/.Rule IDs verified contiguous per prefix and totalling 56, and every relative link in
SKILL.mdand the reference files resolves to a file in the tree.Known stale, not touched
README.mdstill advertises 22 skills in the badge and the intro,package.jsonsays 27, andsummary.mdsays 21. The repo has 29 skill directories after this PR. Those counts were already inconsistent before this change and correcting them is a separate pass.