Skip to content
Back to skills

Solidjs Apps

ASecurity

Write idiomatic SolidJS components: fine-grained signals, no prop destructuring, resources and cleanup

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
developmentreactnode

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add AdityaaaTiwari/ANVIL --skill solidjs-apps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Solidjs Apps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Solidjs Apps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adityaaatiwari-solidjs-apps-anvil/badge)](https://www.skillsdirectory.com/skills/adityaaatiwari-solidjs-apps-anvil)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: solidjs-apps
description: "Write idiomatic SolidJS components: fine-grained signals, no prop destructuring, resources and cleanup"
---

<!-- Generated by `anvil plugin build` from catalog/. Edit the catalog, not this file. -->

# SolidJS apps

Use when writing SolidJS components, stores, primitives, or SolidStart routes.

## Reactivity rules (critical)
- **Never destructure component `props`** (`({ name }) => ...` breaks reactive tracking). Read `props.name`, or use `splitProps` / `mergeProps` when forwarding attributes or applying defaults.
- Compute derived state directly as closures (`const fullName = () => ...`) or `createMemo`, not by copying signals inside `createEffect`.
- Keep async reads in `createResource`, handling `<Show>`, `<Suspense>`, and `<ErrorBoundary>` states explicitly.

## Control flow and lists
- Use `<For each={items()}>` when list item references stay stable and data updates inside, or `<Index>` for lists of primitive inputs where index identity is stable. Avoid plain `.map(...)` inside JSX because it re-creates all DOM nodes on array updates.
- Register external listeners or timers inside `onMount` paired with `onCleanup` so scopes never leak on conditional unmount.

## Stores and SSR
Mutate nested stores using `setStore("users", (u) => u.id === id, "active", true)` path setters rather than cloning top-level objects needlessly; guard browser-only DOM calls inside `onMount` / `isServer`.

## Verify
Run Solid ESLint rules (`eslint-plugin-solid` catching destructured props), `tsc --noEmit`, Vite/Vinxi build, and component rendering tests.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.