brand-intent 0.1.5 → 0.1.6

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/cli/index.mjs +15 -21
  2. package/package.json +1 -1
package/cli/index.mjs CHANGED
@@ -107,30 +107,24 @@ if (!command || command === '--help' || command === '-h') {
107
107
  process.exit(0);
108
108
  }
109
109
 
110
- // Both "init" and "install-skills" do the same thing now
111
- const installed = await installSkills(cwd);
112
- closeRl();
110
+ // Ask for project folder
111
+ console.log(' Brand Intent \u2014 What a brand means. Authored, structured, shared.\n');
112
+ const folder = await ask(' Project folder (. for current directory): ');
113
+ const targetDir = resolve(cwd, folder.trim() || '.');
114
+ if (targetDir !== cwd) {
115
+ mkdirSync(targetDir, { recursive: true });
116
+ }
117
+ console.log('');
113
118
 
114
- // Show next steps with skill-specific commands
115
- const hasClaudeCode = installed.some(h => h.id === 'claude');
116
- const hasCursor = installed.some(h => h.id === 'cursor');
119
+ await installSkills(targetDir);
120
+ closeRl();
117
121
 
118
122
  console.log('\n Done. Now open your AI agent and try:\n');
119
123
  console.log(' "Onboard my brand"');
120
124
  console.log(' "Show me the Krume bakery example"');
121
-
122
- if (hasClaudeCode || hasCursor) {
123
- console.log('\n Or use the skill directly:\n');
124
- if (hasClaudeCode) {
125
- console.log(' /brand-intent onboard Create your brand through a guided interview');
126
- console.log(' /brand-intent example Scaffold the Krume reference implementation');
127
- console.log(' /brand-intent validate Validate content against your brand rules');
128
- console.log(' /brand-intent Discover brand files and available purposes');
129
- }
130
- if (hasCursor) {
131
- console.log(' @brand-intent onboard Create your brand through a guided interview');
132
- console.log(' @brand-intent example Scaffold the Krume reference implementation');
133
- }
134
- }
135
-
125
+ console.log('\n Skill commands:\n');
126
+ console.log(' /brand-intent onboard Create your brand through a guided interview');
127
+ console.log(' /brand-intent example Scaffold the Krume reference implementation');
128
+ console.log(' /brand-intent validate Validate content against your brand rules');
129
+ console.log(' /brand-intent Discover brand files and available purposes');
136
130
  console.log('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brand-intent",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "An open file format specification for making brand intent machine-readable.",
5
5
  "author": "Christophe Stoll <christophe@stoll.studio>",
6
6
  "license": "MIT",