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.
Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction.
$ npx skills add spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install spec-kitty/spec-kitty spk-doctrine-semantic-compression --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/spec-kitty/spec-kitty.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src/charter/offering/skills/spk-doctrine-semantic-compression .claude/skills/spk-doctrine-semantic-compression && 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 "spk-doctrine-semantic-compression" agent skill from https://github.com/spec-kitty/spec-kitty/tree/main/src/charter/offering/skills/spk-doctrine-semantic-compression into .claude/skills/spk-doctrine-semantic-compression/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spk-doctrine-semantic-compression", 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/spec-kitty/spec-kitty/tree/main/src/charter/offering/skills/spk-doctrine-semantic-compressionType 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 spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install spec-kitty/spec-kitty spk-doctrine-semantic-compression --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spec-kitty/spec-kitty.git skills-src && mkdir -p .agents/skills && cp -r skills-src/src/charter/offering/skills/spk-doctrine-semantic-compression .agents/skills/spk-doctrine-semantic-compression && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "spk-doctrine-semantic-compression" agent skill from https://github.com/spec-kitty/spec-kitty/tree/main/src/charter/offering/skills/spk-doctrine-semantic-compression into .agents/skills/spk-doctrine-semantic-compression/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spk-doctrine-semantic-compression", 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 spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install spec-kitty/spec-kitty spk-doctrine-semantic-compression --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spec-kitty/spec-kitty.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/src/charter/offering/skills/spk-doctrine-semantic-compression .cursor/skills/spk-doctrine-semantic-compression && 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 "spk-doctrine-semantic-compression" agent skill from https://github.com/spec-kitty/spec-kitty/tree/main/src/charter/offering/skills/spk-doctrine-semantic-compression into .cursor/skills/spk-doctrine-semantic-compression/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spk-doctrine-semantic-compression", 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/spec-kitty/spec-kitty.git --path src/charter/offering/skills/spk-doctrine-semantic-compression--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 spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install spec-kitty/spec-kitty spk-doctrine-semantic-compression --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spec-kitty/spec-kitty.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/src/charter/offering/skills/spk-doctrine-semantic-compression .gemini/skills/spk-doctrine-semantic-compression && 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 "spk-doctrine-semantic-compression" agent skill from https://github.com/spec-kitty/spec-kitty/tree/main/src/charter/offering/skills/spk-doctrine-semantic-compression into .gemini/skills/spk-doctrine-semantic-compression/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spk-doctrine-semantic-compression", 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 spec-kitty/spec-kitty spk-doctrine-semantic-compressionInstalls 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 spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/spec-kitty/spec-kitty.git skills-src && mkdir -p .github/skills && cp -r skills-src/src/charter/offering/skills/spk-doctrine-semantic-compression .github/skills/spk-doctrine-semantic-compression && 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 "spk-doctrine-semantic-compression" agent skill from https://github.com/spec-kitty/spec-kitty/tree/main/src/charter/offering/skills/spk-doctrine-semantic-compression into .github/skills/spk-doctrine-semantic-compression/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spk-doctrine-semantic-compression", 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 spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install spec-kitty/spec-kitty spk-doctrine-semantic-compression --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/spec-kitty/spec-kitty.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/src/charter/offering/skills/spk-doctrine-semantic-compression .opencode/skills/spk-doctrine-semantic-compression && 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 "spk-doctrine-semantic-compression" agent skill from https://github.com/spec-kitty/spec-kitty/tree/main/src/charter/offering/skills/spk-doctrine-semantic-compression into .opencode/skills/spk-doctrine-semantic-compression/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "spk-doctrine-semantic-compression", 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.
spk-doctrine-semantic-compressionInvoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction.
Spk Doctrine Semantic Compression is an agent skill from spec-kitty/spec-kitty. Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction.
Its SKILL.md is about 230 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: Spec-Driven Development with organizational governance. Specs tell AI agents what to build; Charter governs how they build it. Git-native missions, enforceable workflows, and… The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e533131. 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.
From 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.
Spk Doctrine Semantic Compression loads about 230 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 96 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 spec-kitty/spec-kitty at commit e533131, republished under its MIT licence (© spec-kitty). 96 words, ~230 tokens.
.claude/skills/spk-doctrine-semantic-compression/SKILL.md (or your agent's skills folder).Use this skill when the user asks to reduce, simplify, deduplicate, delete dead code, or refactor while preserving existing behavior.
randy-reducer.semantic-compression.© spec-kitty, MIT. 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 src/charter/offering/skills/spk-doctrine-semantic-compression of spec-kitty/spec-kitty.
Open the folder on GitHubat commit e533131
Spk Doctrine Semantic Compression 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 |
|---|---|---|---|---|---|---|
| Spk Doctrine Semantic Compression this skillspec-kitty/spec-kitty | 1.7k | — | ~230 | Automated safety check: Pass | MIT | |
| 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 | |
| Pierre Theming Librarypierrecomputer/pierre | 6.3k | — | ~661 | Automated safety check: Pass | Apache-2.0 | |
| Frontend Patternskurealnum/dotfiles | 290 | 19 repos | ~3.7k | Automated safety check: Pass | None |
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.
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.
lobehub/lobehub
Explains how LobeHub client code fetches data through services, SWR store hooks and cache keys, and when to avoid useEffect fetching or duplicated state.
spec-kitty/spec-kitty
Install, verify, and recover the modern Spec Kitty 2.0.11+ operating surface.
spec-kitty/spec-kitty
Explain Spec Kitty work with compact, checkable visuals. An agent skill from spec-kitty/spec-kitty.
spec-kitty/spec-kitty
Understand how Spec Kitty manages git: what git operations Python handles automatically, what agents must do manually, worktree lifecycle, auto-commit behavior, merge execution, and the safe-commit…
spec-kitty/spec-kitty
Curate and apply canonical terminology across Spec Kitty missions.
spec-kitty/spec-kitty
Understand how Spec Kitty missions work: the 4 built-in mission types, how they define workflows via step contracts and action indices, how missions and work packages relate, how templates are…
spec-kitty/spec-kitty
Teach agents and external systems how to use spec-kitty orchestrator-api to drive workflows from outside the host CLI.
Categories
Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction. Spk Doctrine Semantic Compression is an agent skill from spec-kitty/spec-kitty. Invoke Randy Reducer and semantic-compression doctrine for behavior-preserving code reduction.
Spk Doctrine Semantic Compression fits situations like: tasks that involve State management.
Run `npx skills add spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a claude-code`. Or copy the skill folder (src/charter/offering/skills/spk-doctrine-semantic-compression in spec-kitty/spec-kitty) into .claude/skills/spk-doctrine-semantic-compression in your project. Claude Code loads it when a task matches its description.
Run `npx skills add spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a codex`. Or copy the skill folder (src/charter/offering/skills/spk-doctrine-semantic-compression in spec-kitty/spec-kitty) into .agents/skills/spk-doctrine-semantic-compression 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 spec-kitty/spec-kitty --skill spk-doctrine-semantic-compression -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/spk-doctrine-semantic-compression, .gemini/skills/spk-doctrine-semantic-compression, .github/skills/spk-doctrine-semantic-compression and .opencode/skills/spk-doctrine-semantic-compression in your project.
SKILL.md names no scripts, command-line tools or credentials: Spk Doctrine Semantic Compression is instructions for the agent only.
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.
Spk Doctrine Semantic Compression is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 230 tokens (SKILL.md is roughly 920 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 Spk Doctrine Semantic Compression: 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 Pierre Theming Library (pierrecomputer/pierre, 6.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
spec-kitty (a GitHub organization) maintains it in spec-kitty/spec-kitty, which has 1,678 GitHub stars. The repository holds 50 skills in this directory. The repository was last updated on October 9, 2026.
Source: spec-kitty/spec-kitty on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.