Agent skill

Update Preact

by rodydavis in rodydavis/signals.dart

Instructions and guidelines for updating the pinned Preact JS git submodule and synchronizing upstream updates to the Dart preactsignals package.

Apache-2.0Auto-check passedDevelopment

Install Update Preact

skills CLI
$ npx skills add rodydavis/signals.dart --skill update-preact -a claude-code

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

GitHub CLI
$ gh skill install rodydavis/signals.dart update-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/rodydavis/signals.dart.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/update-preact .claude/skills/update-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
update-preact
GitHub stars
819
Token cost
~1.1k tokens
SKILL.md length
357 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
Apache-2.0

At a glance

Instructions and guidelines for updating the pinned Preact JS git submodule and synchronizing upstream updates to the Dart preactsignals package.

  • Works in 5 steps: Upstream Submodule Management → Reviewing Upstream Core Architecture… → Porting Changes to Dart preact_signals → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers 1. Upstream Submodule Management, 2. Reviewing Upstream Core…, 3. Porting Changes to Dart… and 4. Package Release & Changelog…, plus 1 more section
  • Calls git and dart

What it does

Update Preact is an agent skill from rodydavis/signals.dart. Instructions and guidelines for updating the pinned Preact JS git submodule and synchronizing upstream updates to the Dart preactsignals package.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Cross-platform mobile apps. It works with Preact, Dart and Git. The repository describes itself as: Reactive programming made simple for Dart and Flutter. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “Use the update-preact skill to instruction and guidelines for updating the pinned Preact JS git submodule and synchronizing upstream updates to the…”
  • “/update-preact”

Workflow steps

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

  1. Upstream Submodule Management
  2. Reviewing Upstream Core Architecture Changes
  3. Porting Changes to Dart preact_signals
  4. Package Release & Changelog Alignment
  5. Verification Checklist

What it can do on your machine

Read from SKILL.md and the folder at commit 81d64e8. 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

    Shell commands in SKILL.md call:

    • git
    • dart

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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

Update Preact loads about 1.1k tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 357 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~40
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from rodydavis/signals.dart at commit 81d64e8, republished under its Apache-2.0 licence (© rodydavis). 357 words, ~1,076 tokens.

Download SKILL.mdSave it as .claude/skills/update-preact/SKILL.md (or your agent's skills folder).
name
update-preact
description
Instructions and guidelines for updating the pinned Preact JS git submodule and synchronizing upstream updates to the Dart preact_signals package.

Updating Preact JS Submodule and preact_signals Package

This guide details the systematic process for updating the pinned Preact.js Signals JS/TS git submodule (third_party/preactjs_signals) and porting its structural updates, algorithmic changes, and optimizations into the Dart preact_signals package.


1. Upstream Submodule Management

The upstream JavaScript/TypeScript implementation is tracked via a Git submodule located at third_party/preactjs_signals.

A. Initializing and Synchronizing the Submodule

If the submodule is not initialized, run:

bash
git submodule update --init --recursive
B. Pinned Submodule Version Upgrade

To upgrade the pinned submodule version:

  1. Navigate to the submodule directory:
    bash
    cd third_party/preactjs_signals
  2. Fetch all latest upstream branches and tags:
    bash
    git fetch --tags origin
  3. Checkout the desired release tag or commit hash:
    bash
    git checkout tags/v1.3.0 # or specific tag/commit hash
  4. Return to the root workspace directory and stage the updated submodule pointer:
    bash
    cd ...
    git add third_party/preactjs_signals

2. Reviewing Upstream Core Architecture Changes

Once the submodule is checked out to the new version, review the differences inside Preact's TypeScript core codebase:

Compare changes to locate:

  1. Algorithmic Optimizations: Refinements in graph tracking, batch processing, or lazy evaluation cycles.
  2. Bug Fixes: Handling of edge-case memory leaks, exception propagates, or subscription-tracking re-entrancy issues.
  3. API Contracts: New methods or configuration parameters added to Signal, Computed, or Effect.

3. Porting Changes to Dart preact_signals

All ported logic must reside in the packages/preact_signals package.

Show full SKILL.md (151 more words)Show less
A. Code Synchronization

Modify the corresponding Dart implementation files to accurately align with the updated Preact JS algorithms:

[!IMPORTANT] Keep the Dart implementation highly semantic and idiomatic. While replicating Preact's structural logic is necessary to preserve reactive correctness and avoid cycles, leverage Dart's language features (such as late initializers, WeakReference, Expando, or Extension types) appropriately.

B. Porting Upstream Tests

Ensure any new test cases introduced in Preact core's test suite are ported to:


4. Package Release & Changelog Alignment

When changes are ported, increment package versions and document changes.

  1. Semantic Versioning: Increase the version in packages/preact_signals/pubspec.yaml based on whether changes are major (breaking changes), minor (features), or patch (bug fixes).
  2. Changelog Documentation: Document all changes and the specific upstream version tag synced in packages/preact_signals/CHANGELOG.md.

5. Verification Checklist

Execute these verification commands prior to staging code changes:

bash
# 1. Update monorepo dependencies
melos bootstrap

# 2. Run static analysis
melos run analyze

# 3. Format files
dart format .

# 4. Execute all unit tests and verify 100% success
melos run test

# 5. Review combined coverage and verify high metrics
melos run coverage

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

Files

Just SKILL.md in .agents/skills/update-preact of rodydavis/signals.dart.

Open the folder on GitHubat commit 81d64e8

Compare with similar skills

Update Preact 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.

Update Preact compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Update Preact this skillrodydavis/signals.dart819—~1.1kAutomated safety check: PassApache-2.0
Core API Changelibnativeapi/nativeapi161—~2.5kAutomated safety check: PassMIT
Flutter Appccplugins/awesome-claude-code-plugins968—~1.1kAutomated safety check: NotesApache-2.0
Code Guidelinesgetsentry/sentry-dart873—~2.2kAutomated safety check: PassMIT
Bump VersionVeryGoodOpenSource/very_good_analysis478—~2.6kAutomated safety check: PassMIT
Dart 3 Updatesevanca/flutter-ai-rules649—~2kAutomated safety check: PassMIT

Similar skills

  • Core API Change

    libnativeapi/nativeapi

    Carry a change to the C++ public API in core/ all the way downstream — design check, header edit, six platform implementations, C ABI + Rust/Dart/C/JS/Python regeneration, per-binding verification…

    161 GitHub stars~2.5k tokensUpdated yesterday
    MobileAuto-check passed
  • Flutter App

    ccplugins/awesome-claude-code-plugins

    Bootstrap a new Flutter mobile app with clean architecture, Riverpod, FVM-pinned SDK, current packages, and no deprecated APIs.

    968 GitHub stars~1.1k tokensUpdated 1 mo ago
    MobileAuto-check: notes
  • Code Guidelines

    getsentry/sentry-dart

    Official

    Enforce Sentry Dart/Flutter SDK code guidelines for implementation, refactoring, and review.

    873 GitHub stars~2.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Bump Version

    VeryGoodOpenSource/very_good_analysis

    Bumps the verygoodanalysis package to a new version. An agent skill from VeryGoodOpenSource/very_good_analysis.

    478 GitHub stars~2.6k tokensUpdated 10 days ago
    DevelopmentAuto-check passed
  • Dart 3 Updates

    evanca/flutter-ai-rules

    A skill your agent uses when writing switch statements, refactoring if-else chains, creating data classes, choosing records vs classes, destructuring values, or modernizing pre-Dart-3 code.

    649 GitHub stars~2k tokensUpdated 24 days ago
    DevelopmentAuto-check passed
  • Frb Fix Merge Conflict

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when resolving merge or rebase conflicts in flutterrustbridge, especially conflicts involving generated files after master/main changed independently from a PR branch.

    5.4k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from rodydavis/signals.dart

All 15 skills in this repo
  • Jaspr Component Fundamentals

    rodydavis/signals.dart

    Teaches the agent Jaspr's Flutter-like component model and typed HTML elements, with strict rules on build methods and helper syntax.

    819 GitHub stars~1.8k tokensUpdated 24 days ago
    Auto-check passed
  • Jaspr CSS-in-Dart Styling

    rodydavis/signals.dart

    Guides styling of Jaspr web components with the type-safe Styles API in Dart, covering @css annotations, inline styles and global stylesheets.

    819 GitHub stars~1.7k tokensUpdated 24 days ago
    Auto-check passed
  • Jaspr JS Interop

    rodydavis/signals.dart

    Rules for calling JavaScript from Jaspr web apps in Dart: which interop libraries to import in server, static and client modes, and how to wrap functions, objects and libraries.

    819 GitHub stars~823 tokensUpdated 24 days ago
    Auto-check passed
  • Jaspr Pre-Rendering and Hydration

    rodydavis/signals.dart

    Sets the rules for static or server mode Jaspr apps in Dart, covering dual entrypoints, the client annotation and data hydration.

    819 GitHub stars~1.2k tokensUpdated 24 days ago
    Auto-check passed
  • Update Dart Examples Dependencies

    rodydavis/signals.dart

    Upgrades every package under ./examples to the repository's latest signals version, runs pub upgrade on third-party dependencies, and fixes the resulting analysis problems.

    819 GitHub stars~514 tokensUpdated 24 days ago
    Auto-check passed
  • Jaspr HTML Converter

    rodydavis/signals.dart

    Use when you need to convert / rewrite existing HTML (from a file or url) into Jaspr code.

    819 GitHub stars~378 tokensUpdated 24 days ago
    Auto-check passed

Works with

Questions about Update Preact

What does Update Preact do?

Instructions and guidelines for updating the pinned Preact JS git submodule and synchronizing upstream updates to the Dart preactsignals package. dart. Instructions and guidelines for updating the pinned Preact JS git submodule and synchronizing upstream updates to the Dart preactsignals package.

When should I use Update Preact?

Update Preact fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Update Preact in Claude Code?

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

How do I install Update Preact in Codex?

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

Can I use Update Preact 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 rodydavis/signals.dart --skill update-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/update-preact, .gemini/skills/update-preact, .github/skills/update-preact and .opencode/skills/update-preact in your project.

What does Update Preact need to run?

Going by SKILL.md and its folder, Update Preact needs the command-line tools its instructions call (git and dart).

Does Update Preact access the network?

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

Is Update Preact 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. Review the folder before installing.

What licence does Update Preact use?

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

How many tokens does Update Preact use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Update Preact?

Skills that share tags, products or a category with Update Preact: Core API Change (libnativeapi/nativeapi, 161 stars), Flutter App (ccplugins/awesome-claude-code-plugins, 968 stars), Code Guidelines (getsentry/sentry-dart, 873 stars) and Bump Version (VeryGoodOpenSource/very_good_analysis, 478 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Update Preact?

rodydavis (a GitHub user) maintains it in rodydavis/signals.dart, which has 819 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on September 14, 2026.

Source: rodydavis/signals.dart on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.