Svelte Core Best Practices
rilldata/rill
Rules for writing idiomatic Svelte 5 code: when to reach for runes like state, derived and effect, and how to handle props, attachments and bindings.
A skill your agent uses when adding or updating FlClash Riverpod provider tests, notifier tests, or state-management tests in this repository.
$ npx skills add yqlay/flclash-tui --skill provider-tests -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install yqlay/flclash-tui provider-tests --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/yqlay/flclash-tui.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/provider-tests .claude/skills/provider-tests && 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 "provider-tests" agent skill from https://github.com/yqlay/flclash-tui/tree/main/.agents/skills/provider-tests into .claude/skills/provider-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "provider-tests", 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/yqlay/flclash-tui/tree/main/.agents/skills/provider-testsType 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 yqlay/flclash-tui --skill provider-tests -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install yqlay/flclash-tui provider-tests --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yqlay/flclash-tui.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/provider-tests .agents/skills/provider-tests && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "provider-tests" agent skill from https://github.com/yqlay/flclash-tui/tree/main/.agents/skills/provider-tests into .agents/skills/provider-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "provider-tests", 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 yqlay/flclash-tui --skill provider-tests -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install yqlay/flclash-tui provider-tests --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yqlay/flclash-tui.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/provider-tests .cursor/skills/provider-tests && 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 "provider-tests" agent skill from https://github.com/yqlay/flclash-tui/tree/main/.agents/skills/provider-tests into .cursor/skills/provider-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "provider-tests", 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/yqlay/flclash-tui.git --path .agents/skills/provider-tests--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 yqlay/flclash-tui --skill provider-tests -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install yqlay/flclash-tui provider-tests --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yqlay/flclash-tui.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/provider-tests .gemini/skills/provider-tests && 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 "provider-tests" agent skill from https://github.com/yqlay/flclash-tui/tree/main/.agents/skills/provider-tests into .gemini/skills/provider-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "provider-tests", 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 yqlay/flclash-tui provider-testsInstalls 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 yqlay/flclash-tui --skill provider-tests -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/yqlay/flclash-tui.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/provider-tests .github/skills/provider-tests && 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 "provider-tests" agent skill from https://github.com/yqlay/flclash-tui/tree/main/.agents/skills/provider-tests into .github/skills/provider-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "provider-tests", 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 yqlay/flclash-tui --skill provider-tests -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install yqlay/flclash-tui provider-tests --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/yqlay/flclash-tui.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/provider-tests .opencode/skills/provider-tests && 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 "provider-tests" agent skill from https://github.com/yqlay/flclash-tui/tree/main/.agents/skills/provider-tests into .opencode/skills/provider-tests/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "provider-tests", 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.
provider-testsA skill your agent uses when adding or updating FlClash Riverpod provider tests, notifier tests, or state-management tests in this repository.
Provider Tests is an agent skill from yqlay/flclash-tui. Use when adding or updating FlClash Riverpod provider tests, notifier tests, or state-management tests in this repository.
Its SKILL.md is about 360 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 Frontend & Design, covering State management. The repository describes itself as: Linux/SSH/headless Mihomo TUI. Default silent: only flc COMMAND uses the proxy. The licence is GPL-3.0.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 89df3cf. 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.
Shell commands in SKILL.md call:
flutterdartFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From 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.
Provider Tests loads about 363 tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 160 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 yqlay/flclash-tui at commit 89df3cf, republished under its GPL-3.0 licence (© yqlay). 160 words, ~363 tokens.
.claude/skills/provider-tests/SKILL.md (or your agent's skills folder).Use this for tests under test/providers/ or any change that validates Riverpod providers, generated notifiers, app state defaults, or provider interactions.
For broader test expansion, pair this with .agents/rules.md and .agents/commands.md.
Read the provider under test and its generated public API before writing assertions.
Use ProviderContainer directly when no widget tree is needed.
Dispose containers in teardown or with addTearDown(container.dispose).
Prefer generated notifier APIs over implementation details. Generated update() takes a callback:
notifier.update((state) => newValue);Mock external dependencies with mocktail; register fallback values for freezed params used with any().
Keep tests focused on behavior: defaults, state transitions, persistence boundaries, and side effects.
Run the narrowest relevant test first:
flutter test test/providers/dart test; FlClash models and provider tests may depend on Flutter types.© yqlay, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/provider-tests of yqlay/flclash-tui.
Open the folder on GitHubat commit 89df3cf
Provider Tests 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 |
|---|---|---|---|---|---|---|
| Provider Tests this skillyqlay/flclash-tui | 119 | — | ~363 | Automated safety check: Pass | GPL-3.0 | |
| Svelte Core Best Practicesrilldata/rill | 2.9k | 4 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Dify Component Writing Guidelanggenius/dify | 158k | — | ~626 | Automated safety check: Pass | Custom licence | |
| React State Managementinvolvex/youtube-music-cli | 456 | 13 repos | ~3k | Automated safety check: Pass | MIT | |
| GPUI Kit Desktop App GuideAprilNEA/OpenLogi | 23k | — | ~5.5k | Automated safety check: Pass | Apache-2.0 | |
| Pierre Theming Librarypierrecomputer/pierre | 6.2k | — | ~661 | Automated safety check: Pass | Apache-2.0 |
rilldata/rill
Rules for writing idiomatic Svelte 5 code: when to reach for runes like state, derived and effect, and how to handle props, attachments and bindings.
langgenius/dify
Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…
involvex/youtube-music-cli
Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query.
AprilNEA/OpenLogi
Guides building Rust desktop apps with the gpui-kit crate, covering component selection, state ownership, theming and overlays, plus normative GPUI coding rules.
pierrecomputer/pierre
Explains how to use the @pierre/theming package to list, resolve, select, switch and persist themes, with controller, color and React references.
kurealnum/dotfiles
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
yqlay/flclash-tui
A skill your agent uses when changing FlClash UI text, scanning for hardcoded Chinese strings, updating ARB localization, or fixing generated locale output in this repository.
yqlay/flclash-tui
A skill your agent uses when changing FlClash Flutter UI, widgets, screens, Material You styling, navigation surfaces, or user-facing interactions.
yqlay/flclash-tui
A skill your agent uses when changing Linux TUI/CLI SSH Capture copy, empty states, picker labels, SSH dashboard hints, or the Connect vs Capture vs ssh -D vs ssh -R user flow.
yqlay/flclash-tui
A skill your agent uses when changing FlClash core integration, platform managers, Go core communication, desktop/mobile platform behavior, or Windows helper flow.
Categories
A skill your agent uses when adding or updating FlClash Riverpod provider tests, notifier tests, or state-management tests in this repository. Provider Tests is an agent skill from yqlay/flclash-tui. Use when adding or updating FlClash Riverpod provider tests, notifier tests, or state-management tests in this repository.
Provider Tests fits situations like: updating FlClash Riverpod provider tests; state-management tests in this repository.
Run `npx skills add yqlay/flclash-tui --skill provider-tests -a claude-code`. Or copy the skill folder (.agents/skills/provider-tests in yqlay/flclash-tui) into .claude/skills/provider-tests in your project. Claude Code loads it when a task matches its description.
Run `npx skills add yqlay/flclash-tui --skill provider-tests -a codex`. Or copy the skill folder (.agents/skills/provider-tests in yqlay/flclash-tui) into .agents/skills/provider-tests 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 yqlay/flclash-tui --skill provider-tests -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/provider-tests, .gemini/skills/provider-tests, .github/skills/provider-tests and .opencode/skills/provider-tests in your project.
Going by SKILL.md and its folder, Provider Tests needs the command-line tools its instructions call (flutter and dart).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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.
Provider Tests is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 363 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Provider Tests: Svelte Core Best Practices (rilldata/rill, 2.9k stars), Dify Component Writing Guide (langgenius/dify, 158k stars), React State Management (involvex/youtube-music-cli, 456 stars) and GPUI Kit Desktop App Guide (AprilNEA/OpenLogi, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
yqlay (a GitHub user) maintains it in yqlay/flclash-tui, which has 119 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 5, 2026.
Source: yqlay/flclash-tui on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.