solidjs
Installation
SKILL.md
SolidJS
Use the official Solid documentation and the installed package version as the source of truth. Solid components establish a reactive graph once; they are not React render functions.
Workflow
- Read the repository instructions and inspect
package.jsonplus the lockfile to identify the installed Solid packages and versions. For SolidStart, distinguish v1 from v2 before consulting docs or changing code. - Read only the documentation branch needed for the task:
references/core.mdforsolid-js, JSX, reactivity, stores, resources, rendering, or tests.references/router.mdfor@solidjs/router, navigation, route data, actions, or revalidation.references/start.mdfor@solidjs/start, file routes, server functions, middleware, sessions, API routes, SSR, or deployment.references/meta.mdfor@solidjs/metaor document-head management.
- Consult the exact API page before using an unfamiliar primitive. In this documentation repository, read the mapped file under
src/routes/; elsewhere, use the mappedhttps://docs.solidjs.compage. Confirm signatures against the installed package types when docs and dependencies differ. - Implement with the existing project conventions. Preserve reactive accessors and owners across module and component boundaries.
- Run the narrowest relevant test, typecheck, lint, or build. Expand verification when the changed primitive is shared or when focused proof fails.