x0k/svelte-jsonschema-form/sjsf-monorepo-dev

Claude Code and agent skill by x0k/svelte-jsonschema-form

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Development and contribution workflows for the svelte-jsonschema-form monorepo. Use when building packages, running vitest browser tests with playwright, adding new themes or validator packages, checking types with turbo/svelte-check, or creating changesets.

Install

npx vskill@latest install x0k/svelte-jsonschema-form/sjsf-monorepo-dev

SKILL.md

SJSF Monorepo Development & Contributing

This skill guides development, testing, and contribution inside the svelte-jsonschema-form repository.

Step 1: Package Manager & Environment Setup

This repository enforces `pnpm` strictly via only-allow:

bash
# Verify pnpm version
pnpm --version
# Install all workspace dependencies
pnpm install

Do not run npm install or yarn install.


Step 2: Build and Type Check

Builds are orchestrated by Turbo:

bash
# Build all packages across the workspace
pnpm build
# Typecheck all packages
pnpm check
# Start development watchers
pnpm dev

Step 3: Run Automated Tests

SJSF utilizes Vitest in browser mode using Playwright to test components inside a real headless browser environment:

bash
# Run all workspace test suites
pnpm test
# Test a single package
pnpm --filter @sjsf/form test
pnpm --filter @sjsf/shadcn4-theme test
pnpm --filter @sjsf/ajv8-validator test

See Contributing Workflows for package layouts and testing harnesses (theme-testing, validator-testing).


Step 4: Formatting and Linting

The repo uses oxfmt for ultra-fast formatting and ESLint for code quality:

bash
# Check formatting
pnpm format:check
# Format code
pnpm format
# Run ESLint
pnpm lint
pnpm lint:fix

Step 5: Recording Changesets

Every PR introducing a bugfix, new feature, or breaking change must include a changeset:

bash
# Generate a changeset
pnpm changeset

Follow the interactive prompts:

  1. Select packages that changed.
  2. Select semver bump type (patch, minor, major).
  3. Enter a clear summary of changes.

Versioning uses fixed groups (see .changeset/config.json): bumping one grouped package bumps the whole group.


Gotchas & Rules

  1. Browser Testing Requirement: Unit tests test real DOM rendering via @vitest/browser and Playwright. Ensure local browser dependencies are present if running full suites locally.
  2. Catalog Dependencies: Shared dependencies (Svelte, Vite, TypeScript) are declared in pnpm-workspace.yaml catalog. Reference them in individual package.json files using "catalog:".
  3. No Unmatched Formatting Pattern: Lint-staged runs oxfmt --no-error-on-unmatched-pattern. Always format before committing.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/x0k/svelte-jsonschema-form/sjsf-monorepo-dev/badge)](https://verified-skill.com/skills/x0k/svelte-jsonschema-form/sjsf-monorepo-dev)

Something wrong with this skill or its page? Tell us.