Skip to main content
GitHub 仓库

svelte-skills

svelte-skills 收录了来自 fubits1 的 21 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。

已收集 skills
21
Stars
10
更新
2026-07-25
Forks
2
职业覆盖
4 个职业分类 · 已分类 100%
仓库浏览

这个仓库中的 skills

msw
软件开发工程师

MSW 2 (Mock Service Worker) mocking in Svelte: Storybook, Vitest browser tests, SvelteKit dev/SSR. Use when writing handlers or fixtures, when a story renders blank or errors Failed to fetch, or when migrating msw-storybook-addon v2 to v3.

2026-07-25
vitest
软件开发工程师

Vitest test.projects, browser mode with playwright(), optimizeDeps, separate vitest.config from vite.config. Use when editing vitest config, debugging flaky browser tests, upgrading @vitest/*, or splitting node vs browser projects.

2026-07-25
storybook-vitest
软件质量保证分析师与测试员

Svelte CSF (@storybook/addon-svelte-csf) + @storybook/addon-vitest: .stories.svelte as Vitest browser tests with play functions and tags. Use when wiring or debugging Svelte Storybook tests in Vitest/CI, not for React/Vue/CSF3 .ts story files.

2026-07-25
validate
软件质量保证分析师与测试员

Validation discipline for all code changes, testing, baselines, browser checks, CSS screenshots. Auto-invoke whenever making code changes, running tests, or declaring a task done.

2026-07-24
storybook
软件开发工程师

Storybook workflow, MCP tools, fixtures, CSS import chains. Auto-invoke when working with Storybook stories or components.

2026-07-24
testing-svelte
软件质量保证分析师与测试员

Fix and create Svelte 5 tests with vitest-browser-svelte and Playwright. Use when fixing broken tests, debugging failures, writing unit/SSR/e2e tests, or working with vitest/Playwright.

2026-07-24
code-style
软件开发工程师

Code style rules for all languages: variable naming, brace style, HTML data attributes, CSS nesting. Auto-invoke when editing code files, writing new functions, or naming variables.

2026-07-23
validate-file
软件开发工程师

Validate edited files, lint .svelte/.ts/.js, test stories, lint markdown. Auto-invoke after ANY file edit before declaring done. User-invocable as /validate-file [files].

2026-06-29
editing
软件开发工程师

File editing discipline, preserving comments, using correct types, refactoring safely. Auto-invoke when editing code files.

2026-06-16
web-design-guidelines
网页与数字界面设计师

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

2026-06-15
migration-svelte-5
软件开发工程师

Use when migrating .svelte files from Svelte 3/4 to Svelte 5 runes. Auto-invoke when converting $: reactive blocks, export let props, createEventDispatcher, or slot patterns. Covers interop with unmigrated Svelte 4 children/parents.

2026-06-15
code-style-svelte
软件开发工程师

Svelte component code style rules. Auto-invoke when creating new .svelte files or editing Svelte component structure. Covers component documentation comments and Svelte-specific style conventions.

2026-06-15
composition-svelte
软件开发工程师

Use when composing a Svelte 5 feature from provider/wrapper components, content snippets, reactive state, or third-party DOM bridging (maplibre, leaflet, d3, tippy, popper). Covers overlay wrappers, snippet APIs, and state location.

2026-06-15
js-config
软件开发工程师

Use when editing ESLint, Prettier, Stylelint, PostCSS, or Svelte config files. Use when adding or removing linting plugins, resolving formatter conflicts, auditing JS/TS toolchain configuration, or deciding whether a config package is needed.

2026-06-15
css-nesting
软件开发工程师

Convert flat CSS to nested & syntax while satisfying stylelint's no-descending-specificity and no-duplicate-selectors rules. Use when nesting selectors, refactoring flat CSS to &, or fixing stylelint specificity/duplicate errors after nesting.

2026-06-15
css-subgrid
软件开发工程师

Use when building card grids, tile layouts, or repeated components where inner content (icons, titles, prices, buttons) must align across siblings. Also use when seeing misaligned card content at different text lengths.

2026-06-15
migration
软件开发工程师

Use when upgrading a framework version, migrating APIs, bumping major dependencies, or any task where "before" and "after" states must be compared. Auto-invoke when user mentions migration, upgrade, breaking changes, or version bumps.

2026-06-15
pixel-perfect
软件开发工程师

Pixel drift detection, mandatory measurement workflow for any CSS or HTML element change. Auto-invoke when editing CSS, changing HTML elements, or replacing DOM structures.

2026-06-15
playwright
软件质量保证分析师与测试员

Playwright MCP usage rules, screenshots, code sandbox, Chrome data. Auto-invoke when using Playwright MCP tools.

2026-06-15
doc-component
软件开发工程师

Document a Svelte component using @component JSDoc. Auto-invoke when asked to document a .svelte component. Reads the component, analyzes its interface, and writes a structured @component comment block.

2026-06-15
code-style-css
网页开发工程师

Use when editing CSS, SCSS, or style blocks in .svelte files. Covers CSS-specific code style rules. Auto-invoke when writing or modifying styles.

2026-04-10