@skillmarkdown/cli 0.1.4 → 0.1.5
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/README.md +4 -0
- package/dist/commands/init.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,6 +42,8 @@ skillmd init --no-validate
|
|
|
42
42
|
skillmd validate
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
+
Default `validate` is spec-only. It checks `SKILL.md` and frontmatter rules, and does not require scaffold directories/files.
|
|
46
|
+
|
|
45
47
|
You can also pass an explicit path:
|
|
46
48
|
|
|
47
49
|
```bash
|
|
@@ -54,6 +56,8 @@ Run additional scaffold/template checks:
|
|
|
54
56
|
skillmd validate --strict
|
|
55
57
|
```
|
|
56
58
|
|
|
59
|
+
`--strict` is intentionally stronger than base spec mode and enforces scaffold/template conventions (for example `.gitkeep` files and required section headings).
|
|
60
|
+
|
|
57
61
|
Compare local validation with `skills-ref` (when installed):
|
|
58
62
|
|
|
59
63
|
```bash
|
package/dist/commands/init.js
CHANGED
|
@@ -15,7 +15,7 @@ function runInitCommand(args, options = {}) {
|
|
|
15
15
|
}
|
|
16
16
|
try {
|
|
17
17
|
const result = (0, scaffold_1.scaffoldSkillInDirectory)(cwd);
|
|
18
|
-
console.log(`Initialized skill '${result.skillName}'
|
|
18
|
+
console.log(`Initialized skill '${result.skillName}'.`);
|
|
19
19
|
if (skipValidation) {
|
|
20
20
|
console.log("Validation skipped (--no-validate).");
|
|
21
21
|
return 0;
|