@primeuicom/agent-setup 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/index.d.ts +136 -0
  2. package/dist/index.js +1002 -0
  3. package/dist/index.js.map +1 -0
  4. package/package.json +37 -0
  5. package/presets/claude-code/.claude/settings.json +25 -0
  6. package/presets/claude-code/.claude/skills/git-commit/SKILL.md +124 -0
  7. package/presets/claude-code/.claude/skills/next-best-practices/SKILL.md +152 -0
  8. package/presets/claude-code/.claude/skills/tailwind-design-system/SKILL.md +874 -0
  9. package/presets/claude-code/.claude/skills/vitest/SKILL.md +52 -0
  10. package/presets/claude-code/.mcp.json +25 -0
  11. package/presets/claude-code/skills-lock.json +16 -0
  12. package/presets/codex/.agents/skills/git-commit/SKILL.md +124 -0
  13. package/presets/codex/.agents/skills/next-best-practices/SKILL.md +152 -0
  14. package/presets/codex/.agents/skills/tailwind-design-system/SKILL.md +874 -0
  15. package/presets/codex/.agents/skills/vitest/SKILL.md +52 -0
  16. package/presets/codex/.codex/config.toml +17 -0
  17. package/presets/codex/skills-lock.json +16 -0
  18. package/presets/cursor/.agents/skills/git-commit/SKILL.md +124 -0
  19. package/presets/cursor/.agents/skills/next-best-practices/SKILL.md +152 -0
  20. package/presets/cursor/.agents/skills/tailwind-design-system/SKILL.md +874 -0
  21. package/presets/cursor/.agents/skills/vitest/SKILL.md +52 -0
  22. package/presets/cursor/.cursor/cli.json +17 -0
  23. package/presets/cursor/.cursor/mcp.json +25 -0
  24. package/presets/cursor/.mcp.json +28 -0
  25. package/presets/cursor/skills-lock.json +16 -0
  26. package/presets/gemini-cli/.agents/skills/git-commit/SKILL.md +124 -0
  27. package/presets/gemini-cli/.agents/skills/next-best-practices/SKILL.md +152 -0
  28. package/presets/gemini-cli/.agents/skills/tailwind-design-system/SKILL.md +874 -0
  29. package/presets/gemini-cli/.agents/skills/vitest/SKILL.md +52 -0
  30. package/presets/gemini-cli/.gemini/settings.json +25 -0
  31. package/presets/gemini-cli/skills-lock.json +16 -0
  32. package/presets/mcporter/config/mcporter.json +25 -0
  33. package/presets/opencode/.agents/skills/git-commit/SKILL.md +124 -0
  34. package/presets/opencode/.agents/skills/next-best-practices/SKILL.md +152 -0
  35. package/presets/opencode/.agents/skills/tailwind-design-system/SKILL.md +874 -0
  36. package/presets/opencode/.agents/skills/vitest/SKILL.md +52 -0
  37. package/presets/opencode/opencode.json +34 -0
  38. package/presets/opencode/skills-lock.json +16 -0
  39. package/presets/vscode/.vscode/mcp.json +25 -0
  40. package/presets/zed/.zed/settings.json +31 -0
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: vitest
3
+ description: Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.
4
+ metadata:
5
+ author: Anthony Fu
6
+ version: "2026.1.28"
7
+ source: Generated from https://github.com/vitest-dev/vitest, scripts located at https://github.com/antfu/skills
8
+ ---
9
+
10
+ Vitest is a next-generation testing framework powered by Vite. It provides a Jest-compatible API with native ESM, TypeScript, and JSX support out of the box. Vitest shares the same config, transformers, resolvers, and plugins with your Vite app.
11
+
12
+ **Key Features:**
13
+ - Vite-native: Uses Vite's transformation pipeline for fast HMR-like test updates
14
+ - Jest-compatible: Drop-in replacement for most Jest test suites
15
+ - Smart watch mode: Only reruns affected tests based on module graph
16
+ - Native ESM, TypeScript, JSX support without configuration
17
+ - Multi-threaded workers for parallel test execution
18
+ - Built-in coverage via V8 or Istanbul
19
+ - Snapshot testing, mocking, and spy utilities
20
+
21
+ > The skill is based on Vitest 3.x, generated at 2026-01-28.
22
+
23
+ ## Core
24
+
25
+ | Topic | Description | Reference |
26
+ |-------|-------------|-----------|
27
+ | Configuration | Vitest and Vite config integration, defineConfig usage | [core-config](references/core-config.md) |
28
+ | CLI | Command line interface, commands and options | [core-cli](references/core-cli.md) |
29
+ | Test API | test/it function, modifiers like skip, only, concurrent | [core-test-api](references/core-test-api.md) |
30
+ | Describe API | describe/suite for grouping tests and nested suites | [core-describe](references/core-describe.md) |
31
+ | Expect API | Assertions with toBe, toEqual, matchers and asymmetric matchers | [core-expect](references/core-expect.md) |
32
+ | Hooks | beforeEach, afterEach, beforeAll, afterAll, aroundEach | [core-hooks](references/core-hooks.md) |
33
+
34
+ ## Features
35
+
36
+ | Topic | Description | Reference |
37
+ |-------|-------------|-----------|
38
+ | Mocking | Mock functions, modules, timers, dates with vi utilities | [features-mocking](references/features-mocking.md) |
39
+ | Snapshots | Snapshot testing with toMatchSnapshot and inline snapshots | [features-snapshots](references/features-snapshots.md) |
40
+ | Coverage | Code coverage with V8 or Istanbul providers | [features-coverage](references/features-coverage.md) |
41
+ | Test Context | Test fixtures, context.expect, test.extend for custom fixtures | [features-context](references/features-context.md) |
42
+ | Concurrency | Concurrent tests, parallel execution, sharding | [features-concurrency](references/features-concurrency.md) |
43
+ | Filtering | Filter tests by name, file patterns, tags | [features-filtering](references/features-filtering.md) |
44
+
45
+ ## Advanced
46
+
47
+ | Topic | Description | Reference |
48
+ |-------|-------------|-----------|
49
+ | Vi Utilities | vi helper: mock, spyOn, fake timers, hoisted, waitFor | [advanced-vi](references/advanced-vi.md) |
50
+ | Environments | Test environments: node, jsdom, happy-dom, custom | [advanced-environments](references/advanced-environments.md) |
51
+ | Type Testing | Type-level testing with expectTypeOf and assertType | [advanced-type-testing](references/advanced-type-testing.md) |
52
+ | Projects | Multi-project workspaces, different configs per project | [advanced-projects](references/advanced-projects.md) |
@@ -0,0 +1,34 @@
1
+ {
2
+ "mcp": {
3
+ "primeui": {
4
+ "type": "local",
5
+ "command": [
6
+ "npx",
7
+ "-y",
8
+ "@primeuicom/mcp@latest"
9
+ ],
10
+ "enabled": true,
11
+ "environment": {}
12
+ },
13
+ "chrome-devtools": {
14
+ "type": "local",
15
+ "command": [
16
+ "npx",
17
+ "-y",
18
+ "chrome-devtools-mcp@latest"
19
+ ],
20
+ "enabled": true,
21
+ "environment": {}
22
+ },
23
+ "next-devtools": {
24
+ "type": "local",
25
+ "command": [
26
+ "npx",
27
+ "-y",
28
+ "next-devtools-mcp@latest"
29
+ ],
30
+ "enabled": true,
31
+ "environment": {}
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "skills": {
3
+ "git-commit": {
4
+ "source": "github/awesome-copilot"
5
+ },
6
+ "next-best-practices": {
7
+ "source": "vercel-labs/next-skills"
8
+ },
9
+ "vitest": {
10
+ "source": "pproenca/dot-skills"
11
+ },
12
+ "tailwind-design-system": {
13
+ "source": "wshobson/agents"
14
+ }
15
+ }
16
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "servers": {
3
+ "primeui": {
4
+ "command": "npx",
5
+ "args": [
6
+ "-y",
7
+ "@primeuicom/mcp@latest"
8
+ ]
9
+ },
10
+ "chrome-devtools": {
11
+ "command": "npx",
12
+ "args": [
13
+ "-y",
14
+ "chrome-devtools-mcp@latest"
15
+ ]
16
+ },
17
+ "next-devtools": {
18
+ "command": "npx",
19
+ "args": [
20
+ "-y",
21
+ "next-devtools-mcp@latest"
22
+ ]
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "context_servers": {
3
+ "primeui": {
4
+ "source": "custom",
5
+ "command": "npx",
6
+ "args": [
7
+ "-y",
8
+ "@primeuicom/mcp@latest"
9
+ ],
10
+ "env": {}
11
+ },
12
+ "chrome-devtools": {
13
+ "source": "custom",
14
+ "command": "npx",
15
+ "args": [
16
+ "-y",
17
+ "chrome-devtools-mcp@latest"
18
+ ],
19
+ "env": {}
20
+ },
21
+ "next-devtools": {
22
+ "source": "custom",
23
+ "command": "npx",
24
+ "args": [
25
+ "-y",
26
+ "next-devtools-mcp@latest"
27
+ ],
28
+ "env": {}
29
+ }
30
+ }
31
+ }