@ruyfranca/myskills 1.0.33 → 1.0.34

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.
@@ -1,9 +1,9 @@
1
1
  ---
2
- name: sdd-spec-writer
3
- description: Specification writer for Spec-Driven Development (SDD) creates executable specifications that serve as unambiguous contracts.
4
- tools: Read, Grep, Glob, Bash
5
- model: inherit
6
- skills: sdd-spec-writer, clean-code, writing-plans
2
+ name: "sdd-spec-writer"
3
+ description: "Specification writer for Spec-Driven Development (SDD) - creates executable specifications that serve as unambiguous contracts."
4
+ tools: "Read, Grep, Glob, Bash"
5
+ model: "inherit"
6
+ skills: "sdd-spec-writer, clean-code, writing-plans"
7
7
  ---
8
8
 
9
9
  # SDD Spec Writer
@@ -1,6 +1,6 @@
1
1
  ---
2
- name: SDD Spec Writer
3
- description: Specification writing methodology for Spec-Driven Development (SDD)
2
+ name: "SDD Spec Writer"
3
+ description: "Specification writing methodology for Spec-Driven Development (SDD)"
4
4
  ---
5
5
 
6
6
  # SDD Spec Writer Skill
@@ -1,5 +1,5 @@
1
1
  ---
2
- description: Spec-Driven Development format. Create a clear spec contract for a task.
2
+ description: "Spec-Driven Development format. Create a clear spec contract for a task."
3
3
  ---
4
4
 
5
5
  # /sdd-spec Workflow
package/index.js CHANGED
@@ -16,7 +16,7 @@ const AGENTS_DIR = path.join(__dirname, '.agent', 'agents');
16
16
  program
17
17
  .name('myskills')
18
18
  .description('CLI para gerenciar e instalar skills e agents do Antigravity')
19
- .version('1.0.33');
19
+ .version('1.0.34');
20
20
 
21
21
  program
22
22
  .command('list')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruyfranca/myskills",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Biblioteca de skills customizadas para Antigravity / Claude Code",
5
5
  "main": "index.js",
6
6
  "bin": {
package/test-yaml.js ADDED
@@ -0,0 +1,31 @@
1
+ import fs from 'fs';
2
+ import path from 'path';
3
+
4
+ function checkDir(dir) {
5
+ let files = fs.readdirSync(dir, { withFileTypes: true });
6
+ for (let f of files) {
7
+ let full = path.join(dir, f.name);
8
+ if (f.isDirectory()) {
9
+ checkDir(full);
10
+ } else if (f.name.endsWith('.md')) {
11
+ let content = fs.readFileSync(full, 'utf8');
12
+ if (content.startsWith('---')) {
13
+ let closing = content.indexOf('\n---', 3);
14
+ if (closing === -1) {
15
+ console.log('Error: No closing --- in', full);
16
+ } else {
17
+ // extract
18
+ let yamlStr = content.substring(4, closing);
19
+ // check if there's another block immediately following
20
+ let rest = content.substring(closing + 4).trimStart();
21
+ if (rest.startsWith('---')) {
22
+ console.log('Error: Duplicate frontmatter block in', full);
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
28
+ }
29
+
30
+ checkDir('.agent');
31
+ console.log('Done checking.');