@ruyfranca/myskills 1.0.32 → 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/README.md CHANGED
@@ -366,6 +366,23 @@ npx @ruyfranca/myskills update --agents
366
366
  npx @ruyfranca/myskills update --workflows
367
367
  ```
368
368
 
369
+ ### 🚨 Resolução de Problemas (Troubleshooting)
370
+
371
+ **Erro no Antigravity: `ConnectError: [unknown] Failed to fetch` ou crash de inicialização**
372
+
373
+ Se após utilizar o `install-global` o seu Antigravity parar de funcionar com um erro de *Skills Configuration* ou *Failed to load MCP servers*, **não se desespere**, você não perdeu seu histórico. Isso ocorria em versões anteriores (`<= 1.0.31`) devido a um parser interno do Antigravity que rejeitava arquivos `.md` com cabeçalhos estruturais YAML duplicados.
374
+
375
+ **Como resolver de vez o lado do cliente:**
376
+ 1. Apague apenas a pasta global de workflows que está engasgando o backend:
377
+ - **Mac/Linux**: `rm -rf ~/.gemini/antigravity/global_workflows`
378
+ - **Windows PowerShell**: `Remove-Item -Recurse -Force ~\.gemini\antigravity\global_workflows`
379
+ 2. Pressione `Cmd+R` (ou `Ctrl+R`) no Antigravity e verifique que ele voltou ao normal e ligou com sucesso.
380
+ 3. Agora rode o comando com a versão atualizada (a partir de `1.0.32` já contém a correção embutida):
381
+ ```bash
382
+ npx @ruyfranca/myskills@latest install-global
383
+ ```
384
+ O Antigravity vai reiniciar perfeitamente já com seus global workflows ativos!
385
+
369
386
  ---
370
387
 
371
388
  ## 🔄 Fluxo de Atualização (Para Desenvolvedores)
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.32');
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.32",
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.');