@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.
- package/.agent/agents/sdd-spec-writer.md +5 -5
- package/.agent/skills/sdd-spec-writer/SKILL.md +2 -2
- package/.agent/workflows/sdd-spec.md +1 -1
- package/README.md +17 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/test-yaml.js +31 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: sdd-spec-writer
|
|
3
|
-
description: Specification writer for Spec-Driven Development (SDD)
|
|
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
|
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
package/package.json
CHANGED
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.');
|