@nextsparkjs/ai-workflow 0.1.0-beta.100
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.
- package/LICENSE +21 -0
- package/README.md +115 -0
- package/claude/_docs/workflows-optimizations.md +359 -0
- package/claude/agents/api-tester.md +634 -0
- package/claude/agents/architecture-supervisor.md +1351 -0
- package/claude/agents/backend-developer.md +997 -0
- package/claude/agents/backend-validator.md +417 -0
- package/claude/agents/bdd-docs-writer.md +737 -0
- package/claude/agents/block-developer.md +677 -0
- package/claude/agents/code-reviewer.md +1432 -0
- package/claude/agents/db-developer.md +721 -0
- package/claude/agents/db-validator.md +407 -0
- package/claude/agents/demo-video-generator.md +493 -0
- package/claude/agents/documentation-writer.md +1268 -0
- package/claude/agents/frontend-developer.md +1234 -0
- package/claude/agents/frontend-validator.md +777 -0
- package/claude/agents/functional-validator.md +630 -0
- package/claude/agents/mock-analyst.md +387 -0
- package/claude/agents/product-manager.md +963 -0
- package/claude/agents/qa-automation.md +1762 -0
- package/claude/agents/release-manager.md +634 -0
- package/claude/agents/selectors-translator.md +262 -0
- package/claude/agents/unit-test-writer.md +785 -0
- package/claude/agents/visual-comparator.md +329 -0
- package/claude/agents/workflow-maintainer.md +352 -0
- package/claude/commands/do/README.md +88 -0
- package/claude/commands/do/create-api.md +64 -0
- package/claude/commands/do/create-entity.md +66 -0
- package/claude/commands/do/create-migration.md +64 -0
- package/claude/commands/do/create-plugin.md +56 -0
- package/claude/commands/do/create-theme.md +70 -0
- package/claude/commands/do/mock-data.md +67 -0
- package/claude/commands/do/reset-db.md +71 -0
- package/claude/commands/do/setup-scheduled-action.md +75 -0
- package/claude/commands/do/sync-code-review.md +117 -0
- package/claude/commands/do/update-selectors.md +112 -0
- package/claude/commands/do/use-skills.md +90 -0
- package/claude/commands/do/validate-blocks.md +69 -0
- package/claude/commands/how-to/README.md +261 -0
- package/claude/commands/how-to/add-metadata.md +692 -0
- package/claude/commands/how-to/add-taxonomies.md +806 -0
- package/claude/commands/how-to/add-translations.md +571 -0
- package/claude/commands/how-to/create-api.md +577 -0
- package/claude/commands/how-to/create-block.md +575 -0
- package/claude/commands/how-to/create-child-entities.md +771 -0
- package/claude/commands/how-to/create-entity.md +597 -0
- package/claude/commands/how-to/create-migrations.md +605 -0
- package/claude/commands/how-to/create-plugin.md +654 -0
- package/claude/commands/how-to/customize-app.md +481 -0
- package/claude/commands/how-to/customize-dashboard.md +553 -0
- package/claude/commands/how-to/customize-theme.md +438 -0
- package/claude/commands/how-to/define-features-flows.md +632 -0
- package/claude/commands/how-to/deploy.md +507 -0
- package/claude/commands/how-to/handle-file-uploads.md +746 -0
- package/claude/commands/how-to/implement-search.md +1001 -0
- package/claude/commands/how-to/install-plugins.md +352 -0
- package/claude/commands/how-to/manage-test-coverage.md +984 -0
- package/claude/commands/how-to/run-tests.md +400 -0
- package/claude/commands/how-to/set-app-languages.md +601 -0
- package/claude/commands/how-to/set-plans-and-permissions.md +575 -0
- package/claude/commands/how-to/set-scheduled-actions.md +527 -0
- package/claude/commands/how-to/set-user-roles-and-permissions.md +550 -0
- package/claude/commands/how-to/setup-authentication.md +388 -0
- package/claude/commands/how-to/setup-claude-code.md +440 -0
- package/claude/commands/how-to/setup-database.md +274 -0
- package/claude/commands/how-to/setup-email-providers.md +598 -0
- package/claude/commands/how-to/setup-mobile-dev.md +627 -0
- package/claude/commands/how-to/start.md +500 -0
- package/claude/commands/how-to/use-devtools.md +639 -0
- package/claude/commands/how-to/use-superadmin.md +622 -0
- package/claude/commands/session/README.md +193 -0
- package/claude/commands/session/block-create.md +190 -0
- package/claude/commands/session/block-list.md +203 -0
- package/claude/commands/session/block-update.md +192 -0
- package/claude/commands/session/block-validate.md +218 -0
- package/claude/commands/session/changelog.md +115 -0
- package/claude/commands/session/close.md +225 -0
- package/claude/commands/session/commit.md +174 -0
- package/claude/commands/session/db-entity.md +206 -0
- package/claude/commands/session/db-fix.md +212 -0
- package/claude/commands/session/db-sample.md +206 -0
- package/claude/commands/session/demo.md +178 -0
- package/claude/commands/session/doc-bdd.md +207 -0
- package/claude/commands/session/doc-feature.md +218 -0
- package/claude/commands/session/doc-read.md +225 -0
- package/claude/commands/session/execute.md +204 -0
- package/claude/commands/session/explain.md +202 -0
- package/claude/commands/session/fix-bug.md +210 -0
- package/claude/commands/session/fix-build.md +182 -0
- package/claude/commands/session/fix-test.md +189 -0
- package/claude/commands/session/pending.md +232 -0
- package/claude/commands/session/refine.md +188 -0
- package/claude/commands/session/resume.md +192 -0
- package/claude/commands/session/review.md +192 -0
- package/claude/commands/session/scope-change.md +181 -0
- package/claude/commands/session/start-blocks.md +347 -0
- package/claude/commands/session/start.md +604 -0
- package/claude/commands/session/status.md +169 -0
- package/claude/commands/session/test-fix.md +221 -0
- package/claude/commands/session/test-run.md +203 -0
- package/claude/commands/session/test-write.md +242 -0
- package/claude/commands/session/validate.md +162 -0
- package/claude/config/context.json +40 -0
- package/claude/config/github.json +69 -0
- package/claude/config/github.schema.json +106 -0
- package/claude/config/team.json +46 -0
- package/claude/config/team.schema.json +106 -0
- package/claude/config/workspace.json +43 -0
- package/claude/config/workspace.schema.json +75 -0
- package/claude/skills/README.md +228 -0
- package/claude/skills/accessibility/SKILL.md +573 -0
- package/claude/skills/api-bypass-layers/SKILL.md +550 -0
- package/claude/skills/asana-integration/SKILL.md +499 -0
- package/claude/skills/better-auth/SKILL.md +666 -0
- package/claude/skills/billing-subscriptions/SKILL.md +660 -0
- package/claude/skills/block-decision-matrix/SKILL.md +359 -0
- package/claude/skills/clickup-integration/SKILL.md +434 -0
- package/claude/skills/core-theme-responsibilities/SKILL.md +485 -0
- package/claude/skills/create-plugin/SKILL.md +425 -0
- package/claude/skills/create-theme/SKILL.md +331 -0
- package/claude/skills/cypress-api/SKILL.md +511 -0
- package/claude/skills/cypress-api/scripts/generate-api-controller.py +329 -0
- package/claude/skills/cypress-api/scripts/generate-api-test.py +930 -0
- package/claude/skills/cypress-e2e/SKILL.md +526 -0
- package/claude/skills/cypress-e2e/scripts/extract-selectors.py +383 -0
- package/claude/skills/cypress-e2e/scripts/generate-uat-test.py +788 -0
- package/claude/skills/cypress-selectors/SKILL.md +309 -0
- package/claude/skills/cypress-selectors/scripts/extract-missing.py +243 -0
- package/claude/skills/cypress-selectors/scripts/generate-block-selectors.py +283 -0
- package/claude/skills/cypress-selectors/scripts/validate-selectors.py +145 -0
- package/claude/skills/database-migrations/SKILL.md +335 -0
- package/claude/skills/database-migrations/scripts/generate-sample-data.py +284 -0
- package/claude/skills/database-migrations/scripts/validate-migration.py +323 -0
- package/claude/skills/design-system/SKILL.md +682 -0
- package/claude/skills/documentation/SKILL.md +540 -0
- package/claude/skills/entity-api/SKILL.md +482 -0
- package/claude/skills/entity-system/SKILL.md +635 -0
- package/claude/skills/entity-system/scripts/generate-child-migration.py +298 -0
- package/claude/skills/entity-system/scripts/generate-metas-migration.py +233 -0
- package/claude/skills/entity-system/scripts/generate-migration.py +382 -0
- package/claude/skills/entity-system/scripts/generate-sample-data.py +418 -0
- package/claude/skills/entity-system/scripts/scaffold-entity.py +661 -0
- package/claude/skills/github/SKILL.md +467 -0
- package/claude/skills/i18n-nextintl/SKILL.md +302 -0
- package/claude/skills/i18n-nextintl/scripts/add-translation.py +243 -0
- package/claude/skills/i18n-nextintl/scripts/extract-hardcoded.py +246 -0
- package/claude/skills/i18n-nextintl/scripts/validate-translations.py +260 -0
- package/claude/skills/impact-analysis/SKILL.md +203 -0
- package/claude/skills/jest-unit/SKILL.md +306 -0
- package/claude/skills/jest-unit/references/component-testing.md +371 -0
- package/claude/skills/jest-unit/references/mocking-patterns.md +380 -0
- package/claude/skills/jest-unit/references/service-hook-testing.md +454 -0
- package/claude/skills/jira-integration/SKILL.md +539 -0
- package/claude/skills/media-library/SKILL.md +743 -0
- package/claude/skills/mock-analysis/SKILL.md +276 -0
- package/claude/skills/monorepo-architecture/SKILL.md +162 -0
- package/claude/skills/nextjs-api-development/SKILL.md +364 -0
- package/claude/skills/nextjs-api-development/scripts/generate-crud-tests.py +456 -0
- package/claude/skills/nextjs-api-development/scripts/scaffold-endpoint.py +481 -0
- package/claude/skills/nextjs-api-development/scripts/validate-api.py +283 -0
- package/claude/skills/notion-integration/SKILL.md +641 -0
- package/claude/skills/npm-development-workflow/SKILL.md +480 -0
- package/claude/skills/page-builder-blocks/SKILL.md +530 -0
- package/claude/skills/page-builder-blocks/scripts/scaffold-block.py +444 -0
- package/claude/skills/permissions-system/SKILL.md +619 -0
- package/claude/skills/plugins/SKILL.md +340 -0
- package/claude/skills/plugins/references/plugin-templates.md +414 -0
- package/claude/skills/plugins/references/plugin-testing.md +353 -0
- package/claude/skills/plugins/references/plugin-types.md +198 -0
- package/claude/skills/plugins/scripts/scaffold-plugin.py +443 -0
- package/claude/skills/pom-patterns/SKILL.md +452 -0
- package/claude/skills/pom-patterns/scripts/generate-pom.py +392 -0
- package/claude/skills/rate-limiting/SKILL.md +342 -0
- package/claude/skills/react-best-practices/AGENTS.md +2410 -0
- package/claude/skills/react-best-practices/README.md +123 -0
- package/claude/skills/react-best-practices/SKILL.md +125 -0
- package/claude/skills/react-best-practices/metadata.json +15 -0
- package/claude/skills/react-best-practices/rules/_sections.md +46 -0
- package/claude/skills/react-best-practices/rules/_template.md +28 -0
- package/claude/skills/react-best-practices/rules/advanced-event-handler-refs.md +55 -0
- package/claude/skills/react-best-practices/rules/advanced-use-latest.md +49 -0
- package/claude/skills/react-best-practices/rules/async-api-routes.md +38 -0
- package/claude/skills/react-best-practices/rules/async-defer-await.md +80 -0
- package/claude/skills/react-best-practices/rules/async-dependencies.md +36 -0
- package/claude/skills/react-best-practices/rules/async-parallel.md +28 -0
- package/claude/skills/react-best-practices/rules/async-suspense-boundaries.md +99 -0
- package/claude/skills/react-best-practices/rules/bundle-barrel-imports.md +59 -0
- package/claude/skills/react-best-practices/rules/bundle-conditional.md +31 -0
- package/claude/skills/react-best-practices/rules/bundle-defer-third-party.md +49 -0
- package/claude/skills/react-best-practices/rules/bundle-dynamic-imports.md +35 -0
- package/claude/skills/react-best-practices/rules/bundle-preload.md +50 -0
- package/claude/skills/react-best-practices/rules/client-event-listeners.md +74 -0
- package/claude/skills/react-best-practices/rules/client-localstorage-schema.md +71 -0
- package/claude/skills/react-best-practices/rules/client-passive-event-listeners.md +48 -0
- package/claude/skills/react-best-practices/rules/client-swr-dedup.md +56 -0
- package/claude/skills/react-best-practices/rules/js-batch-dom-css.md +82 -0
- package/claude/skills/react-best-practices/rules/js-cache-function-results.md +80 -0
- package/claude/skills/react-best-practices/rules/js-cache-property-access.md +28 -0
- package/claude/skills/react-best-practices/rules/js-cache-storage.md +70 -0
- package/claude/skills/react-best-practices/rules/js-combine-iterations.md +32 -0
- package/claude/skills/react-best-practices/rules/js-early-exit.md +50 -0
- package/claude/skills/react-best-practices/rules/js-hoist-regexp.md +45 -0
- package/claude/skills/react-best-practices/rules/js-index-maps.md +37 -0
- package/claude/skills/react-best-practices/rules/js-length-check-first.md +49 -0
- package/claude/skills/react-best-practices/rules/js-min-max-loop.md +82 -0
- package/claude/skills/react-best-practices/rules/js-set-map-lookups.md +24 -0
- package/claude/skills/react-best-practices/rules/js-tosorted-immutable.md +57 -0
- package/claude/skills/react-best-practices/rules/rendering-activity.md +26 -0
- package/claude/skills/react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
- package/claude/skills/react-best-practices/rules/rendering-conditional-render.md +40 -0
- package/claude/skills/react-best-practices/rules/rendering-content-visibility.md +38 -0
- package/claude/skills/react-best-practices/rules/rendering-hoist-jsx.md +46 -0
- package/claude/skills/react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
- package/claude/skills/react-best-practices/rules/rendering-svg-precision.md +28 -0
- package/claude/skills/react-best-practices/rules/rerender-defer-reads.md +39 -0
- package/claude/skills/react-best-practices/rules/rerender-dependencies.md +45 -0
- package/claude/skills/react-best-practices/rules/rerender-derived-state.md +29 -0
- package/claude/skills/react-best-practices/rules/rerender-functional-setstate.md +74 -0
- package/claude/skills/react-best-practices/rules/rerender-lazy-state-init.md +58 -0
- package/claude/skills/react-best-practices/rules/rerender-memo.md +44 -0
- package/claude/skills/react-best-practices/rules/rerender-transitions.md +40 -0
- package/claude/skills/react-best-practices/rules/server-after-nonblocking.md +73 -0
- package/claude/skills/react-best-practices/rules/server-cache-lru.md +41 -0
- package/claude/skills/react-best-practices/rules/server-cache-react.md +76 -0
- package/claude/skills/react-best-practices/rules/server-parallel-fetching.md +83 -0
- package/claude/skills/react-best-practices/rules/server-serialization.md +38 -0
- package/claude/skills/react-patterns/SKILL.md +688 -0
- package/claude/skills/registry-system/SKILL.md +331 -0
- package/claude/skills/scheduled-actions/SKILL.md +671 -0
- package/claude/skills/scope-enforcement/SKILL.md +542 -0
- package/claude/skills/scope-enforcement/scripts/validate-scope.py +357 -0
- package/claude/skills/server-actions/SKILL.md +493 -0
- package/claude/skills/service-layer/SKILL.md +587 -0
- package/claude/skills/session-management/SKILL.md +266 -0
- package/claude/skills/session-management/scripts/create-session.py +166 -0
- package/claude/skills/session-management/scripts/iteration-close.sh +105 -0
- package/claude/skills/session-management/scripts/iteration-init.sh +180 -0
- package/claude/skills/session-management/scripts/session-archive.sh +87 -0
- package/claude/skills/session-management/scripts/session-close.sh +133 -0
- package/claude/skills/session-management/scripts/session-init.sh +225 -0
- package/claude/skills/session-management/scripts/session-list.sh +163 -0
- package/claude/skills/session-management/scripts/split-plan.sh +116 -0
- package/claude/skills/shadcn-components/SKILL.md +586 -0
- package/claude/skills/shadcn-theming/SKILL.md +446 -0
- package/claude/skills/suspense-loading/SKILL.md +280 -0
- package/claude/skills/tailwind-theming/SKILL.md +507 -0
- package/claude/skills/tanstack-query/SKILL.md +608 -0
- package/claude/skills/test-coverage/SKILL.md +239 -0
- package/claude/skills/web-design-guidelines/SKILL.md +39 -0
- package/claude/skills/zod-validation/SKILL.md +537 -0
- package/claude/templates/blocks/progress.md +86 -0
- package/claude/templates/iteration/changes.md +61 -0
- package/claude/templates/iteration/progress.md +55 -0
- package/claude/templates/log.md +31 -0
- package/claude/templates/story/context.md +77 -0
- package/claude/templates/story/pendings.md +37 -0
- package/claude/templates/story/plan.md +299 -0
- package/claude/templates/story/requirements.md +109 -0
- package/claude/templates/story/scope.json +10 -0
- package/claude/templates/story/tests.md +91 -0
- package/claude/templates/task/progress.md +58 -0
- package/claude/templates/task/requirements.md +54 -0
- package/claude/workflows/README.md +154 -0
- package/claude/workflows/blocks.md +614 -0
- package/claude/workflows/story.md +1207 -0
- package/claude/workflows/task.md +927 -0
- package/claude/workflows/tweak.md +527 -0
- package/cursor/.gitkeep +0 -0
- package/package.json +35 -0
- package/scripts/postinstall.mjs +198 -0
- package/scripts/setup.mjs +282 -0
- package/scripts/sync.mjs +209 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Team Configuration",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"members": {
|
|
7
|
+
"type": "array",
|
|
8
|
+
"items": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"name": {
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Full name of the team member"
|
|
14
|
+
},
|
|
15
|
+
"initials": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"maxLength": 3,
|
|
18
|
+
"description": "Initials used in branch names"
|
|
19
|
+
},
|
|
20
|
+
"role": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": ["lead", "developer", "junior", "qa"],
|
|
23
|
+
"description": "Team role"
|
|
24
|
+
},
|
|
25
|
+
"email": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"format": "email"
|
|
28
|
+
},
|
|
29
|
+
"ids": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"github": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "GitHub username"
|
|
35
|
+
},
|
|
36
|
+
"taskManager": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "User ID in the configured task manager (ClickUp, Jira, etc.)"
|
|
39
|
+
},
|
|
40
|
+
"slack": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "Slack member ID"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": ["github"]
|
|
46
|
+
},
|
|
47
|
+
"permissions": {
|
|
48
|
+
"type": "object",
|
|
49
|
+
"properties": {
|
|
50
|
+
"canReview": {
|
|
51
|
+
"type": "boolean",
|
|
52
|
+
"default": true
|
|
53
|
+
},
|
|
54
|
+
"canMerge": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"default": true
|
|
57
|
+
},
|
|
58
|
+
"canApproveProduction": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": ["name", "initials", "role", "ids"]
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"roles": {
|
|
69
|
+
"type": "object",
|
|
70
|
+
"additionalProperties": {
|
|
71
|
+
"type": "object",
|
|
72
|
+
"properties": {
|
|
73
|
+
"description": { "type": "string" },
|
|
74
|
+
"defaultPermissions": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"properties": {
|
|
77
|
+
"canReview": { "type": "boolean" },
|
|
78
|
+
"canMerge": { "type": "boolean" },
|
|
79
|
+
"canApproveProduction": { "type": "boolean" }
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"reviewRules": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"minRequired": {
|
|
89
|
+
"type": "integer",
|
|
90
|
+
"minimum": 0,
|
|
91
|
+
"default": 1
|
|
92
|
+
},
|
|
93
|
+
"requireQaForProduction": {
|
|
94
|
+
"type": "boolean",
|
|
95
|
+
"default": false
|
|
96
|
+
},
|
|
97
|
+
"defaultReviewers": {
|
|
98
|
+
"type": "array",
|
|
99
|
+
"items": { "type": "string" },
|
|
100
|
+
"description": "GitHub usernames of default reviewers"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"required": ["members"]
|
|
106
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./workspace.schema.json",
|
|
3
|
+
|
|
4
|
+
"project": {
|
|
5
|
+
"name": "",
|
|
6
|
+
"activeTheme": "default"
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
"preferences": {
|
|
10
|
+
"language": "en",
|
|
11
|
+
"defaultWorkflow": "standard",
|
|
12
|
+
"autoCommit": false,
|
|
13
|
+
"verboseOutput": false,
|
|
14
|
+
"confirmDestructive": true
|
|
15
|
+
},
|
|
16
|
+
|
|
17
|
+
"sessions": {
|
|
18
|
+
"basePath": ".claude/sessions",
|
|
19
|
+
"autoArchiveAfterDays": 30,
|
|
20
|
+
"maxActiveStories": 3,
|
|
21
|
+
"maxActiveTasks": 10
|
|
22
|
+
},
|
|
23
|
+
|
|
24
|
+
"taskManager": {
|
|
25
|
+
"enabled": false,
|
|
26
|
+
"provider": "clickup",
|
|
27
|
+
"syncWithSession": true,
|
|
28
|
+
"autoUpdateStatus": true,
|
|
29
|
+
"config": {
|
|
30
|
+
"apiKey": "${CLICKUP_API_KEY}",
|
|
31
|
+
"workspaceId": "",
|
|
32
|
+
"defaultSpace": "",
|
|
33
|
+
"useMcp": true,
|
|
34
|
+
"mcpFallback": true
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
|
|
38
|
+
"integrations": {
|
|
39
|
+
"github": {
|
|
40
|
+
"enabled": true
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "Claude Workspace Configuration",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"project": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": { "type": "string" },
|
|
10
|
+
"activeTheme": { "type": "string" }
|
|
11
|
+
},
|
|
12
|
+
"required": ["name"]
|
|
13
|
+
},
|
|
14
|
+
"preferences": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"properties": {
|
|
17
|
+
"language": { "type": "string", "description": "User's preferred language (e.g., es, en, pt, fr, it, de)" },
|
|
18
|
+
"defaultWorkflow": { "enum": ["quick", "standard", "complete"] },
|
|
19
|
+
"autoCommit": { "type": "boolean" },
|
|
20
|
+
"verboseOutput": { "type": "boolean" },
|
|
21
|
+
"confirmDestructive": { "type": "boolean" }
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"sessions": {
|
|
25
|
+
"type": "object",
|
|
26
|
+
"properties": {
|
|
27
|
+
"basePath": { "type": "string" },
|
|
28
|
+
"autoArchiveAfterDays": { "type": "integer", "minimum": 1 },
|
|
29
|
+
"maxActiveStories": { "type": "integer", "minimum": 1 },
|
|
30
|
+
"maxActiveTasks": { "type": "integer", "minimum": 1 }
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"taskManager": {
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"enabled": { "type": "boolean" },
|
|
37
|
+
"provider": { "enum": ["clickup", "jira", "notion", "asana", "linear", "custom"] },
|
|
38
|
+
"syncWithSession": { "type": "boolean" },
|
|
39
|
+
"autoUpdateStatus": { "type": "boolean" },
|
|
40
|
+
"config": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"apiKey": { "type": "string" },
|
|
44
|
+
"workspaceId": { "type": "string" },
|
|
45
|
+
"defaultList": { "type": "string" },
|
|
46
|
+
"useMcp": { "type": "boolean" },
|
|
47
|
+
"mcpFallback": { "type": "boolean" }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"worktrees": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"description": "Git worktree configuration for parallel feature development",
|
|
55
|
+
"properties": {
|
|
56
|
+
"enabled": { "type": "boolean", "description": "Show worktree question in session:start" },
|
|
57
|
+
"basePath": { "type": "string", "description": "Base directory for worktrees (relative to repo parent). Default: sibling to repo" },
|
|
58
|
+
"autoInstall": { "type": "boolean", "description": "Automatically run pnpm install in new worktrees" },
|
|
59
|
+
"cleanupOnClose": { "type": "boolean", "description": "Ask to remove worktree on session:close" }
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"integrations": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"github": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"description": "GitHub integration - detailed config in .claude/config/github.json",
|
|
68
|
+
"properties": {
|
|
69
|
+
"enabled": { "type": "boolean" }
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
# Claude Code Skills
|
|
2
|
+
|
|
3
|
+
This directory contains **44 skills** that provide Claude Code with specialized knowledge about this codebase.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Skills Overview
|
|
8
|
+
|
|
9
|
+
| # | Skill | Description | Category |
|
|
10
|
+
|---|-------|-------------|----------|
|
|
11
|
+
| 1 | [accessibility](./accessibility/) | Accessibility patterns and WCAG 2.1 AA compliance | Frontend |
|
|
12
|
+
| 2 | [api-bypass-layers](./api-bypass-layers/) | Multi-layer security architecture for admin bypass | Auth |
|
|
13
|
+
| 3 | [asana-integration](./asana-integration/) | Asana task management integration **[NEW v1.0]** | Integration |
|
|
14
|
+
| 4 | [better-auth](./better-auth/) | Better Auth: session, OAuth, API keys | Auth |
|
|
15
|
+
| 5 | [billing-subscriptions](./billing-subscriptions/) | Stripe billing, subscriptions, usage tracking | Auth |
|
|
16
|
+
| 6 | [block-decision-matrix](./block-decision-matrix/) | Decision framework for blocks (new/variant/existing) | Blocks |
|
|
17
|
+
| 7 | [clickup-integration](./clickup-integration/) | ClickUp task management integration **[NEW v1.0]** | Integration |
|
|
18
|
+
| 8 | [core-theme-responsibilities](./core-theme-responsibilities/) | **CRITICAL:** Core/Theme/Plugin responsibility assignment | Architecture |
|
|
19
|
+
| 9 | [create-plugin](./create-plugin/) | Guide for creating new plugins from preset | Infrastructure |
|
|
20
|
+
| 10 | [create-theme](./create-theme/) | Guide for creating new themes from preset | Infrastructure |
|
|
21
|
+
| 11 | [cypress-api](./cypress-api/) | Cypress API testing patterns and generators | Testing |
|
|
22
|
+
| 12 | [cypress-e2e](./cypress-e2e/) | Cypress E2E/UAT testing patterns | Testing |
|
|
23
|
+
| 13 | [cypress-selectors](./cypress-selectors/) | data-cy selector conventions and validation | Testing |
|
|
24
|
+
| 14 | [database-migrations](./database-migrations/) | PostgreSQL migration patterns with RLS | Database |
|
|
25
|
+
| 15 | [design-system](./design-system/) | Theme-aware design system analysis and token mapping | Frontend |
|
|
26
|
+
| 16 | [documentation](./documentation/) | Documentation structure and BDD format | Workflow |
|
|
27
|
+
| 17 | [entity-api](./entity-api/) | Entity API endpoints and CRUD patterns | Backend |
|
|
28
|
+
| 18 | [entity-system](./entity-system/) | Entity configuration and registry | Backend |
|
|
29
|
+
| 19 | [i18n-nextintl](./i18n-nextintl/) | next-intl internationalization patterns | Frontend |
|
|
30
|
+
| 20 | [impact-analysis](./impact-analysis/) | Impact analysis for code changes | Workflow |
|
|
31
|
+
| 21 | [jest-unit](./jest-unit/) | Jest unit testing patterns | Testing |
|
|
32
|
+
| 22 | [jira-integration](./jira-integration/) | Jira project management integration **[NEW v1.0]** | Integration |
|
|
33
|
+
| 23 | [mock-analysis](./mock-analysis/) | Patterns for analyzing HTML/CSS mocks | Blocks |
|
|
34
|
+
| 24 | [monorepo-architecture](./monorepo-architecture/) | Package structure and dependencies | Architecture |
|
|
35
|
+
| 25 | [nextjs-api-development](./nextjs-api-development/) | Next.js API routes and dual auth | Backend |
|
|
36
|
+
| 26 | [notion-integration](./notion-integration/) | Notion knowledge management integration **[NEW v1.0]** | Integration |
|
|
37
|
+
| 27 | [npm-development-workflow](./npm-development-workflow/) | **CRITICAL:** Dual-mode testing workflow (monorepo + npm) | Architecture |
|
|
38
|
+
| 28 | [page-builder-blocks](./page-builder-blocks/) | Page builder block development | Blocks |
|
|
39
|
+
| 29 | [permissions-system](./permissions-system/) | RBAC + Features + Quotas permission model | Auth |
|
|
40
|
+
| 30 | [plugins](./plugins/) | Plugin development and lifecycle hooks | Infrastructure |
|
|
41
|
+
| 31 | [pom-patterns](./pom-patterns/) | Page Object Model testing patterns | Testing |
|
|
42
|
+
| 32 | [react-patterns](./react-patterns/) | React patterns and TanStack Query | Frontend |
|
|
43
|
+
| 33 | [registry-system](./registry-system/) | Auto-generated registries system | Architecture |
|
|
44
|
+
| 34 | [scheduled-actions](./scheduled-actions/) | Background task processing, webhooks, cron | Backend |
|
|
45
|
+
| 35 | [scope-enforcement](./scope-enforcement/) | Session scope validation (core/theme/plugins) | Workflow |
|
|
46
|
+
| 36 | [service-layer](./service-layer/) | Service layer architecture patterns | Backend |
|
|
47
|
+
| 37 | [session-management](./session-management/) | Claude Code session files and workflow | Workflow |
|
|
48
|
+
| 38 | [shadcn-components](./shadcn-components/) | shadcn/ui component patterns | Frontend |
|
|
49
|
+
| 39 | [shadcn-theming](./shadcn-theming/) | shadcn/ui theme customization | Frontend |
|
|
50
|
+
| 40 | [tailwind-theming](./tailwind-theming/) | Tailwind CSS v4 theming system | Frontend |
|
|
51
|
+
| 41 | [tanstack-query](./tanstack-query/) | TanStack Query data fetching | Frontend |
|
|
52
|
+
| 42 | [test-coverage](./test-coverage/) | Test coverage metrics and registry system | Testing |
|
|
53
|
+
| 43 | [zod-validation](./zod-validation/) | Zod schema validation patterns | Backend |
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Statistics
|
|
58
|
+
|
|
59
|
+
- **Total Skills:** 44
|
|
60
|
+
- **Categories:** 9
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Skills by Category
|
|
65
|
+
|
|
66
|
+
### Architecture (CRITICAL - Read First)
|
|
67
|
+
| Skill | Purpose | When to Use |
|
|
68
|
+
|-------|---------|-------------|
|
|
69
|
+
| `core-theme-responsibilities` | Core/Theme/Plugin responsibilities | Before ANY technical planning |
|
|
70
|
+
| `npm-development-workflow` | Dual-mode testing (monorepo + npm) | Before publishing packages |
|
|
71
|
+
| `monorepo-architecture` | Package structure and dependencies | Understanding project structure |
|
|
72
|
+
| `registry-system` | Auto-registries (data-only pattern) | Working with registries |
|
|
73
|
+
|
|
74
|
+
### Backend & API
|
|
75
|
+
| Skill | Purpose | When to Use |
|
|
76
|
+
|-------|---------|-------------|
|
|
77
|
+
| `nextjs-api-development` | API routes, dual auth | Creating API endpoints |
|
|
78
|
+
| `entity-api` | Entity CRUD endpoints | Working with entity APIs |
|
|
79
|
+
| `entity-system` | Entity configuration | Creating/modifying entities |
|
|
80
|
+
| `service-layer` | Service architecture | Implementing business logic |
|
|
81
|
+
| `zod-validation` | Input validation | API/form validation |
|
|
82
|
+
| `scheduled-actions` | Background tasks, webhooks | Async processing |
|
|
83
|
+
|
|
84
|
+
### Database
|
|
85
|
+
| Skill | Purpose | When to Use |
|
|
86
|
+
|-------|---------|-------------|
|
|
87
|
+
| `database-migrations` | PostgreSQL migrations with RLS | Creating migrations |
|
|
88
|
+
|
|
89
|
+
### Frontend
|
|
90
|
+
| Skill | Purpose | When to Use |
|
|
91
|
+
|-------|---------|-------------|
|
|
92
|
+
| `react-patterns` | React best practices | Building components |
|
|
93
|
+
| `shadcn-components` | UI components | Using shadcn/ui |
|
|
94
|
+
| `shadcn-theming` | Theme customization | Customizing design system |
|
|
95
|
+
| `tailwind-theming` | CSS theming | Working with Tailwind |
|
|
96
|
+
| `tanstack-query` | Data fetching | API state management |
|
|
97
|
+
| `i18n-nextintl` | Internationalization | Adding translations |
|
|
98
|
+
| `accessibility` | WCAG compliance | Ensuring a11y |
|
|
99
|
+
| `design-system` | Token mapping | Analyzing mocks |
|
|
100
|
+
|
|
101
|
+
### Testing
|
|
102
|
+
| Skill | Purpose | When to Use |
|
|
103
|
+
|-------|---------|-------------|
|
|
104
|
+
| `cypress-e2e` | E2E/UAT tests | Writing UAT tests |
|
|
105
|
+
| `cypress-api` | API tests | Writing API tests |
|
|
106
|
+
| `cypress-selectors` | data-cy selectors | Managing selectors |
|
|
107
|
+
| `pom-patterns` | Page Object Model | Creating POMs |
|
|
108
|
+
| `jest-unit` | Unit tests | Writing unit tests |
|
|
109
|
+
| `test-coverage` | Coverage metrics | Analyzing coverage |
|
|
110
|
+
|
|
111
|
+
### Authentication & Authorization
|
|
112
|
+
| Skill | Purpose | When to Use |
|
|
113
|
+
|-------|---------|-------------|
|
|
114
|
+
| `api-bypass-layers` | Multi-layer security bypass | Admin/dev features |
|
|
115
|
+
| `better-auth` | Authentication | Auth implementation |
|
|
116
|
+
| `permissions-system` | RBAC permissions | Access control |
|
|
117
|
+
| `billing-subscriptions` | Subscriptions | Billing features |
|
|
118
|
+
|
|
119
|
+
### Blocks & Mocks
|
|
120
|
+
| Skill | Purpose | When to Use |
|
|
121
|
+
|-------|---------|-------------|
|
|
122
|
+
| `page-builder-blocks` | Block development | Creating blocks |
|
|
123
|
+
| `block-decision-matrix` | New vs variant decision | Planning blocks |
|
|
124
|
+
| `mock-analysis` | Mock parsing | Converting mocks |
|
|
125
|
+
|
|
126
|
+
### Task Manager Integrations
|
|
127
|
+
| Skill | Purpose | When to Use |
|
|
128
|
+
|-------|---------|-------------|
|
|
129
|
+
| `clickup-integration` | ClickUp API & MCP | ClickUp integration |
|
|
130
|
+
| `jira-integration` | Jira REST API & JQL | Jira integration |
|
|
131
|
+
| `asana-integration` | Asana API & webhooks | Asana integration |
|
|
132
|
+
| `notion-integration` | Notion API & databases | Notion integration |
|
|
133
|
+
|
|
134
|
+
### Infrastructure
|
|
135
|
+
| Skill | Purpose | When to Use |
|
|
136
|
+
|-------|---------|-------------|
|
|
137
|
+
| `plugins` | Plugin development | Creating plugins |
|
|
138
|
+
| `create-plugin` | Plugin scaffolding | New plugin from preset |
|
|
139
|
+
| `create-theme` | Theme scaffolding | New theme from preset |
|
|
140
|
+
|
|
141
|
+
### Workflow & Session
|
|
142
|
+
| Skill | Purpose | When to Use |
|
|
143
|
+
|-------|---------|-------------|
|
|
144
|
+
| `session-management` | Session files | Managing sessions |
|
|
145
|
+
| `scope-enforcement` | Scope validation | Validating file access |
|
|
146
|
+
| `impact-analysis` | Change analysis | Planning changes |
|
|
147
|
+
| `documentation` | Docs structure | Writing documentation |
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Command → Skill Mapping
|
|
152
|
+
|
|
153
|
+
Commands should load relevant skills for context:
|
|
154
|
+
|
|
155
|
+
| Command | Required Skills |
|
|
156
|
+
|---------|----------------|
|
|
157
|
+
| `/session:db:entity` | `database-migrations`, `entity-system` |
|
|
158
|
+
| `/session:db:sample` | `database-migrations` |
|
|
159
|
+
| `/session:block:create` | `page-builder-blocks`, `block-decision-matrix` |
|
|
160
|
+
| `/session:block:update` | `page-builder-blocks` |
|
|
161
|
+
| `/session:test:write` | `cypress-api`, `cypress-e2e`, `cypress-selectors`, `pom-patterns` |
|
|
162
|
+
| `/session:test:run` | `cypress-api`, `cypress-e2e` |
|
|
163
|
+
| `/session:execute` | Based on current phase |
|
|
164
|
+
| `/session:review` | `service-layer`, `react-patterns`, `zod-validation` |
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Skill Structure
|
|
169
|
+
|
|
170
|
+
Each skill follows this structure:
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
.claude/skills/{skill-name}/
|
|
174
|
+
├── SKILL.md # Main documentation (required)
|
|
175
|
+
└── scripts/ # Automation scripts (optional)
|
|
176
|
+
└── *.py
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
## SKILL.md Format
|
|
180
|
+
|
|
181
|
+
```yaml
|
|
182
|
+
---
|
|
183
|
+
name: skill-name
|
|
184
|
+
description: |
|
|
185
|
+
Brief description of what this skill covers.
|
|
186
|
+
When to use this skill.
|
|
187
|
+
allowed-tools: Read, Glob, Grep, Bash
|
|
188
|
+
version: 1.0.0
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
# Skill Name
|
|
192
|
+
|
|
193
|
+
## Architecture Overview
|
|
194
|
+
[Visual diagram of the system]
|
|
195
|
+
|
|
196
|
+
## When to Use This Skill
|
|
197
|
+
[Trigger conditions]
|
|
198
|
+
|
|
199
|
+
## [Main Sections]
|
|
200
|
+
[Detailed patterns and examples]
|
|
201
|
+
|
|
202
|
+
## Anti-Patterns
|
|
203
|
+
[What NOT to do]
|
|
204
|
+
|
|
205
|
+
## Checklist
|
|
206
|
+
[Verification steps]
|
|
207
|
+
|
|
208
|
+
## Related Skills
|
|
209
|
+
[Links to related skills]
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## Adding New Skills
|
|
215
|
+
|
|
216
|
+
1. Create directory: `.claude/skills/{skill-name}/`
|
|
217
|
+
2. Create `SKILL.md` with proper frontmatter
|
|
218
|
+
3. Add scripts in `scripts/` if needed
|
|
219
|
+
4. Update this README
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## Related
|
|
224
|
+
|
|
225
|
+
- `.claude/commands/` - Session commands (30 commands)
|
|
226
|
+
- `.claude/config/workspace.json` - Workspace configuration
|
|
227
|
+
- `workflows/` - QUICK, STANDARD, COMPLETE workflows
|
|
228
|
+
- `templates/` - Session file templates
|