@nextsparkjs/ai-workflow 0.1.0-beta.86
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 +86 -0
- package/claude/_docs/workflows-optimizations.md +359 -0
- package/claude/agents/api-tester.md +636 -0
- package/claude/agents/architecture-supervisor.md +1381 -0
- package/claude/agents/backend-developer.md +1021 -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 +1460 -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 +1291 -0
- package/claude/agents/frontend-developer.md +1259 -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 +971 -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 +373 -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 +681 -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 +512 -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 +455 -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/close.md +146 -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 +476 -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 +54 -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 +49 -0
- package/claude/config/workspace.schema.json +64 -0
- package/claude/scripts/.gitkeep +0 -0
- package/claude/sessions/.gitkeep +0 -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/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 +483 -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 +677 -0
- package/claude/skills/registry-system/SKILL.md +331 -0
- package/claude/skills/scheduled-actions/SKILL.md +431 -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 +479 -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 +34 -0
- package/scripts/setup.mjs +282 -0
- package/scripts/sync.mjs +209 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
# /session:validate
|
|
2
|
+
|
|
3
|
+
Validate the current session state and implementation.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Syntax
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
/session:validate [--full]
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Behavior
|
|
16
|
+
|
|
17
|
+
Runs validation checks on the current session implementation.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Flow
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
25
|
+
│ /session:validate │
|
|
26
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
27
|
+
│ │
|
|
28
|
+
│ 1. Load session context │
|
|
29
|
+
│ - Read scope.json │
|
|
30
|
+
│ - Read progress.md │
|
|
31
|
+
│ ↓ │
|
|
32
|
+
│ 2. Run validation checks │
|
|
33
|
+
│ - TypeScript compilation │
|
|
34
|
+
│ - Lint rules │
|
|
35
|
+
│ - Build process │
|
|
36
|
+
│ ↓ │
|
|
37
|
+
│ 3. Run tests (if --full) │
|
|
38
|
+
│ - Unit tests │
|
|
39
|
+
│ - API tests │
|
|
40
|
+
│ - UAT tests │
|
|
41
|
+
│ ↓ │
|
|
42
|
+
│ 4. Check ACs completion │
|
|
43
|
+
│ - Compare with requirements.md │
|
|
44
|
+
│ ↓ │
|
|
45
|
+
│ 5. Generate validation report │
|
|
46
|
+
│ │
|
|
47
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Example Output
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
✅ SESSION VALIDATION
|
|
56
|
+
|
|
57
|
+
Session: stories/2026-01-11-new-products-entity
|
|
58
|
+
|
|
59
|
+
─────────────────────────────────────────
|
|
60
|
+
|
|
61
|
+
🔧 BUILD CHECKS
|
|
62
|
+
|
|
63
|
+
TypeScript: ✓ No errors
|
|
64
|
+
Lint: ✓ No warnings
|
|
65
|
+
Build: ✓ Successful
|
|
66
|
+
|
|
67
|
+
─────────────────────────────────────────
|
|
68
|
+
|
|
69
|
+
🧪 TEST RESULTS
|
|
70
|
+
|
|
71
|
+
Unit Tests: ✓ 12/12 passing
|
|
72
|
+
API Tests: ✓ 8/8 passing
|
|
73
|
+
UAT Tests: ✓ 5/5 passing
|
|
74
|
+
|
|
75
|
+
─────────────────────────────────────────
|
|
76
|
+
|
|
77
|
+
📋 AC VERIFICATION
|
|
78
|
+
|
|
79
|
+
AC1: Create product ✓ Implemented
|
|
80
|
+
AC2: Upload images ✓ Implemented
|
|
81
|
+
AC3: Assign categories ✓ Implemented
|
|
82
|
+
AC4: List with pagination ✓ Implemented
|
|
83
|
+
AC5: View-only for members ✓ Implemented
|
|
84
|
+
|
|
85
|
+
─────────────────────────────────────────
|
|
86
|
+
|
|
87
|
+
📊 SUMMARY
|
|
88
|
+
|
|
89
|
+
All checks passed: ✓
|
|
90
|
+
ACs completed: 5/5 (100%)
|
|
91
|
+
|
|
92
|
+
Ready for code review.
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## With Failures
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
❌ VALIDATION FAILED
|
|
101
|
+
|
|
102
|
+
─────────────────────────────────────────
|
|
103
|
+
|
|
104
|
+
🔧 BUILD CHECKS
|
|
105
|
+
|
|
106
|
+
TypeScript: ✓ No errors
|
|
107
|
+
Lint: ⚠ 2 warnings
|
|
108
|
+
Build: ✓ Successful
|
|
109
|
+
|
|
110
|
+
─────────────────────────────────────────
|
|
111
|
+
|
|
112
|
+
🧪 TEST RESULTS
|
|
113
|
+
|
|
114
|
+
Unit Tests: ✓ 12/12 passing
|
|
115
|
+
API Tests: ❌ 6/8 passing
|
|
116
|
+
- FAIL: POST /products (validation error)
|
|
117
|
+
- FAIL: PATCH /products (missing field)
|
|
118
|
+
UAT Tests: ⏸ Skipped (API failures)
|
|
119
|
+
|
|
120
|
+
─────────────────────────────────────────
|
|
121
|
+
|
|
122
|
+
📋 AC VERIFICATION
|
|
123
|
+
|
|
124
|
+
AC1: Create product ✓ Implemented
|
|
125
|
+
AC2: Upload images ⚠ Partial (max limit not enforced)
|
|
126
|
+
AC3: Assign categories ✓ Implemented
|
|
127
|
+
AC4: List with pagination ✓ Implemented
|
|
128
|
+
AC5: View-only for members ❌ Not implemented
|
|
129
|
+
|
|
130
|
+
─────────────────────────────────────────
|
|
131
|
+
|
|
132
|
+
📊 SUMMARY
|
|
133
|
+
|
|
134
|
+
Build: ✓ Pass
|
|
135
|
+
Tests: ❌ 2 failures
|
|
136
|
+
ACs: 3/5 complete
|
|
137
|
+
|
|
138
|
+
Options:
|
|
139
|
+
[1] Fix issues and re-validate
|
|
140
|
+
[2] View detailed errors
|
|
141
|
+
[3] Continue anyway (not recommended)
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Options
|
|
147
|
+
|
|
148
|
+
| Option | Description |
|
|
149
|
+
|--------|-------------|
|
|
150
|
+
| `--full` | Run complete test suite |
|
|
151
|
+
| `--quick` | Only build checks, skip tests |
|
|
152
|
+
| `--ac-only` | Only check AC completion |
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## Related Commands
|
|
157
|
+
|
|
158
|
+
| Command | Action |
|
|
159
|
+
|---------|--------|
|
|
160
|
+
| `/session:execute` | Continue implementation |
|
|
161
|
+
| `/session:review` | Request code review |
|
|
162
|
+
| `/session:close` | Close session |
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"context": "consumer",
|
|
3
|
+
"description": "NextSpark application development - Build your app using themes and plugins",
|
|
4
|
+
|
|
5
|
+
"capabilities": {
|
|
6
|
+
"modifyCore": false,
|
|
7
|
+
"allThemes": false,
|
|
8
|
+
"allPlugins": true,
|
|
9
|
+
"createReleases": false,
|
|
10
|
+
"maintainWorkflows": false
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
"allowedPaths": [
|
|
14
|
+
"contents/themes/${NEXT_PUBLIC_ACTIVE_THEME}/**/*",
|
|
15
|
+
"contents/plugins/**/*",
|
|
16
|
+
".claude/sessions/**/*"
|
|
17
|
+
],
|
|
18
|
+
|
|
19
|
+
"restrictions": {
|
|
20
|
+
"core": {
|
|
21
|
+
"level": "forbidden",
|
|
22
|
+
"message": "Core is installed via npm (node_modules/) and cannot be modified. To customize behavior, create a theme override or plugin instead."
|
|
23
|
+
},
|
|
24
|
+
"otherThemes": {
|
|
25
|
+
"level": "forbidden",
|
|
26
|
+
"message": "Only the active theme (NEXT_PUBLIC_ACTIVE_THEME) can be modified. To work on a different theme, update your .env file."
|
|
27
|
+
},
|
|
28
|
+
"app": {
|
|
29
|
+
"level": "discouraged",
|
|
30
|
+
"requiresExplicitConfirmation": true,
|
|
31
|
+
"message": "Modifying /app directly is discouraged as it reduces portability. Use theme page overrides when possible. Only proceed if user explicitly requests and understands the trade-offs."
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
|
|
35
|
+
"disabledCommands": [
|
|
36
|
+
"release:version",
|
|
37
|
+
"npm-publish",
|
|
38
|
+
"npm-version",
|
|
39
|
+
"npm-repackage",
|
|
40
|
+
"npm-test-local",
|
|
41
|
+
"npm-test-npm",
|
|
42
|
+
"workflow-update"
|
|
43
|
+
],
|
|
44
|
+
|
|
45
|
+
"disabledAgents": [
|
|
46
|
+
"release-manager"
|
|
47
|
+
],
|
|
48
|
+
|
|
49
|
+
"notes": {
|
|
50
|
+
"gettingStarted": "Your active theme is defined in .env (NEXT_PUBLIC_ACTIVE_THEME). All customizations should go there.",
|
|
51
|
+
"creatingPlugins": "Use /create:plugin to scaffold a new plugin in contents/plugins/.",
|
|
52
|
+
"needCoreChanges": "If you need functionality not available in core, create a plugin or request the feature in NextSpark repository."
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./github.schema.json",
|
|
3
|
+
|
|
4
|
+
"repository": {
|
|
5
|
+
"name": "",
|
|
6
|
+
"defaultBranch": "main"
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
"gitflow": {
|
|
10
|
+
"environments": ["develop", "qa", "main"],
|
|
11
|
+
"featureBranch": {
|
|
12
|
+
"baseBranch": "main",
|
|
13
|
+
"targetBranch": "develop"
|
|
14
|
+
},
|
|
15
|
+
"hotfixBranch": {
|
|
16
|
+
"baseBranch": "main",
|
|
17
|
+
"targetBranch": "main",
|
|
18
|
+
"skipEnvironments": true
|
|
19
|
+
},
|
|
20
|
+
"promotionFlow": {
|
|
21
|
+
"develop": "qa",
|
|
22
|
+
"qa": "main"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
"branches": {
|
|
27
|
+
"pattern": "{type}/{issue-key}-{description}-{initials}",
|
|
28
|
+
"types": {
|
|
29
|
+
"feature": {
|
|
30
|
+
"description": "New features or enhancements",
|
|
31
|
+
"base": "main",
|
|
32
|
+
"target": "develop"
|
|
33
|
+
},
|
|
34
|
+
"bugfix": {
|
|
35
|
+
"description": "Non-urgent bug fixes",
|
|
36
|
+
"base": "main",
|
|
37
|
+
"target": "develop"
|
|
38
|
+
},
|
|
39
|
+
"hotfix": {
|
|
40
|
+
"description": "Urgent production fixes",
|
|
41
|
+
"base": "main",
|
|
42
|
+
"target": "main"
|
|
43
|
+
},
|
|
44
|
+
"chore": {
|
|
45
|
+
"description": "Maintenance tasks, deps updates",
|
|
46
|
+
"base": "main",
|
|
47
|
+
"target": "develop"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
"commits": {
|
|
53
|
+
"pattern": "[{issue-key}] {description}",
|
|
54
|
+
"requireIssueKey": true,
|
|
55
|
+
"suggestedPrefixes": ["Add", "Fix", "Update", "Refactor", "Remove", "Improve", "Implement"]
|
|
56
|
+
},
|
|
57
|
+
|
|
58
|
+
"pullRequests": {
|
|
59
|
+
"titlePattern": "[{issue-key}] {description}",
|
|
60
|
+
"bodyTemplate": "## Description\n{description}\n\n## Changes\n- \n\n## Testing\n- [ ] \n\n## Screenshots\n\n\n## Related Issues\n- {issue-key}",
|
|
61
|
+
"squashMerge": true,
|
|
62
|
+
"deleteBranchOnMerge": true
|
|
63
|
+
},
|
|
64
|
+
|
|
65
|
+
"reviewers": {
|
|
66
|
+
"source": ".claude/config/team.json",
|
|
67
|
+
"askUserToSelect": true
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "GitHub Workflow Configuration",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"properties": {
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"name": {
|
|
10
|
+
"type": "string",
|
|
11
|
+
"description": "Repository name in format: organization/repo-name"
|
|
12
|
+
},
|
|
13
|
+
"defaultBranch": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"default": "main"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"required": ["defaultBranch"]
|
|
19
|
+
},
|
|
20
|
+
"gitflow": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"environments": {
|
|
24
|
+
"type": "array",
|
|
25
|
+
"items": { "type": "string" },
|
|
26
|
+
"description": "Ordered list of environment branches from dev to prod",
|
|
27
|
+
"default": ["develop", "qa", "main"]
|
|
28
|
+
},
|
|
29
|
+
"featureBranch": {
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"baseBranch": { "type": "string", "default": "main" },
|
|
33
|
+
"targetBranch": { "type": "string", "default": "develop" }
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"hotfixBranch": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"baseBranch": { "type": "string", "default": "main" },
|
|
40
|
+
"targetBranch": { "type": "string", "default": "main" },
|
|
41
|
+
"skipEnvironments": { "type": "boolean", "default": true }
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"promotionFlow": {
|
|
45
|
+
"type": "object",
|
|
46
|
+
"additionalProperties": { "type": "string" },
|
|
47
|
+
"description": "Maps source branch to target branch for promotions"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"branches": {
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"pattern": {
|
|
55
|
+
"type": "string",
|
|
56
|
+
"description": "Branch naming pattern with placeholders: {type}, {issue-key}, {description}, {initials}"
|
|
57
|
+
},
|
|
58
|
+
"types": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"additionalProperties": {
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"description": { "type": "string" },
|
|
64
|
+
"base": { "type": "string" },
|
|
65
|
+
"target": { "type": "string" }
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"commits": {
|
|
72
|
+
"type": "object",
|
|
73
|
+
"properties": {
|
|
74
|
+
"pattern": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"description": "Commit message pattern with placeholders: {issue-key}, {description}"
|
|
77
|
+
},
|
|
78
|
+
"requireIssueKey": { "type": "boolean", "default": true },
|
|
79
|
+
"suggestedPrefixes": {
|
|
80
|
+
"type": "array",
|
|
81
|
+
"items": { "type": "string" }
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"pullRequests": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"properties": {
|
|
88
|
+
"titlePattern": { "type": "string" },
|
|
89
|
+
"bodyTemplate": { "type": "string" },
|
|
90
|
+
"squashMerge": { "type": "boolean", "default": true },
|
|
91
|
+
"deleteBranchOnMerge": { "type": "boolean", "default": true }
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"reviewers": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"source": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"default": ".claude/config/team.json",
|
|
100
|
+
"description": "Reference to team config file"
|
|
101
|
+
},
|
|
102
|
+
"askUserToSelect": { "type": "boolean", "default": true }
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./team.schema.json",
|
|
3
|
+
|
|
4
|
+
"members": [],
|
|
5
|
+
|
|
6
|
+
"roles": {
|
|
7
|
+
"lead": {
|
|
8
|
+
"description": "Team lead with full permissions",
|
|
9
|
+
"defaultPermissions": {
|
|
10
|
+
"canReview": true,
|
|
11
|
+
"canMerge": true,
|
|
12
|
+
"canApproveProduction": true
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"developer": {
|
|
16
|
+
"description": "Developer with standard permissions",
|
|
17
|
+
"defaultPermissions": {
|
|
18
|
+
"canReview": true,
|
|
19
|
+
"canMerge": true,
|
|
20
|
+
"canApproveProduction": false
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"junior": {
|
|
24
|
+
"description": "Junior developer requiring review",
|
|
25
|
+
"defaultPermissions": {
|
|
26
|
+
"canReview": false,
|
|
27
|
+
"canMerge": false,
|
|
28
|
+
"canApproveProduction": false
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"qa": {
|
|
32
|
+
"description": "QA engineer",
|
|
33
|
+
"defaultPermissions": {
|
|
34
|
+
"canReview": false,
|
|
35
|
+
"canMerge": false,
|
|
36
|
+
"canApproveProduction": false
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
|
|
41
|
+
"reviewRules": {
|
|
42
|
+
"minRequired": 1,
|
|
43
|
+
"requireQaForProduction": false,
|
|
44
|
+
"defaultReviewers": []
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -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,49 @@
|
|
|
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
|
+
|
|
44
|
+
"risk": {
|
|
45
|
+
"aboutPath": "contents/themes/${activeTheme}/about",
|
|
46
|
+
"alwaysCompleteForCritical": true,
|
|
47
|
+
"requireConfirmationForHigh": true
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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": { "enum": ["es", "en", "pt"] },
|
|
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": { "type": "object" }
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"integrations": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"github": {
|
|
47
|
+
"type": "object",
|
|
48
|
+
"description": "GitHub integration - detailed config in .claude/config/github.json",
|
|
49
|
+
"properties": {
|
|
50
|
+
"enabled": { "type": "boolean" }
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"risk": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"aboutPath": { "type": "string" },
|
|
59
|
+
"alwaysCompleteForCritical": { "type": "boolean" },
|
|
60
|
+
"requireConfirmationForHigh": { "type": "boolean" }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
File without changes
|
|
File without changes
|