sdd-skills 1.0.0 → 1.0.1

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 (2) hide show
  1. package/install.js +25 -2
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -69,7 +69,7 @@ async function promptInstallation() {
69
69
  value: 'local',
70
70
  },
71
71
  ],
72
- default: 'global',
72
+ // Removed default to force user selection
73
73
  },
74
74
  {
75
75
  type: 'confirm',
@@ -229,9 +229,32 @@ async function install() {
229
229
  // Prompt for installation options
230
230
  const answers = await promptInstallation();
231
231
 
232
- // Determine target directory
232
+ // Display confirmation before installation
233
233
  const targetDir = answers.location === 'global' ? GLOBAL_SKILLS_DIR : LOCAL_SKILLS_DIR;
234
234
 
235
+ console.log(chalk.bold('\nšŸ“‹ Installation Summary:\n'));
236
+ console.log(` ${chalk.gray('Location:')} ${chalk.cyan(answers.location === 'global' ? 'Global' : 'Local (Current Project)')}`);
237
+ console.log(` ${chalk.gray('Install to:')} ${chalk.cyan(targetDir)}`);
238
+ console.log(` ${chalk.gray('Skills:')} ${chalk.cyan('7')} (SAE, Backend, Frontend, Tester, Reviewer, Git, Notifier)`);
239
+ if (answers.configureDingTalk) {
240
+ console.log(` ${chalk.gray('DingTalk:')} ${chalk.cyan('Enabled')}`);
241
+ }
242
+ console.log('');
243
+
244
+ const { confirmInstall } = await inquirer.prompt([
245
+ {
246
+ type: 'confirm',
247
+ name: 'confirmInstall',
248
+ message: 'Proceed with installation?',
249
+ default: true,
250
+ },
251
+ ]);
252
+
253
+ if (!confirmInstall) {
254
+ console.log(chalk.yellow('\nāš ļø Installation cancelled by user\n'));
255
+ process.exit(0);
256
+ }
257
+
235
258
  // Install Skills
236
259
  installSkills(targetDir);
237
260
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdd-skills",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Spec-Driven Development Skills for Claude Code - SAE/ADE workflow automation",
5
5
  "type": "module",
6
6
  "main": "install.js",