Index of every page on this site: llms.txt
All skills
meza avatar

/skill-creator

@982e21e
by mezameza/skills2 stars
Run it yourself

Create, update, or evaluate skills. Overrides other `skill-creator` skills.

  • 251 files
  • 13 MB
  • Updated 3 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/meza/skills/skill-creator

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

eval-viewerCONTRIBUTING.md

≈1.4k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Contributing

Work from the eval-viewer directory:

cd plugins/skill-creator/skills/skill-creator/eval-viewer

Install Tools

Install the Node dependencies declared by the viewer project:

npm install

The viewer uses Node tooling for its own maintenance. The Python evaluator tooling in the parent skill-creator directory does not replace these checks.

Maintain the distribution

The committed dist/ directory is the viewer payload installed with the plugin. npm run build regenerates both the browser assets and the bundled Node server. Do not edit generated files directly.

npm run validate rebuilds the distribution. The repository must remain clean after that command so CI can detect stale or non-deterministic generated output. The packaged-viewer test copies the payload without node_modules, launches it from an external working directory, and verifies that runtime state stays out of the installed plugin cache.

Mandatory Local Verification

Before handing off viewer changes, run Biome in automatic fix mode, run Stylelint across the client styles, run the full test suite, run full coverage, and run the Playwright visual test suite:

npm run validate
npm run test:visual

Do not run individual parts of these commands for actual verification.

Always run these commands against the whole viewer project. Do not narrow Biome, Stylelint, Vitest, coverage, or Playwright verification to individual files, components, or subpackages when doing local verification.

Biome, Stylelint, Vitest, coverage, and Playwright must report no violations or failures. Any formatting change, lint violation, test failure, visual regression, or coverage failure is part of the current work and must be handled on the spot, even when it appears tangential to the change that exposed it.

When a new visual screenshot is generated, it must be carefully reviewed and inspected for correctness, consistency with the rest of the application, and visual appeal and common css failure modes.

Biome must use the @meza/biome rule package. Suppressions for Biome are reserved for the absolute last resort and must be approved before they are applied.

Test Coverage

Coverage must always be measured across the whole viewer project:

npm run coverage

The viewer requires 100% meaningful coverage. Do not run or report narrowed coverage for individual files, components, modules, or packages.

Unit and component behaviour should be covered with Vitest. Browser-level interaction and visual correctness should be covered with Playwright.

Visual coverage

Playwright visual tests must cover all states of the application.

Updating playwright snapshots

Before you update snapshots, make sure that the failures aren't due to a change in the application. It is always more likely that they've caught a bug in the application than the screenshots being flaky.

Command to use

The ONLY command to update Playwright snapshots is:

npm run test:visual:update

This might take a while, so be patient.

The :local and :docker variants of the command are purely internal helpers. They are not to be called directly.

CSS Authoring

The viewer uses CSS Modules for component styles. A component that needs component-specific styling must own that styling in a colocated *.module.css file. Do not add component selectors to a shared global stylesheet.

CSS Module class names must use BEM-ish architecture without the enforced selector format. The block name should match the component or a stable domain concept owned by that component. Elements and modifiers should describe structure and state without depending on generated CSS Module hashes:

.run-summary {
  /* Block styles */

  &__metric {
    /* Element styles */
  }

  &--compact {
    /* Modifier styles */
  }
}

Use native CSS nesting where it improves readability. Keep nesting shallow and local to the block being styled. Do not use nesting to recreate broad descendant selector chains across component boundaries.

Shared design decisions belong in native CSS custom properties. Colors, typography, spacing, radii, borders, shadows, transition timings, and similar cross-cutting values must be defined as tokens and consumed through var(...). Component modules may introduce local custom properties only when the value is private to that component and does not represent a reusable design decision.

Stylelint enforces CSS validity across client styles and BEM class names in *.module.css files. Browserslist defines the supported browser target for CSS compatibility tooling, and PostCSS runs through Vite with postcss-preset-env.

Global styles are reserved for application-wide concerns: font loading, design tokens, base element defaults, resets, and layout rules that genuinely cross component ownership boundaries. A global selector must not reach into a component's private structure.

Change Workflow

For viewer changes, add or update tests first, then run the mandatory local verification commands above.

Keep server behaviour covered through API and file-contract tests. Keep frontend behaviour covered through component tests and Playwright tests that exercise the rendered application against representative evaluation artifacts.

Critical

  • Always run the package.json scripts for their respective tasks. Do not invent or run custom scripts and commands to accomplish the same thing.
  • Some targets might take a long time to run. That is not a sign of a problem. Wait longer.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 982e21e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 3 months ago
Other metadata
compatibility
Skill evaluation requires Python 3.13 in the operator environment. The evaluator bootstraps its own packages. The review viewer requires Node.js 24 or newer.

README badge

README badge for meza/skills/skill-creator