Agent skill

Preact Developer

by oaustegard in oaustegard/claude-skills

Guides building standards-based Preact apps with native-first choices, HTM syntax, import maps and vendored ESM, from single-file demos to larger builds.

MITAuto-check passedFrontend & Design

Install Preact Developer

skills CLI
$ npx skills add oaustegard/claude-skills --skill developing-preact -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install oaustegard/claude-skills developing-preact --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/oaustegard/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/developing-preact .claude/skills/developing-preact && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
developing-preact
GitHub stars
150
Token cost
~4.6k tokens
SKILL.md length
1,562 words
Files
8 (incl. scripts, references, assets)
Skills in repo
93
Repo updated
First seen
Licence
MIT

At a glance

Guides building standards-based Preact apps with native-first choices, HTM syntax, import maps and vendored ESM, from single-file demos to larger builds.

  • Works in 9 steps: Standalone Prototype or Demo → Small-to-Medium Application (No Build… → Complex Application (Build Tooling… → …
  • Building a single-page Preact app with HTM and no build step
  • SKILL.md covers Overview, Core Philosophy, When to Use This Skill and Project Type Decision Tree, plus 6 more sections
  • Runs Shell scripts from its folder; calls bash, npm and npx

What it does

The skill prefers native JavaScript, HTML and Web APIs, such as ES modules, import maps, Web Components and the Fetch API, before adding libraries, and defaults to zero-build setups. Code is delivered as artifacts so it can be edited across sessions. A decision tree picks the architecture by project type: a standalone prototype, a small-to-medium app without build tooling, or a complex app that needs a build step.

For prototypes it uses HTM with import maps, dependencies vendored from the npm registry by scripts/vendor.sh, Tailwind through its CLI, and assets/boilerplate.html as the starting file. Small apps use ES modules, signals for shared and local state, hash or History API routing and static hosting on Netlify, Vercel or GitHub Pages, with fewer than ten components. Reference files cover architecture patterns and a Preact 10 guide, and the folder also includes component patterns, a README and a changelog.

When your agent uses it

  • Building a single-page Preact app with HTM and no build step
  • Creating an interactive data visualization from CSV or JSON data
  • Integrating Web Components into a Preact project
  • Prototyping a WebGL shader visualization in the browser

Example prompts

  • “Build a zero-build Preact page that loads sales.csv and draws an interactive chart.”
  • “Set up a small Preact app with signals and hash routing for static hosting.”

Requirements

  • A browser to run the output
  • Bash to run scripts/vendor.sh for vendored dependencies

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Standalone Prototype or Demo
  2. Small-to-Medium Application (No Build Tooling)
  3. Complex Application (Build Tooling Required)
  4. Existing Project
  5. Understand Requirements
  6. Choose Architecture Pattern
  7. Implement Iteratively
  8. Reference Documentation
  9. Use Component Patterns

What it can do on your machine

Read from SKILL.md and the folder at commit 559a6cd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • bash
    • npm
    • npx
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm and npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Preact Developer loads about 4.6k tokens when it runs, and up to ~9.6k if it reads all its reference files. Until then it costs about 108 tokens; SKILL.md has 1,562 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~108
When it runs · the whole SKILL.md, loaded when a task matches
~4.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from oaustegard/claude-skills at commit 559a6cd, republished under its MIT licence (© oaustegard). 1,562 words, ~4,553 tokens.

Download SKILL.mdSave it as .claude/skills/developing-preact/SKILL.md (or your agent's skills folder). This skill also uses 7 other files; get the full folder from GitHub.
name
developing-preact
description
Specialized Preact development skill for standards-based web applications with native-first architecture and minimal dependency footprint. Use when building Preact projects, particularly those involving data visualization, interactive applications, single-page apps with HTM syntax, Web Components integration, CSV/JSON data parsing, WebGL shader visualizations, or zero-build solutions with vendored ESM imports.
metadata.version
1.2.1

Preact Developer

Overview

Transform Claude into a specialized Preact developer with expertise in building standards-based web applications using native-first architecture. This skill prioritizes native JavaScript, HTML, and Web APIs over external dependencies, enabling creation of performant, maintainable applications with minimal tooling overhead.

Core Philosophy

Native-First Development: Leverage ES modules, Import Maps, Web Components, native form validation, Fetch API, and built-in DOM methods before reaching for external libraries. Default to zero-build solutions with HTM and vendored ESM imports for rapid prototyping and small-to-medium applications.

Always Deliver in Artifacts: All code should be created as artifacts to enable iterative editing across sessions.

When to Use This Skill

Trigger this skill when working on:

  • Preact projects of any complexity level
  • Data visualization applications requiring CSV/JSON parsing and interactive charts
  • Single-page applications using HTM tagged template literals
  • WebGL/shader-based mathematical visualizations
  • Web Components integration projects
  • Zero-build prototypes with CDN-based dependencies
  • Progressive web applications emphasizing accessibility and performance

Project Type Decision Tree

Follow this decision tree to determine the optimal architecture:

1. Standalone Prototype or Demo

Characteristics: Quick prototype, demo, educational example, or proof of concept

Architecture:

  • HTM syntax with import maps
  • Vendored ESM dependencies (fetched from npm registry via scripts/vendor.sh)
  • Tailwind CSS via CLI (purged, minified)
  • Single HTML file or minimal file structure
  • No build process

Start with: Run bash scripts/vendor.sh to fetch dependencies, then use assets/boilerplate.html as the foundation

2. Small-to-Medium Application (No Build Tooling)

Characteristics: Production application without existing build infrastructure, <10 components, straightforward state management

Architecture:

  • HTM syntax with import maps
  • ES modules for code organization
  • Signals for reactive state management
  • Native routing (hash-based or History API)
  • Static hosting (Netlify, Vercel, GitHub Pages)

State Management: Use global signals for shared state, useSignal for component-local state

3. Complex Application (Build Tooling Required)

Characteristics: Large codebase, TypeScript requirement, multiple entry points, advanced optimizations needed

Architecture:

  • JSX with build tooling (Vite, Webpack)
  • TypeScript for type safety
  • Consider preact/compat for React ecosystem libraries
  • Advanced code splitting and lazy loading
  • Professional CI/CD pipeline

When to Recommend: Only after confirming team's development environment and build requirements

4. Existing Project

Approach: Match existing patterns and tooling. Analyze the codebase to determine current architecture before suggesting changes.

Technical Standards

Import Map Configuration

Always use this exact import map structure for standalone examples. Dependencies are vendored locally via scripts/vendor.sh (fetched from registry.npmjs.org):

html
<script type="importmap">
  {
    "imports": {
      "preact": "./vendor/preact.module.js",
      "preact/hooks": "./vendor/hooks.module.js",
      "@preact/signals-core": "./vendor/signals-core.mjs",
      "@preact/signals": "./vendor/signals.mjs",
      "htm": "./vendor/htm.module.js",
      "htm/preact": "./vendor/htm.module.js"
    }
  }
</script>

Critical — modular files, not standalone bundle: Do NOT use htm/preact/standalone.module.js. The standalone bundle embeds its own Preact copy, which causes @preact/signals to get a different Preact instance (it imports from 'preact' as a bare specifier). Modular files + import map = one shared Preact instance for everything.

Why vendored, not CDN: esm.sh is a pass-through to the entire npm registry — allowlisting it opens arbitrary code execution surface. registry.npmjs.org is already on the container egress allowlist and provides scoped, versioned tarballs.

Syntax Preference

Default to HTM tagged template literals unless:

  • User explicitly requests JSX
  • Project already uses JSX tooling
  • TypeScript strict mode requires JSX
JSX to HTM Translation Reference

When mentally converting from React/JSX patterns to HTM, apply these rules:

Mental Model

HTM uses JavaScript template literals. Everything that was {expression} in JSX becomes ${expression}. Component names are also expressions, hence <${Component}>.

Translation Rules
PatternJSXHTM
Component tag<Button /><${Button} />
Component with children<Modal>...</Modal><${Modal}>...</${Modal}>
Closing tag</Modal></${Modal}>
Expression{value}${value}
Propsprop={val}prop=${val}
Spread props{...obj}...${obj}
Event handleronClick={fn}onClick=${fn}
Conditional{show && <X />}${show && html\<${X} />`}`
Ternary{a ? <X /> : <Y />}${a ? html\<${X} />` : html`<${Y} />`}`
Map{items.map(i => <Li />)}${items.map(i => html\<li>...</li>`)}`
Key Differences
  1. Component references need ${}: The component name is a JavaScript expression

    javascript
    // JSX
    <Button onClick={handleClick}>Save</Button>
    
    // HTM
    <${Button} onClick=${handleClick}>Save</${Button}>
  2. Nested templates for conditional components: When conditionally rendering components (not HTML elements), wrap in html\``

    javascript
    // JSX
    {isOpen && <Modal title="Hello" />}
    
    // HTM
    ${isOpen && html`<${Modal} title="Hello" />`}
  3. No braces for spread: In HTM, spread uses ...${obj} directly

    javascript
    // JSX
    <Input {...inputProps} />
    
    // HTM
    <${Input} ...${inputProps} />
  4. class vs className: Both work in Preact, but prefer class for consistency and smaller output

Common Mistakes
MistakeWrongCorrect
Missing ${} on component<Button><${Button}>
Wrong closing syntax</MyComponent></${MyComponent}>
Braces instead of template{count}${count}
Spread with braces{...props}...${props}
Missing html wrapper in conditional${show && <${X} />}${show && html\<${X} />`}`
Component Patterns

Use function components with:

  • Hooks for lifecycle and side effects
  • Signals for reactive state (preferred over useState)
  • Suspense for code splitting and async data
  • Context API for cross-component state and dependency injection
  • Error boundaries for graceful error handling
Styling Strategy

Default: Tailwind CSS via CLI — install with npm install tailwindcss@3 --save-dev, then generate purged CSS with npx tailwindcss -o vendor/tailwind.css --content "*.html" --minify. This produces ~6KB of CSS containing only used classes. Avoid: Tailwind CDN (cdn.tailwindcss.com) — not on container egress allowlist, and loads the full 100KB+ JIT compiler. Avoid: Inline styles except for dynamic values impossible to express through utilities. Alternative: CSS modules or styled-components only when project requires scoped styling.

Dependency Evaluation Framework

Before recommending any external package, verify:

  1. Native Web APIs cannot accomplish this - Check MDN documentation
  2. Preact built-ins are insufficient - Signals, hooks, Context API, preact/compat
  3. Bundle size cost is justified - Measure actual benefit gained vs. bytes added

Document the specific performance or capability benefits that justify any dependency inclusion.

Architecture Considerations

For complex decisions involving:

  • Client-side routing (hash-based vs. History API vs. library)
  • SSR requirements
  • State management architecture (signals vs. external library)
  • preact/compat integration for React libraries
  • Performance optimization in constrained environments

Evaluate trade-offs explicitly before committing to an approach. Document reasoning in code comments.

Domain Standards

Progressive Enhancement

Ensure core functionality works without JavaScript where feasible:

  • Use semantic HTML
  • Leverage native form validation
  • Implement keyboard navigation
  • Add ARIA attributes for accessibility
  • Manage focus states properly
Code Quality
  • Generate simplest working solution first
  • Document non-obvious Preact patterns in code comments
  • Explain hook dependencies
  • Note architectural decisions
  • Infer TypeScript usage from project context
Show full SKILL.md (632 more words)Show less

Development Workflow

1. Understand Requirements

Clarify:

  • Target environment (standalone vs. build tools)
  • State complexity
  • Data sources (CSV, JSON, APIs)
  • Accessibility requirements
  • Browser support needs
2. Choose Architecture Pattern

Refer to the Project Type Decision Tree above to select the appropriate architecture.

3. Implement Iteratively

Start with:

  • Basic HTML structure (use assets/boilerplate.html)
  • Core component hierarchy
  • State management setup
  • Data fetching/parsing logic
  • Styling and polish
4. Reference Documentation

Consult bundled references as needed:

  • references/preact-v10-guide.md - Comprehensive Preact API reference
  • references/architecture-patterns.md - Advanced patterns and best practices
5. Use Component Patterns

Leverage assets/component-patterns.md for common UI patterns:

  • Data grids with sorting
  • File upload with drag & drop
  • Search with debouncing
  • Modal dialogs
  • Tabs
  • Toast notifications
  • CSV parsing

Common Patterns

Data Parsing (CSV/JSON)

For data-heavy applications:

javascript
import { useSignal } from '@preact/signals';

function parseCSV(text) {
  const lines = text.trim().split('\n');
  const headers = lines[0].split(',').map(h => h.trim());
  return lines.slice(1).map(line => {
    const values = line.split(',').map(v => v.trim());
    return Object.fromEntries(headers.map((h, i) => [h, values[i]]));
  });
}

function DataAnalyzer() {
  const data = useSignal([]);
  
  const handleFile = async (e) => {
    const text = await e.target.files[0].text();
    data.value = parseCSV(text);
  };
  
  return html`
    <input type="file" accept=".csv" onChange=${handleFile} />
    <div>Loaded ${data.value.length} rows</div>
  `;
}
WebGL Integration

For shader-based visualizations:

javascript
import { useEffect, useRef } from 'preact/hooks';

function ShaderCanvas({ fragmentShader }) {
  const canvasRef = useRef(null);
  
  useEffect(() => {
    const canvas = canvasRef.current;
    const gl = canvas.getContext('webgl2');
    
    // Setup WebGL context, shaders, buffers
    // Render loop
    
    return () => {
      // Cleanup
    };
  }, [fragmentShader]);
  
  return html`<canvas ref=${canvasRef} class="w-full h-full" />`;
}
Global State with Signals
javascript
// state.js
import { signal, computed } from '@preact/signals';

export const users = signal([]);
export const currentUser = signal(null);
export const isAuthenticated = computed(() => currentUser.value !== null);

// Any component can import and use
import { users, isAuthenticated } from './state.js';

Constraints

DO NOT:

  • Recommend npm tooling without confirming user's development environment
  • Suggest dependencies when native solutions exist
  • Optimize prematurely - start with simplest working implementation

DO:

  • Use HTM syntax by default
  • Create artifacts for all code
  • Prioritize accessibility and progressive enhancement
  • Document architectural decisions in comments

Resources

References (Load as Needed)
  • references/preact-v10-guide.md: Complete Preact v10 API reference covering import maps, HTM syntax, React differences, Signals API, Web Components, SSR, performance patterns, Context, error boundaries, and common gotchas

  • references/architecture-patterns.md: Advanced patterns including zero-build architecture, state management strategies, data fetching, routing, forms, progressive enhancement, accessibility, performance optimization, testing, and security best practices

Assets (Copy into Projects)
  • assets/boilerplate.html: Complete HTML template with import maps, Tailwind CSS, and basic Preact app structure - use as starting point for all standalone examples

  • assets/component-patterns.md: Reusable component implementations for data grids, file uploads, search, modals, tabs, toast notifications, and CSV parsing

Examples

Minimal Counter (Standalone)
html
<!DOCTYPE html>
<html>
<head>
  <!-- Run: bash scripts/vendor.sh -->
  <script type="importmap">
    {
      "imports": {
        "preact": "./vendor/preact.module.js",
        "preact/hooks": "./vendor/hooks.module.js",
        "@preact/signals-core": "./vendor/signals-core.mjs",
        "@preact/signals": "./vendor/signals.mjs",
        "htm": "./vendor/htm.module.js",
        "htm/preact": "./vendor/htm.module.js"
      }
    }
  </script>
</head>
<body>
  <div id="app"></div>
  <script type="module">
    import { render } from 'preact';
    import { useSignal } from '@preact/signals';
    import { html } from 'htm/preact';

    function App() {
      const count = useSignal(0);
      return html`
        <button onClick=${() => count.value++}>
          Count: ${count}
        </button>
      `;
    }

    render(html`<${App} />`, document.getElementById('app'));
  </script>
</body>
</html>
Data Visualization App

For applications processing CSV data and displaying interactive charts, reference the DataGrid pattern in assets/component-patterns.md and combine with a charting library like Chart.js or use native Canvas/SVG for custom visualizations.

WebGL Shader Visualization

For mathematical visualizations using WebGL shaders, create a canvas element, initialize WebGL2 context, compile shaders, and set up a render loop. Reference MDN WebGL documentation for shader setup patterns.

Best Practices Summary

  1. Start Simple: Create working prototype before optimizing
  2. Use Signals: Prefer signals over useState for reactive state
  3. Native First: Check if Web APIs can accomplish the task
  4. Progressive Enhancement: Build with accessibility from the start
  5. Document Decisions: Explain non-obvious patterns in comments
  6. Keys in Lists: Always provide stable keys for mapped elements
  7. Error Boundaries: Wrap async operations in error boundaries
  8. Avoid Inline Functions: Don't create handlers inside map() loops

Validation Checklist

Before delivering code, verify:

  • Import map uses vendored local paths (no CDN URLs)
  • HTM syntax is used (unless JSX explicitly requested)
  • Keys provided for all mapped elements
  • Signals used for reactive state
  • Accessibility attributes included (ARIA, keyboard nav)
  • Error boundaries wrap async operations
  • Loading and error states handled
  • Code is in artifact format for iterative editing
  • Comments explain non-obvious patterns
  • No unnecessary dependencies included

Container Testing

Test Preact apps locally in Claude.ai containers using Playwright. This workflow avoids external CDNs entirely — all dependencies are vendored from registry.npmjs.org.

Setup (one-time per session)
bash
# 1. Vendor JS dependencies
bash scripts/vendor.sh

# 2. Generate Tailwind CSS (if using Tailwind)
npm install tailwindcss@3 --save-dev
npx tailwindcss -o vendor/tailwind.css --content "*.html" --minify
Serve and Test
bash
# 3. Serve locally
python3 -m http.server 8765 &

# 4. Test with Playwright
python3 << 'PYEOF'
from playwright.sync_api import sync_playwright

with sync_playwright() as p:
    browser = p.chromium.launch(headless=True, args=["--no-sandbox"])
    page = browser.new_page()

    errors = []
    page.on("console", lambda m: errors.append(m.text) if m.type == "error" else None)
    page.on("pageerror", lambda e: errors.append(str(e)))

    page.goto("http://localhost:8765", wait_until="networkidle")

    # Verify no console errors (catches import failures immediately)
    assert not errors, f"Console errors: {errors}"

    # Verify app rendered
    assert page.locator("#app").inner_html() != "", "App did not render"

    # Example: test interaction
    # page.click("button")
    # assert "Count: 1" in page.content()

    browser.close()
    print("All tests passed")
PYEOF
Key guidance
  • Use Playwright directly for local testing — not webctl (webctl is for external sites through the proxy)
  • python3 -m http.server is sufficient — no npm server needed
  • Console error capture via page.on("console") and page.on("pageerror") catches import failures immediately
  • --no-sandbox is required in container environments

Getting Started

For immediate implementation:

  1. Run bash scripts/vendor.sh to fetch vendored dependencies
  2. (Optional) Generate Tailwind CSS: npm install tailwindcss@3 --save-dev && npx tailwindcss -o vendor/tailwind.css --content "*.html" --minify
  3. Copy assets/boilerplate.html as the starting point
  4. Read references/preact-v10-guide.md for API details
  5. Reference assets/component-patterns.md for common UI patterns
  6. Consult references/architecture-patterns.md for advanced scenarios

The skill is designed to enable rapid development of high-quality Preact applications with minimal friction and maximum standards compliance.

© oaustegard, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 7 other files (scripts, references, assets) in developing-preact of oaustegard/claude-skills.

  • SKILL.md
  • CHANGELOG.md
  • README.md
  • assets/boilerplate.html
  • assets/component-patterns.md
  • references/architecture-patterns.md
  • references/preact-v10-guide.md
  • scripts/vendor.sh

Open the folder on GitHubat commit 559a6cd

Compare with similar skills

Preact Developer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Preact Developer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Preact Developer this skilloaustegard/claude-skills150—~4.6kAutomated safety check: PassMIT
Deno Frontend Developmentdenoland/skills100—~783Automated safety check: PassMIT
Frontend Developmentavibebuilder/claude-prime120—~1.3kAutomated safety check: PassMIT
Web Artifacts Builder V2sammcj/agentic-coding162—~1.9kAutomated safety check: PassApache-2.0
Mvizmatsonj/mviz226—~11kAutomated safety check: PassNone
Report With HTMLdaymade/claude-code-skills1.4k—~11kAutomated safety check: PassMIT

Similar skills

  • Official

    Chooses between running regular npm frontend frameworks under Deno and building with Fresh, Deno's island-architecture framework, with Fresh 2.x guidance.

    100 GitHub stars~783 tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Frontend Development

    avibebuilder/claude-prime

    A skill your agent uses for ANY work involving React, Next.js, TypeScript, or Tailwind in the browser layer.

    120 GitHub stars~1.3k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Web Artifacts Builder V2

    sammcj/agentic-coding

    Suite of tools for creating elaborate, multi-component claude.ai HTML artefacts using modern frontend web technologies (React 19, Tailwind CSS v4, shadcn/ui).

    162 GitHub stars~1.9k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Mviz

    matsonj/mviz

    A chart & report builder for AI. An agent skill from matsonj/mviz.

    226 GitHub stars~11k tokensUpdated 4 mo ago
    Data & AnalyticsAuto-check passed
  • Report With HTML

    daymade/claude-code-skills

    Produces the reader-facing HTML artifact — report, dashboard, architecture view, data browser, or review workbench — evidence-backed, browser-verified.

    1.4k GitHub stars~11k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 40 repos~769 tokens
    Frontend & DesignAuto-check passed

More from oaustegard/claude-skills

All 93 skills in this repo
  • Bluesky Zeitgeist Sampler

    oaustegard/claude-skills

    Deprecated sampler that captures short windows of the Bluesky firehose, clusters trending terms and builds an HTML report; replaced by the browsing-bluesky skill.

    150 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Vega-Lite Interactive Charts

    oaustegard/claude-skills

    Builds interactive Vega-Lite charts from uploaded data: analyzes the fields, picks five to ten fitting chart types, and produces a React artifact with the data embedded inline.

    150 GitHub stars~2.1k tokensUpdated 5 days ago
    Auto-check passed
  • Single-File HTML Composer

    oaustegard/claude-skills

    Builds self-contained single-file HTML pages such as reports, decks, postmortems, flowcharts and prototypes from a small spec using a bundled Python composer and templates.

    150 GitHub stars~3.2k tokensUpdated 5 days ago
    Auto-check passed
  • Declauding

    oaustegard/claude-skills

    Rewrites model-sounding prose into plain technical writing and checks that every claim survives, for PR text, docs, commit messages and similar drafts.

    150 GitHub stars~5.1k tokensUpdated 5 days ago
    Auto-check passed
  • Forecasting Reverso

    oaustegard/claude-skills

    Zero-shot univariate time series forecasting using the Reverso foundation model (NumPy/Numba CPU-only inference).

    150 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Adversarial Review Before Shipping

    oaustegard/claude-skills

    Has a fresh-context adversary attack a blog post, recommendation, analysis brief or piece of code before you ship it, using a profile suited to that kind of artifact.

    150 GitHub stars~3.4k tokensUpdated 5 days ago
    Auto-check passed

Questions about Preact Developer

What does Preact Developer do?

Guides building standards-based Preact apps with native-first choices, HTM syntax, import maps and vendored ESM, from single-file demos to larger builds. The skill prefers native JavaScript, HTML and Web APIs, such as ES modules, import maps, Web Components and the Fetch API, before adding libraries, and defaults to zero-build setups. Code is delivered as artifacts so it can be edited across sessions.

When should I use Preact Developer?

Preact Developer fits situations like: building a single-page Preact app with HTM and no build step; creating an interactive data visualization from CSV or JSON data; integrating Web Components into a Preact project; prototyping a WebGL shader visualization in the browser.

How do I install Preact Developer in Claude Code?

Run `npx skills add oaustegard/claude-skills --skill developing-preact -a claude-code`. Or copy the skill folder (developing-preact in oaustegard/claude-skills) into .claude/skills/developing-preact in your project. Claude Code loads it when a task matches its description.

How do I install Preact Developer in Codex?

Run `npx skills add oaustegard/claude-skills --skill developing-preact -a codex`. Or copy the skill folder (developing-preact in oaustegard/claude-skills) into .agents/skills/developing-preact in your project. Codex loads it when a task matches its description.

Can I use Preact Developer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add oaustegard/claude-skills --skill developing-preact -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/developing-preact, .gemini/skills/developing-preact, .github/skills/developing-preact and .opencode/skills/developing-preact in your project.

What does Preact Developer need to run?

Going by SKILL.md and its folder, Preact Developer needs a shell for the scripts in its folder and the command-line tools its instructions call (bash, npm, npx and python3). Our summary lists: A browser to run the output; Bash to run scripts/vendor.sh for vendored dependencies.

Does Preact Developer access the network?

SKILL.md contains no URLs. Its commands use npm and npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Preact Developer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Preact Developer use?

Preact Developer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Preact Developer use?

About 4.6k tokens (SKILL.md is roughly 18k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.1k tokens, read only when the agent opens those files.

What are the alternatives to Preact Developer?

Skills that share tags, products or a category with Preact Developer: Deno Frontend Development (denoland/skills, 100 stars), Frontend Development (avibebuilder/claude-prime, 120 stars), Web Artifacts Builder V2 (sammcj/agentic-coding, 162 stars) and Mviz (matsonj/mviz, 226 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Preact Developer?

oaustegard (a GitHub user) maintains it in oaustegard/claude-skills, which has 150 GitHub stars. The repository holds 93 skills in this directory. The repository was last updated on October 2, 2026.

Source: oaustegard/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.