willyd61/nautobot-v2-custom-metrics-old/solid
Claude Code and agent skill by willyd61/nautobot-v2-custom-metrics-old
- community
- ext:[{"type":"context","description":"Custom context provider definitions"}]
Checking that the SKILL.md file is still in the repository.
SolidJS reactive UI library. Covers signals, effects, and fine-grained reactivity. USE WHEN: user mentions "SolidJS", "Solid", "createSignal", "createEffect", "createMemo", "fine-grained reactivity", asks about "Solid patterns", "reactive primitives" DO NOT USE FOR: React - use `frontend-react` (different API despite similar JSX), Vue - use `vue-composition`, Svelte - use `svelte`, Angular - use `angular`
Install
npx vskill@latest install willyd61/nautobot-v2-custom-metrics-old/solidSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as claude-dev-suite/claude-dev-suite/solid.
SolidJS Core Knowledge
Full Reference: See advanced.md for WebSocket primitive, context provider, chat component, room management, Socket.IO integration, and store patterns.
Deep Knowledge: Usemcp__documentation__fetch_docswith technology:solidfor comprehensive documentation.
When NOT to Use This Skill
Skip this skill when:
- Working with React (use
frontend-react- APIs are different) - Building Vue applications (use
vue-composition) - Using Svelte (use
svelte) - Working with Angular (use
angular) - Need server-side only logic (no framework needed)
Component Structure
Reactivity Primitives
| API | Purpose | |
|---|---|---|
createSignal | Reactive state | |
createMemo | Cached computation | |
createEffect | Side effects | |
createResource | Async data fetching | |
createStore | Nested reactive objects |
Key Differences from React
- No Virtual DOM - fine-grained updates
- Props are getters - access via
props.name - No dependency arrays - auto-tracking
- Components run once - not on every render
- JSX compiles differently - expressions are reactive
Control Flow
Anti-Patterns
| Anti-Pattern | Why It's Bad | Correct Approach | |
|---|---|---|---|
| Destructuring props | Loses reactivity | Access via props.name | |
| Using React patterns | Different paradigm | Use Solid primitives | |
Not using <Show> component | Manual conditional logic | Use <Show when={}> | |
| Recreating signals in components | Components run once | Create outside or use stores | |
Using innerHTML without sanitization | XSS vulnerability | Use DOMPurify | |
Not cleaning up in onCleanup | Memory leaks | Add cleanup logic |
Quick Troubleshooting
| Issue | Likely Cause | Solution | |
|---|---|---|---|
| Props not reactive | Destructured props | Access via props.name | |
| Signal not updating | Forgot to call setter | Use setCount(newValue) | |
| Effect not running | Not tracking signal | Call signal inside effect: count() | |
| Component re-running | Treating like React | Components run once, use signals | |
| List not updating | Using array methods | Use produce() from solid-js/store | |
| Memory leaks | No cleanup | Use onCleanup() |
Production Readiness
Error Handling
Performance
Store Patterns
Testing
Security
Monitoring Metrics
| Metric | Target | |
|---|---|---|
| Bundle size | < 30KB | |
| First Contentful Paint | < 1s | |
| Time to Interactive | < 1.5s | |
| Memory usage | Stable |
Checklist
- [ ] ErrorBoundary for error handling
- [ ] Suspense for async operations
- [ ] Lazy loading for code splitting
- [ ] createStore for complex state
- [ ] Virtual lists for large data
- [ ] No innerHTML with user input
- [ ] Testing with @solidjs/testing-library
- [ ] SSR with SolidStart
- [ ] Fine-grained updates (no unnecessary re-renders)
- [ ] Bundle analysis
Reference Documentation
Deep Knowledge: Usemcp__documentation__fetch_docswith technology:solidfor comprehensive documentation.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.mcp-servers/skill-loader/skills/frontend-frameworks/solid/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
contextCustom context provider definitions
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/willyd61/nautobot-v2-custom-metrics-old/solid)