@tinkcarlos/skillora 0.2.2 → 0.2.3

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/lib/init.js +1 -1
  2. package/package.json +1 -1
package/lib/init.js CHANGED
@@ -304,7 +304,7 @@ async function runInit(options, bundledSkillsDir) {
304
304
  // 生成平台配置文件
305
305
  if (platforms.includes("claude-code")) {
306
306
  const claudeMdPath = path.join(cwd, "CLAUDE.md");
307
- if (!fs.existsSync(claudeMdPath)) {
307
+ if (!fs.existsSync(claudeMdPath) || options.force) {
308
308
  fs.writeFileSync(claudeMdPath, generateClaudeMd(skills), "utf8");
309
309
  created.push("CLAUDE.md");
310
310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinkcarlos/skillora",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "CLI installer for bundled Claude Code skills (SKILL.md format)",
5
5
  "bin": {
6
6
  "skillora": "bin/cli.js"