Frontend UI Standards
MaxHan7/frontend-ui-standards-skill
A skill your agent uses when implementing, refactoring, or reviewing frontend UI across SwiftUI, React, React Native, Flutter, web, or mobile apps.
Teaches the agent Jaspr's Flutter-like component model and typed HTML elements, with strict rules on build methods and helper syntax.
$ npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rodydavis/signals.dart jaspr-fundamentals --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/rodydavis/signals.dart.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/jaspr-fundamentals .claude/skills/jaspr-fundamentals && rm -rf skills-srcUse ~/.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/
Install the "jaspr-fundamentals" agent skill from https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/jaspr-fundamentals into .claude/skills/jaspr-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "jaspr-fundamentals", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/jaspr-fundamentalsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rodydavis/signals.dart jaspr-fundamentals --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rodydavis/signals.dart.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/jaspr-fundamentals .agents/skills/jaspr-fundamentals && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "jaspr-fundamentals" agent skill from https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/jaspr-fundamentals into .agents/skills/jaspr-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "jaspr-fundamentals", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rodydavis/signals.dart jaspr-fundamentals --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rodydavis/signals.dart.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/jaspr-fundamentals .cursor/skills/jaspr-fundamentals && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "jaspr-fundamentals" agent skill from https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/jaspr-fundamentals into .cursor/skills/jaspr-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "jaspr-fundamentals", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/rodydavis/signals.dart.git --path .agents/skills/jaspr-fundamentals--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rodydavis/signals.dart jaspr-fundamentals --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rodydavis/signals.dart.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/jaspr-fundamentals .gemini/skills/jaspr-fundamentals && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "jaspr-fundamentals" agent skill from https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/jaspr-fundamentals into .gemini/skills/jaspr-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "jaspr-fundamentals", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install rodydavis/signals.dart jaspr-fundamentalsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rodydavis/signals.dart.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/jaspr-fundamentals .github/skills/jaspr-fundamentals && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "jaspr-fundamentals" agent skill from https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/jaspr-fundamentals into .github/skills/jaspr-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "jaspr-fundamentals", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rodydavis/signals.dart jaspr-fundamentals --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rodydavis/signals.dart.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/jaspr-fundamentals .opencode/skills/jaspr-fundamentals && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "jaspr-fundamentals" agent skill from https://github.com/rodydavis/signals.dart/tree/main/.agents/skills/jaspr-fundamentals into .opencode/skills/jaspr-fundamentals/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "jaspr-fundamentals", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
jaspr-fundamentalsTeaches the agent Jaspr's Flutter-like component model and typed HTML elements, with strict rules on build methods and helper syntax.
This skill covers Jaspr's StatelessComponent, StatefulComponent, and InheritedComponent base classes, and enforces that build() must return a single Component rather than the legacy sync* generator pattern. It also requires dot-shorthand syntax for fragments, text nodes, and empty nodes instead of capitalized component names.
For typed HTML elements such as div(), p(), and button(), it requires putting the children list last after named parameters and preferring typed parameters like href or onClick over raw attributes or events maps. When a component's exact signature is unclear, it points to a matching references/html/<tag>.md file bundled with the skill rather than guessing.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 81d64e8. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are dart).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
jaspr.siteFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Jaspr Component Fundamentals loads about 1.8k tokens when it runs, and up to ~9.3k if it reads all its reference files. Until then it costs about 46 tokens; SKILL.md has 562 words of instructions outside code blocks.
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.
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.
The full file from rodydavis/signals.dart at commit 81d64e8, republished under its Apache-2.0 licence (© rodydavis). 562 words, ~1,789 tokens.
.claude/skills/jaspr-fundamentals/SKILL.md (or your agent's skills folder). This skill also uses 85 other files; get the full folder from GitHub.Jaspr uses a component-based architecture very similar to Flutter's widgets. Concepts like ui composition, architecture and state management are transferable.
Component build(BuildContext context).State class. The state has lifecycle methods like initState() and dispose(). You must override Component build(BuildContext context) in the state class.buildBuilding UIs in Jaspr requires you to return a single Component from build().
Iterable<Component> build(BuildContext context) sync*. This is legacy code..fragment([...]) (Do NOT use Fragment([...]) or fragment([...]))..text('...') (Do NOT use Text('...') or text('...'))..empty() to return an empty space safely.Example Usage:
import 'package:jaspr/jaspr.dart';
import 'package:jaspr/dom.dart';
class MyComponent extends StatelessComponent {
const MyComponent({super.key});
@override
Component build(BuildContext context) {
// 1. Return a single component (e.g. div)
// 2. Use dot-shorthand (.text) instead of Text()
return div(classes: 'my-class', [
.text('Hello World'),
]);
}
}Jaspr provides typed components for standard HTML elements (e.g., div(), p(), a(), button()). To use these add the package:jaspr/dom.dart import.
All HTML components take standard named Key? key, String? id, String? classes, Styles? style, Map<String, String>? attributes and Map<String, void Function(Event)>? events parameters.
Most HTML components take a positional List<Component> children parameter (except for self-closing tags like img, input, br, etc.).
children list LAST, after all named parameters.href, src, onClick) over using the raw attributes: or events: maps.references/html/<tag>.md contains the full signature and example usage of the component for the given tag. (e.g. references/html/div.md for div(), references/html/button.md for button(), etc.).element(tag: '...', /* other standard params, */ children: [ /* ... */ ]) constructor instead.Example Usage:
import 'package:jaspr/jaspr.dart';
import 'package:jaspr/dom.dart';
class MyHtmlComponent extends StatelessComponent {
const MyHtmlComponent({super.key});
@override
Component build(BuildContext context) {
return div(id: 'my-container', classes: 'my-class', [
p(attributes: {'aria-label': 'Example Paragraph'}, [
.text('Hello World'),
]),
// E.g. signature as found at 'references/html/a.md'
a(href: 'https://example.com', [
.text('Click me'),
]),
]);
}
}Jaspr has built-in support for styling components using CSS-in-Dart. See the jaspr-styling skill for more information.
package:universal_web/web.dart to access browser APIs and package:universal_web/js_interop.dart to access js interop APIs.package:universal_web in server or static mode, you MUST wrap all API calls in an if (kIsWeb) check to prevent crashing the server render.dart:js_interop and package:web directly.web.EventStreamProviders to listen to events on the window or document as they provide a typed Dart Stream of events.// Example of safe usage in server/static mode:
import 'package:universal_web/web.dart' as web;
void logSize() {
if (kIsWeb) {
print('Window size: ${web.window.innerWidth}x${web.window.innerHeight}');
// Example of global event listener
final sub = web.EventStreamProviders.resizeEvent.forTarget(web.window).listen((event) {
print('Window resized');
});
}
}All DOM components support an events: parameter, and interactive components feature typed event callbacks (like onClick, onChange).
web.Event when typing raw events.events() helper function for type-safe callback creation when needed.import 'package:jaspr/jaspr.dart';
import 'package:jaspr/dom.dart';
import 'package:universal_web/web.dart' as web;
class MyButton extends StatelessComponent {
@override
Component build(BuildContext context) {
return div(
// Using raw events
events: {'click': (web.Event event) {
print('Div clicked');
}},
[
// Using typed parameters
button(
onClick: () => print('Button clicked'),
[.text('Click me')]
)
]
);
}
}If you need direct reference to an underlying DOM element rendered by Jaspr, you can assign it a GlobalNodeKey.
import 'package:jaspr/jaspr.dart';
import 'package:jaspr/dom.dart';
import 'package:universal_web/web.dart' as web;
class MyInput extends StatefulComponent {
@override
State<MyInput> createState() => _MyInputState();
}
class _MyInputState extends State<MyInput> {
final GlobalNodeKey<web.HTMLInputElement> inputKey = GlobalNodeKey();
void focusInput() {
inputKey.currentNode?.focus();
}
@override
Component build(BuildContext context) {
return input(key: inputKey, type: .text);
}
}@client annotation see the related skill: jaspr-pre-rendering-and-hydration.© 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
SKILL.md and 85 other files (references) in .agents/skills/jaspr-fundamentals of rodydavis/signals.dart.
Open the folder on GitHubat commit 81d64e8
Jaspr Component Fundamentals 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Jaspr Component Fundamentals this skillrodydavis/signals.dart | 819 | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Frontend UI StandardsMaxHan7/frontend-ui-standards-skill | 106 | — | ~2.4k | Automated safety check: Pass | MIT | |
| InternationalizationVeryGoodOpenSource/vgv-ai-flutter-plugin | 170 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Flutter Riverpod State Managementandrewyng/context-hub | 14k | — | ~1.1k | Automated safety check: Pass | MIT | |
| BlocVeryGoodOpenSource/vgv-ai-flutter-plugin | 170 | — | ~2k | Automated safety check: Pass | MIT | |
| Flutter Dart Code Reviewaffaan-m/ECC | 277k | 2 repos | ~5.8k | Automated safety check: Notes | MIT |
MaxHan7/frontend-ui-standards-skill
A skill your agent uses when implementing, refactoring, or reviewing frontend UI across SwiftUI, React, React Native, Flutter, web, or mobile apps.
VeryGoodOpenSource/vgv-ai-flutter-plugin
Best practices for internationalization (i18n) and localization (l10n) in Flutter, using the built-in flutterlocalizations and intl setup with ARB files as the single source of truth.
andrewyng/context-hub
Guides Flutter state management with Riverpod: choosing provider types, wiring ConsumerWidgets, handling async state and lifecycle, and overriding providers in tests.
VeryGoodOpenSource/vgv-ai-flutter-plugin
Best practices for Bloc state management in Flutter/Dart, covering Cubit versus Bloc, event and state naming, sealed classes with Equatable, the Page/View split with BlocProvider, BlocBuilder…
affaan-m/ECC
Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance…
andrewyng/context-hub
Helps choose between Bloc and Cubit in Flutter and sets defaults for packages, lifecycle, widget binding and tests.
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.
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.
rodydavis/signals.dart
Sets the rules for static or server mode Jaspr apps in Dart, covering dual entrypoints, the client annotation and data hydration.
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.
rodydavis/signals.dart
Use when you need to convert / rewrite existing HTML (from a file or url) into Jaspr code.
rodydavis/signals.dart
Runs, merges, and analyzes Dart and Flutter test coverage across a Melos monorepo, then targets the exact uncovered lines.
Categories
Teaches the agent Jaspr's Flutter-like component model and typed HTML elements, with strict rules on build methods and helper syntax. This skill covers Jaspr's StatelessComponent, StatefulComponent, and InheritedComponent base classes, and enforces that build() must return a single Component rather than the legacy sync* generator pattern. It also requires dot-shorthand syntax for fragments, text nodes, and empty nodes instead of capitalized component names.
Jaspr Component Fundamentals fits situations like: writing or reviewing a Jaspr component; building typed HTML elements in a Jaspr project; checking the correct Jaspr API for a specific HTML tag.
Run `npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a claude-code`. Or copy the skill folder (.agents/skills/jaspr-fundamentals in rodydavis/signals.dart) into .claude/skills/jaspr-fundamentals in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a codex`. Or copy the skill folder (.agents/skills/jaspr-fundamentals in rodydavis/signals.dart) into .agents/skills/jaspr-fundamentals in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rodydavis/signals.dart --skill jaspr-fundamentals -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/jaspr-fundamentals, .gemini/skills/jaspr-fundamentals, .github/skills/jaspr-fundamentals and .opencode/skills/jaspr-fundamentals in your project.
SKILL.md names no scripts, command-line tools or credentials: Jaspr Component Fundamentals is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: jaspr.site. This is read from the text; nothing was executed.
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.
Jaspr Component Fundamentals 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.
About 1.8k tokens (SKILL.md is roughly 7.2k 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 7.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Jaspr Component Fundamentals: Frontend UI Standards (MaxHan7/frontend-ui-standards-skill, 106 stars), Internationalization (VeryGoodOpenSource/vgv-ai-flutter-plugin, 170 stars), Flutter Riverpod State Management (andrewyng/context-hub, 14k stars) and Bloc (VeryGoodOpenSource/vgv-ai-flutter-plugin, 170 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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.