@nextsparkjs/core 0.1.0-beta.85 → 0.1.0-beta.87
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/dist/styles/classes.json +1 -1
- package/package.json +2 -2
- package/scripts/setup/setup-ci.mjs +0 -1
- package/dist/presets/ai-workflow/claude/README.md +0 -279
- package/dist/presets/ai-workflow/claude/agents/api-tester.md +0 -629
- package/dist/presets/ai-workflow/claude/agents/architecture-supervisor.md +0 -1088
- package/dist/presets/ai-workflow/claude/agents/backend-developer.md +0 -979
- package/dist/presets/ai-workflow/claude/agents/backend-validator.md +0 -393
- package/dist/presets/ai-workflow/claude/agents/bdd-docs-writer.md +0 -732
- package/dist/presets/ai-workflow/claude/agents/block-developer.md +0 -635
- package/dist/presets/ai-workflow/claude/agents/code-reviewer.md +0 -1434
- package/dist/presets/ai-workflow/claude/agents/db-developer.md +0 -719
- package/dist/presets/ai-workflow/claude/agents/db-validator.md +0 -402
- package/dist/presets/ai-workflow/claude/agents/demo-video-generator.md +0 -462
- package/dist/presets/ai-workflow/claude/agents/dev-plugin.md +0 -951
- package/dist/presets/ai-workflow/claude/agents/documentation-writer.md +0 -1235
- package/dist/presets/ai-workflow/claude/agents/frontend-developer.md +0 -1159
- package/dist/presets/ai-workflow/claude/agents/frontend-validator.md +0 -771
- package/dist/presets/ai-workflow/claude/agents/functional-validator.md +0 -625
- package/dist/presets/ai-workflow/claude/agents/plugin-creator.md +0 -459
- package/dist/presets/ai-workflow/claude/agents/plugin-validator.md +0 -353
- package/dist/presets/ai-workflow/claude/agents/product-manager.md +0 -861
- package/dist/presets/ai-workflow/claude/agents/qa-automation.md +0 -1685
- package/dist/presets/ai-workflow/claude/agents/qa-manual.md +0 -566
- package/dist/presets/ai-workflow/claude/agents/qa-tester.md +0 -1021
- package/dist/presets/ai-workflow/claude/agents/release-manager.md +0 -627
- package/dist/presets/ai-workflow/claude/agents/theme-creator.md +0 -457
- package/dist/presets/ai-workflow/claude/agents/theme-validator.md +0 -359
- package/dist/presets/ai-workflow/claude/agents/unit-test-writer.md +0 -766
- package/dist/presets/ai-workflow/claude/agents/workflow-maintainer.md +0 -383
- package/dist/presets/ai-workflow/claude/commands/workflow-update.md +0 -191
- package/dist/presets/ai-workflow/claude/config/agents.example.json +0 -40
- package/dist/presets/ai-workflow/claude/config/workflow.example.md +0 -1287
- package/dist/presets/ai-workflow/claude/settings.local.json +0 -111
- package/dist/presets/ai-workflow/claude/tools/clickup/api.md +0 -942
- package/dist/presets/ai-workflow/claude/tools/clickup/mcp.md +0 -588
- package/dist/presets/ai-workflow/claude/tools/clickup/templates/task.md +0 -32
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/clickup_task.md +0 -121
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/context.md +0 -418
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/pendings.md +0 -127
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/plan.md +0 -401
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/progress.md +0 -398
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/requirements.md +0 -177
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/scope.json +0 -56
- package/dist/presets/ai-workflow/claude/tools/sessions/templates/tests.md +0 -220
- package/dist/templates/ai-workflow/claude/config/context.json +0 -54
- package/scripts/setup/setup-claude.mjs +0 -294
- package/templates/ai-workflow/claude/config/context.json +0 -54
package/dist/styles/classes.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextsparkjs/core",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.87",
|
|
4
4
|
"description": "NextSpark - The complete SaaS framework for Next.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "NextSpark <hello@nextspark.dev>",
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
"tailwind-merge": "^3.3.1",
|
|
412
412
|
"uuid": "^13.0.0",
|
|
413
413
|
"zod": "^4.1.5",
|
|
414
|
-
"@nextsparkjs/testing": "0.1.0-beta.
|
|
414
|
+
"@nextsparkjs/testing": "0.1.0-beta.87"
|
|
415
415
|
},
|
|
416
416
|
"scripts": {
|
|
417
417
|
"postinstall": "node scripts/postinstall.mjs || true",
|
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
# Claude Code AI Workflow System
|
|
2
|
-
|
|
3
|
-
This directory contains the **template files** for the Claude Code AI workflow system with ClickUp integration. These templates are managed by the core boilerplate and can be updated without overwriting your personalized configurations.
|
|
4
|
-
|
|
5
|
-
## 🏗️ Architecture Overview
|
|
6
|
-
|
|
7
|
-
The system uses a **template-based approach** to separate core-managed files from user-customizable configurations:
|
|
8
|
-
|
|
9
|
-
- **`core/presets/ai-workflow/claude/`** (this directory) - Template files managed by the boilerplate core
|
|
10
|
-
- **`.claude/`** (project root) - Your working directory with personalized configurations
|
|
11
|
-
|
|
12
|
-
## 📁 Directory Structure
|
|
13
|
-
|
|
14
|
-
```
|
|
15
|
-
core/presets/ai-workflow/claude/ # TEMPLATES (core-managed)
|
|
16
|
-
├── README.md # This file
|
|
17
|
-
├── config/
|
|
18
|
-
│ ├── agents.example.json # Template with demo credentials
|
|
19
|
-
│ ├── workflow.example.md # Template workflow documentation
|
|
20
|
-
│ └── settings.local.example.json # Template permissions config
|
|
21
|
-
├── agents/ # 7 agent definition files
|
|
22
|
-
│ ├── architecture-supervisor.md
|
|
23
|
-
│ ├── backend-developer.md
|
|
24
|
-
│ ├── code-reviewer.md
|
|
25
|
-
│ ├── dev-plugin.md
|
|
26
|
-
│ ├── documentation-writer.md
|
|
27
|
-
│ ├── frontend-developer.md
|
|
28
|
-
│ ├── product-manager.md
|
|
29
|
-
│ └── qa-tester.md
|
|
30
|
-
├── commands/ # Slash command definitions
|
|
31
|
-
│ ├── document-feature.md
|
|
32
|
-
│ ├── execute-task.md
|
|
33
|
-
│ ├── init-task.md
|
|
34
|
-
│ └── scope-change.md
|
|
35
|
-
├── sessions/
|
|
36
|
-
│ └── README.md # Session workflow guide
|
|
37
|
-
└── tools/ # Tool-specific documentation
|
|
38
|
-
├── sessions/
|
|
39
|
-
│ └── templates/ # Session file templates
|
|
40
|
-
│ ├── requirements.md
|
|
41
|
-
│ ├── clickup_task.md
|
|
42
|
-
│ ├── scope.json
|
|
43
|
-
│ ├── plan.md
|
|
44
|
-
│ ├── progress.md
|
|
45
|
-
│ ├── context.md
|
|
46
|
-
│ ├── tests.md
|
|
47
|
-
│ └── pendings.md
|
|
48
|
-
└── clickup/
|
|
49
|
-
├── api.md # ClickUp API reference
|
|
50
|
-
├── mcp.md # ClickUp MCP integration
|
|
51
|
-
└── templates/
|
|
52
|
-
└── task.md # Task template
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
## 🚀 Setup Instructions
|
|
56
|
-
|
|
57
|
-
### First Time Setup
|
|
58
|
-
|
|
59
|
-
1. **Run the setup script:**
|
|
60
|
-
```bash
|
|
61
|
-
npm run setup:claude
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
This copies all template files from `core/presets/ai-workflow/claude/` to `.claude/` in your project root.
|
|
65
|
-
|
|
66
|
-
2. **Create your personalized configuration files:**
|
|
67
|
-
```bash
|
|
68
|
-
# Copy example files to create your configs
|
|
69
|
-
cp .claude/config/agents.example.json .claude/config/agents.json
|
|
70
|
-
cp .claude/config/workflow.example.md .claude/config/workflow.md
|
|
71
|
-
cp .claude/config/settings.local.example.json .claude/config/settings.local.json
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
3. **Add your credentials:**
|
|
75
|
-
- Edit `.claude/config/agents.json` with your ClickUp API token and project IDs
|
|
76
|
-
- Edit `.claude/config/workflow.md` to match your project workflow (optional)
|
|
77
|
-
- Edit `.claude/config/settings.local.json` to adjust permissions (optional)
|
|
78
|
-
|
|
79
|
-
4. **Start using Claude Code:**
|
|
80
|
-
```bash
|
|
81
|
-
# Your slash commands are now available:
|
|
82
|
-
/init-task # Initialize new task with PM + architect
|
|
83
|
-
/execute-task # Execute development workflow
|
|
84
|
-
/scope-change # Handle scope changes
|
|
85
|
-
/document-feature # Generate feature documentation
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### Updating Templates from Core
|
|
89
|
-
|
|
90
|
-
When the boilerplate updates the core templates:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
git pull # Get latest core templates
|
|
94
|
-
npm run setup:claude # Update templates in .claude/
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
**Your personalized files are safe:**
|
|
98
|
-
- `.claude/config/agents.json` - NEVER overwritten
|
|
99
|
-
- `.claude/config/workflow.md` - NEVER overwritten
|
|
100
|
-
- `.claude/config/settings.local.json` - NEVER overwritten
|
|
101
|
-
- `.claude/sessions/[your-sessions]/` - NEVER touched
|
|
102
|
-
|
|
103
|
-
**What gets updated:**
|
|
104
|
-
- All `*.example.*` files in `config/`
|
|
105
|
-
- All agent definitions in `agents/`
|
|
106
|
-
- All command definitions in `commands/`
|
|
107
|
-
- Session templates in `tools/sessions/templates/`
|
|
108
|
-
- Tool documentation in `tools/`
|
|
109
|
-
|
|
110
|
-
## 📋 File Types & Update Strategy
|
|
111
|
-
|
|
112
|
-
### Template Files (Always Updated)
|
|
113
|
-
|
|
114
|
-
These files are copied from core every time you run `npm run setup:claude`:
|
|
115
|
-
|
|
116
|
-
| Directory | Files | Purpose |
|
|
117
|
-
|-----------|-------|---------|
|
|
118
|
-
| `agents/` | All `.md` files | Agent definitions and behaviors |
|
|
119
|
-
| `commands/` | All `.md` files | Slash command implementations |
|
|
120
|
-
| `tools/sessions/templates/` | `*.md`, `*.json` | Session file templates |
|
|
121
|
-
| `tools/` | All files | Tool documentation and guides |
|
|
122
|
-
| `config/` | `*.example.*` | Configuration examples |
|
|
123
|
-
|
|
124
|
-
### User-Managed Files (Never Overwritten)
|
|
125
|
-
|
|
126
|
-
These files are created by you and **never touched** by the setup script:
|
|
127
|
-
|
|
128
|
-
| File | Purpose | Gitignored |
|
|
129
|
-
|------|---------|------------|
|
|
130
|
-
| `.claude/config/agents.json` | Your ClickUp credentials | ✅ Yes |
|
|
131
|
-
| `.claude/config/workflow.md` | Your project workflow | ✅ Yes |
|
|
132
|
-
| `.claude/config/settings.local.json` | Your permissions | ✅ Yes |
|
|
133
|
-
| `.claude/sessions/[name]/` | Your work sessions | ✅ Yes |
|
|
134
|
-
|
|
135
|
-
### Example Files (Templates)
|
|
136
|
-
|
|
137
|
-
Files with `.example.*` in their name are **always updated** from core. They serve as:
|
|
138
|
-
- Reference for correct configuration format
|
|
139
|
-
- Starting point for your personalized configs
|
|
140
|
-
- Documentation of available options
|
|
141
|
-
|
|
142
|
-
## 🔄 Update Workflow
|
|
143
|
-
|
|
144
|
-
### Scenario 1: Core Updates Agent Definitions
|
|
145
|
-
|
|
146
|
-
```bash
|
|
147
|
-
# Boilerplate releases new agent improvements
|
|
148
|
-
git pull
|
|
149
|
-
|
|
150
|
-
# Update your local templates
|
|
151
|
-
npm run setup:claude
|
|
152
|
-
|
|
153
|
-
# Your credentials and sessions are preserved
|
|
154
|
-
# New agent capabilities are immediately available
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
### Scenario 2: You Customize Commands
|
|
158
|
-
|
|
159
|
-
```bash
|
|
160
|
-
# You can add custom commands:
|
|
161
|
-
# Create: .claude/commands/my-custom-command.md
|
|
162
|
-
|
|
163
|
-
# When you update core templates:
|
|
164
|
-
npm run setup:claude
|
|
165
|
-
|
|
166
|
-
# Core commands are updated
|
|
167
|
-
# Your custom commands are preserved
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
### Scenario 3: You Want to Reset
|
|
171
|
-
|
|
172
|
-
```bash
|
|
173
|
-
# Backup your credentials first!
|
|
174
|
-
cp .claude/config/agents.json ~/agents-backup.md
|
|
175
|
-
|
|
176
|
-
# Remove everything
|
|
177
|
-
rm -rf .claude/
|
|
178
|
-
|
|
179
|
-
# Reinstall fresh templates
|
|
180
|
-
npm run setup:claude
|
|
181
|
-
|
|
182
|
-
# Restore your credentials
|
|
183
|
-
cp ~/agents-backup.md .claude/config/agents.json
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
## 🔒 Security & Gitignore
|
|
187
|
-
|
|
188
|
-
Your personalized configuration files containing credentials are **automatically gitignored**:
|
|
189
|
-
|
|
190
|
-
```gitignore
|
|
191
|
-
# These files are NEVER committed to git:
|
|
192
|
-
.claude/config/agents.json
|
|
193
|
-
.claude/config/workflow.md
|
|
194
|
-
.claude/config/settings.local.json
|
|
195
|
-
.claude/sessions/*/ # Your work sessions
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
**Safe to commit (and are in git):**
|
|
199
|
-
- `.claude/agents/` - Agent definitions
|
|
200
|
-
- `.claude/commands/` - Command definitions
|
|
201
|
-
- `.claude/config/*.example.*` - Configuration examples
|
|
202
|
-
- `.claude/sessions/README.md` - Session documentation
|
|
203
|
-
- `.claude/tools/sessions/templates/` - Session templates
|
|
204
|
-
- `.claude/tools/` - Tool documentation
|
|
205
|
-
|
|
206
|
-
## 📖 Key Files Explained
|
|
207
|
-
|
|
208
|
-
### `config/agents.json`
|
|
209
|
-
Contains your ClickUp API credentials and project configuration:
|
|
210
|
-
- ClickUp API token
|
|
211
|
-
- Workspace, Space, List IDs
|
|
212
|
-
- User IDs for assignments
|
|
213
|
-
- Custom field mappings
|
|
214
|
-
|
|
215
|
-
**Important:** This file contains secrets. Never commit it to git.
|
|
216
|
-
|
|
217
|
-
### `config/workflow.md`
|
|
218
|
-
Documents your project's development workflow:
|
|
219
|
-
- Session-based task management process
|
|
220
|
-
- Agent coordination patterns
|
|
221
|
-
- ClickUp integration workflows
|
|
222
|
-
- Approval and review processes
|
|
223
|
-
|
|
224
|
-
You can customize this to match your team's workflow.
|
|
225
|
-
|
|
226
|
-
### `config/settings.local.json`
|
|
227
|
-
Controls Claude Code's permissions for this project:
|
|
228
|
-
- Allowed/denied tool access
|
|
229
|
-
- Auto-approved commands
|
|
230
|
-
- Safety settings
|
|
231
|
-
|
|
232
|
-
Customize based on your trust level and project needs.
|
|
233
|
-
|
|
234
|
-
### `agents/*.md`
|
|
235
|
-
Defines specialized agent behaviors:
|
|
236
|
-
- **architecture-supervisor** - System design and planning
|
|
237
|
-
- **backend-developer** - API and database work
|
|
238
|
-
- **code-reviewer** - Code quality validation
|
|
239
|
-
- **dev-plugin** - Plugin development specialist
|
|
240
|
-
- **documentation-writer** - Documentation generation
|
|
241
|
-
- **frontend-developer** - UI implementation
|
|
242
|
-
- **product-manager** - Task management and ClickUp integration
|
|
243
|
-
- **qa-tester** - Testing and quality assurance
|
|
244
|
-
|
|
245
|
-
### `commands/*.md`
|
|
246
|
-
Slash commands for common workflows:
|
|
247
|
-
- **/init-task** - Initialize task with PM requirements + architect planning
|
|
248
|
-
- **/execute-task** - Full development workflow (Backend → Frontend → QA → Review)
|
|
249
|
-
- **/scope-change** - Handle scope changes mid-development
|
|
250
|
-
- **/document-feature** - Generate comprehensive feature documentation
|
|
251
|
-
|
|
252
|
-
### `sessions/`
|
|
253
|
-
Session-based task tracking system:
|
|
254
|
-
- Each feature gets its own session folder
|
|
255
|
-
- Templates provide consistent structure
|
|
256
|
-
- Tracks plan, progress, context, ClickUp task
|
|
257
|
-
- Preserves development history
|
|
258
|
-
|
|
259
|
-
## 🤝 Contributing Updates to Core
|
|
260
|
-
|
|
261
|
-
If you improve an agent definition, command, or workflow that would benefit other users:
|
|
262
|
-
|
|
263
|
-
1. Update the file in `core/presets/ai-workflow/claude/`
|
|
264
|
-
2. Remove any project-specific details
|
|
265
|
-
3. Update this README if needed
|
|
266
|
-
4. Submit a PR to the boilerplate repository
|
|
267
|
-
|
|
268
|
-
## 📚 Additional Resources
|
|
269
|
-
|
|
270
|
-
- **Main Documentation:** See `/CLAUDE.md` in project root for complete usage guide
|
|
271
|
-
- **Rules System:** See `/.rules/` for development standards and agent integration
|
|
272
|
-
- **ClickUp Integration:** See `tools/clickup/` for API and MCP documentation
|
|
273
|
-
- **Session Workflow:** See `sessions/README.md` for session-based task management
|
|
274
|
-
|
|
275
|
-
---
|
|
276
|
-
|
|
277
|
-
**System Version:** 1.0.0
|
|
278
|
-
**Last Updated:** 2025-01-20
|
|
279
|
-
**Maintained by:** NextSpark Team
|