claude-cli-advanced-starter-pack 1.0.1 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-cli-advanced-starter-pack",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Advanced Claude Code CLI toolkit - agents, hooks, skills, MCP servers, phased development, and GitHub integration",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1583,8 +1583,14 @@ export async function runInit(options = {}) {
1583
1583
  if (template) {
1584
1584
  content = template();
1585
1585
  } else {
1586
- failed.push({ name: cmdName, error: 'No template found' });
1587
- continue;
1586
+ // Try to load from templates/commands/ folder
1587
+ const templatePath = join(__dirname, '..', '..', 'templates', 'commands', `${cmdName}.template.md`);
1588
+ if (existsSync(templatePath)) {
1589
+ content = readFileSync(templatePath, 'utf8');
1590
+ } else {
1591
+ failed.push({ name: cmdName, error: 'No template found' });
1592
+ continue;
1593
+ }
1588
1594
  }
1589
1595
  }
1590
1596