signals.dart: Skill for Claude Code

.agents/skills/update-preact/SKILL.md

update-preact is a skill for Claude Code, Codex from rodydavis/signals.dart. It costs 31 tokens per session (990 once invoked), scanned A, original, Apache-2.0.

A workflow for updating the JavaScript version of Preact Signals and carrying its changes into the Dart preact_signals package. A Git submodule is a repository stored inside another repository at a pinned revision.

In plain words
What is it for?
Use it to initialize or upgrade the Preact Signals submodule, inspect upstream changes, and port relevant updates to the Dart package.
Why use it?
It provides a repeatable way to synchronize the two implementations and review upstream algorithm or structure changes before applying them to Dart.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is rodydavis/signals.dart's own configuration. It tells Claude Code and Codex how to work on signals.dart itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything signals.dart configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rodydavis/signals.dart. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rodydavis/signals.dart/main/.agents/skills/update-preact/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/rodydavis/signals.dart

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for update-preact

README.md
[![agentmods](https://agentmods.dev/badge/skills/rodydavis/signals.dart/update-preact/github.svg)](https://agentmods.dev/skills/rodydavis/signals.dart/update-preact)
Your own site
<a href="https://agentmods.dev/skills/rodydavis/signals.dart/update-preact"><img src="https://agentmods.dev/badge/skills/rodydavis/signals.dart/update-preact/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for update-preact

Your own site · 80×15
<a href="https://agentmods.dev/skills/rodydavis/signals.dart/update-preact"><img src="https://agentmods.dev/badge/skills/rodydavis/signals.dart/update-preact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 990 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00990
Opus 5 $0.00015 $0.00495
Sonnet 5 $0.00006 $0.00198
Haiku 4.5 $0.00003 $0.00099

Measured 10d ago against content hash 46e5010202a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

update-preact scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/update-preact/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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:

git submodule update --init --recursive

B. Pinned Submodule Version Upgrade

To upgrade the pinned submodule version:

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

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 106 lines · 31 tokens per session scan A 46e5010202a7

Subscribe to this mod's changes

update-preact is a skill published in the GitHub repository rodydavis/signals.dart (814 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 990 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

at_client_skills-sdk

Use this skill when a developer is building a Dart or Flutter app that depends on atclient or atclientflutter from pub.dev, stores or shares data via the Atsign Protocol, needs onboarding (CRAM new-atsign, atKeys file, keychain, APKAM) or APKAM enrollment, or asks about AtCollection , CItem , Query , sub-collections…

atsign-foundation/at_client_sdk · 232 tokens

dart-3-updates

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

evanca/flutter-ai-rules · 42 tokens

effective-dart

Use when writing Dart code, reviewing for style, refactoring naming, adding doc comments, structuring imports, or enforcing type annotations.

evanca/flutter-ai-rules · 31 tokens

release-changelog-harness

Chooses ecosystem-native release and changelog tooling (Changesets, Melos, release-plz) plus binary distribution (GitHub Release tarballs, install.sh) when the product is an executable. Use for release CI, install.sh, versioning, CHANGELOGs, shipping MCP/CLI without clone, or meta repos that only ship skills via npx…

Arenukvern/mcp_flutter · 84 tokens

gitnexus-cli

Use when the user needs to run GitNexus CLI commands like analyze/index a repo, check status, clean the index, generate a wiki, or list indexed repos. Examples: "Index this repo", "Reanalyze the codebase", "Generate a wiki".

Arenukvern/mcp_flutter · 59 tokens

dart-expert

Expert-level Dart, Flutter, mobile development, and cross-platform apps. Use when the user mentions Flutter, mobile, cross platform, or widgets, or when the task involves Dart Language or Flutter Framework.

personamanagmentlayer/pcl · 44 tokens