@patricio0312rev/skillset 0.1.1 → 0.1.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@patricio0312rev/skillset",
3
3
  "displayName": "Skillset",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "description": "CLI tool to import production-ready development skills for Claude Code, Cursor, GitHub Copilot, and other AI coding assistants",
6
6
  "main": "src/index.js",
7
7
  "bin": {
@@ -112,7 +112,12 @@ async function generateSkillFile(domain, skill, domainDir, config) {
112
112
  domain,
113
113
  skill
114
114
  );
115
- const sourceFile = path.join(sourceDir, " SKILL.md");
115
+
116
+ let sourceFile = path.join(sourceDir, "SKILL.md");
117
+
118
+ if (!await fs.pathExists(sourceFile)) {
119
+ sourceFile = path.join(sourceDir, " SKILL.md");
120
+ }
116
121
 
117
122
  // Target file with appropriate extension
118
123
  const targetSkillDir = path.join(domainDir, skill);