Stencil
Use when the user asks about Stencil, @stencil/core, @Component/@Prop/@State/@Event decorators, a web component compiler, framework output targets or a Stencil design system. Produces lazy-loaded, framework-agnostic Stencil components and build config. Not for Lit (use frontend-lit) or hand-written custom elements (use frontend-web-components).
Install
npx skills add j4flmao/agent-skills --skill stencilgit clone --depth 1 https://github.com/j4flmao/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/frontend/stencil ~/.claude/skills/stencilPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Stencil
## Purpose
Build reusable, framework-agnostic web components using Stencil's TypeScript-first compiler — optimized for design systems, component libraries, and performance-critical UIs.
## Agent Protocol
### Trigger
Exact user phrases: "Stencil setup", "Stencil component", "Stencil web component", "Stencil compiler", "Stencil design system", "Stencil project", "stencil component library".
### Input Context
Before activating, verify:
- @stencil/core is in devDependencies.
- Whether building a standalone component library, a design system, or embedded in an app.
- Target framework consumers (React, Vue, Angular, or vanilla).
### Output Artifact
No file output. Produces code snippets and config examples as text.
### Response Format
Component definition:
```tsx
@Component({ tag: 'my-button', styleUrl: 'my-button.css' })
export class MyButton { ... }
```
No preamble. No postamble. No explanations. Compress output — why use many token when few do trick.
### Completion Criteria
- [ ] Components follow Stencil API: @Component, @Prop, @State, @Event, @Method.
- [ ] Styles scoped with Shadow DOM or scoped CSS.
- [ ] Reactive props with @Prop decorator (mutable or reflect).
- [ ] Events emitted with @Event and EventEmitter.
- [ ] Components tested with @stencil/jest or @stencil/playwright.
- [ ] Library can be consumed as framework-agnostic or via framework bindings.
- [ ] Build output includes lazy-loaded bundles.
### Max Response Length
~4096 tokens.Details
- Skill name
stencil- Repository
- j4flmao/agent-skills
- Path
skills/frontend/stencil/SKILL.md- License
- MIT
- Repo updated
- 17 November 2026
FAQ
What does the Stencil skill do?
Use when the user asks about Stencil, @stencil/core, @Component/@Prop/@State/@Event decorators, a web component compiler, framework output targets or a Stencil design system. Produces lazy-loaded, framework-agnostic Stencil components and build config. Not for Lit (use frontend-lit) or hand-written custom elements (use frontend-web-components).
How do I install the Stencil skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add j4flmao/agent-skills --skill stencil. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Stencil popular?
It lives in j4flmao/agent-skills, which has 45 GitHub stars and 6 forks.
Related skills
Agent Observability
45j4flmao/agent-skills
Use when the user asks about agent observability, tracing agent reasoning, debugging an agent loop, OpenTelemetry GenAI spans for LLM calls, LLM cost tracking per agent, agent audit logs or hallucination/eval monitoring in production. Produces instrumentation config, trace schema, dashboards, alerts and cost attribution. Not for generic service tracing without LLMs (use devops-opentelemetry).
AI Agent Architectures
45j4flmao/agent-skills
Use when the user asks to build an AI agent, design an agent that calls tools and keeps memory, write an agent system prompt or pick an agent framework (Claude Agent SDK, OpenAI Agents SDK, LangGraph). Produces an architecture brief covering loop, tools, memory, guardrails and evals, routing depth to child skills. Not for workflow patterns (use ai-agentic-workflows).
AI Agent Core Loop
45j4flmao/agent-skills
Use when the user asks about the agent loop, ReAct vs plan-and-solve, re-planning, Reflexion, an agent stuck in a loop, max iterations or termination conditions. Produces a loop spec or patch with state, success predicate, caps and no-progress detection. Not for overall agent design (use ai-agent-architectures) or tool schemas (use tool-calling-principles).
Sveltekit
45j4flmao/agent-skills
Use when the user asks about SvelteKit load functions and form actions, +page.server.ts, +server.ts endpoints, hooks, use:enhance, adapters, SSR/prerendering or SvelteKit deployment. Produces SvelteKit routes, server loads, validated actions and adapter config. Not for Svelte component and rune design (use frontend-svelte-architecture).
React Server Components
45j4flmao/agent-skills
Use when the user asks about React Server Components, RSC, 'use client' / 'use server' boundaries, Server Functions (server actions), serializable props or the RSC payload in React 19. Produces boundary placement and data/mutation patterns that work in any RSC framework. Not for Next.js routing and caching specifics (use react-nextjs).
Vue Architecture
45j4flmao/agent-skills
Use when the user asks about Vue 3 project structure, Vue 3 composables for shared logic, script setup, Composition API architecture, feature folders, Pinia store layout or migrating from the Options API or Vuex. Produces a Vue 3 app structure and conventions. Not for Nuxt (use vue-nuxt) or specific router/directive patterns (use frontend-vue-patterns).
Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.