Skip to content
Skills Library
Programming · Testing

ui-lint

/ui-lint

Run targeted rendered UI verification with lintapple (`pnpm lint:ui <target>`). Use whenever modifying Svelte routes (`src/routes/`), UI components (`src/components/`), CSS stylesheets (`src/app.css`, `src/lib/style/`), the landing page (`index.html`), or documentation pages (`docs/`).

Repository
omniget ↗
Licence
GPL-3.0
Last repository change
06.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 06.11.2026, without references to retired models or APIs.

Licence

GPL-3.0, otwarta.

What it does and when to use it

Run targeted rendered UI verification with lintapple (`pnpm lint:ui <target>`). Use whenever modifying Svelte routes (`src/routes/`), UI components (`src/components/`), CSS stylesheets (`src/app.css`, `src/lib/style/`), the landing page (`index.html`), or documentation pages (`docs/`).

Original author description

Run targeted rendered UI verification with lintapple (`pnpm lint:ui <target>`). Use whenever modifying Svelte routes (`src/routes/`), UI components (`src/components/`), CSS stylesheets (`src/app.css`, `src/lib/style/`), the landing page (`index.html`), or documentation pages (`docs/`).

How it works

  1. Workflow
  2. File-to-Target Mapping
  3. Policies & Baseline Rules
Original SKILL.md headings · 36 lines, 316 words
SKILL.md preview
---
name: ui-lint
description: >-
  Run targeted rendered UI verification with lintapple (`pnpm lint:ui <target>`).
  Use whenever modifying Svelte routes (`src/routes/`), UI components
  (`src/components/`), CSS stylesheets (`src/app.css`, `src/lib/style/`), the
  landing page (`index.html`), or documentation pages (`docs/`).
---

# Targeted UI Lint (`lintapple`)

Verify rendered layout, typography scale, concentric border radii, contrast, and accessibility on the exact surface you modified before completing any UI or documentation task.

## Workflow

1. Identify the target route or page matching the files you modified using the table below.
2. Run `pnpm lint:ui <target>` (add `--json` to inspect full DOM selectors and suggested fixes).
3. Fix every new finding reported against your changes and re-run `pnpm lint:ui <target>` until it exits `0`.

## File-to-Target Mapping

| Modified Path | Command to Run | Policy Applied |
| :--- | :--- | :--- |
| `src/routes/<feature>/**` | `pnpm lint:ui /<feature>` | `ui-policy.app.json` + baseline |
| `src/routes/+page.svelte` | `pnpm lint:ui /` | `ui-policy.app.json` + durable baseline |
| `src/lib/style/settings.css` | `pnpm lint:ui /settings` | `ui-policy.app.json` + baseline |
| `src/lib/style/queue-kinds.css` | `pnpm lint:ui /downloads` | `ui-policy.app.json` + baseline |
| `src/lib/style/notes.css` | `pnpm lint:ui /study` | `ui-policy.app.json` + baseline |
| `src/routes/+layout.svelte`, `src/components/shell/**`, `src/lib/style/buttons.css`, `src/lib/style/primitives.css` | `pnpm lint:ui --shell` | `ui-policy.app.json` + baseline |
| `src/app.css` | `pnpm lint:ui /settings --all-themes` | `ui-policy.app.json` across all 14 themes |
| `index.html` | `pnpm lint:ui index.html` | `ui-policy.docs.json` (0 findings required) |
| `docs/<section>/index.html` | `pnpm lint:ui docs/<section>/index.html` | `ui-policy.docs.json` (0 findings required) |

## Policies & Baseline Rules

- **Desktop App ([`ui-policy.app.json`](../../../ui-policy.app.json))**:
  - Enforces [src/app.css](../../../src/app.css) typography, control sizing, spacing, and third-party canvas exceptions across default and minimum Tauri window viewports.
  - Compares per-theme rule counts against [`scripts/ui-lint-baseline.json`](../../../scripts/ui-lint-baseline.json). The check exits `0` when no rule count increases on the target route.
  - When adding a new token size to `src/app.css`, update `ui-policy.app.json` in the same commit.
  - When cleaning up pre-existing UI findings on a route, ratchet its baseline down with `pnpm lint:ui:update /<feature>`.
- **Landing Page & Docs ([`ui-policy.docs.json`](../../../ui-policy.docs.json))**:
  - Enforces desktop and mobile viewports across `dark` and `light` themes, including `bannedCopy` rules.
  - Requires strict zero findings (`0` tolerance).

Versions

The database has no other skills named ui-lint.

Database snapshot: 13.11.2026 · package version 6275c3c5e509 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90code-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.
  • 100shadcn-svelte
    Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.
  • 90svelte
    Svelte 5 and SvelteKit development standards and best practices for component-based user interfaces and full-stack applications Triggers on: **/*.svelte, **/*.ts, **/*.js, **/*.css, **/*.scss, **/*.json
  • 100svelte-code-writer
    CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (`.svelte`) or Svelte module (`.svelte.ts`/`.svelte.js`).
  • 90svelte-best-practices
    Svelte 5 and SvelteKit conventions for explicit reactive ownership and component lifecycles. Use when creating or reviewing Svelte components, runes, context, or form actions.
  • 100svelte-code-writer
    CLI tools for Svelte 5 documentation lookup and code analysis. MUST be used whenever creating, editing or analyzing any Svelte component (`.svelte`) or Svelte module (`.svelte.ts`/`.svelte.js`). If possible, this skill should be executed within the `svelte-file-editor` subagent for optimal results.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.