@ruyfranca/myskills 1.0.35 → 1.0.38

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.
Files changed (145) hide show
  1. package/.agent/skills/analyze-project/SKILL.md +1 -2
  2. package/.agent/skills/antigravity-design-expert/SKILL.md +1 -2
  3. package/.agent/skills/api-integration-specialist/SKILL.md +5 -2
  4. package/.agent/skills/api-patterns/SKILL.md +5 -2
  5. package/.agent/skills/app-builder/SKILL.md +5 -2
  6. package/.agent/skills/artifacts-builder/SKILL.md +4 -1
  7. package/.agent/skills/bash-linux/SKILL.md +4 -1
  8. package/.agent/skills/behavioral-modes/SKILL.md +5 -2
  9. package/.agent/skills/brainstorming/SKILL.md +5 -2
  10. package/.agent/skills/business-analyst/SKILL.md +4 -1
  11. package/.agent/skills/canvas-design/SKILL.md +5 -2
  12. package/.agent/skills/clean-code/SKILL.md +5 -2
  13. package/.agent/skills/code-review-checklist/SKILL.md +5 -2
  14. package/.agent/skills/code-reviewer/SKILL.md +5 -2
  15. package/.agent/skills/content-research-writer/SKILL.md +5 -2
  16. package/.agent/skills/copywriting/SKILL.md +5 -2
  17. package/.agent/skills/cqrs-implementation/SKILL.md +2 -2
  18. package/.agent/skills/creative-design-figma/SKILL.md +5 -2
  19. package/.agent/skills/cto-advisor/SKILL.md +5 -2
  20. package/.agent/skills/database-design/SKILL.md +5 -2
  21. package/.agent/skills/ddd-strategic-design/SKILL.md +2 -2
  22. package/.agent/skills/ddd-tactical-patterns/SKILL.md +2 -2
  23. package/.agent/skills/deployment-procedures/SKILL.md +5 -2
  24. package/.agent/skills/doc-coauthoring/SKILL.md +2 -3
  25. package/.agent/skills/docker-expert/SKILL.md +5 -2
  26. package/.agent/skills/documentation-templates/SKILL.md +5 -2
  27. package/.agent/skills/elixir-pro/SKILL.md +2 -2
  28. package/.agent/skills/email-composer/SKILL.md +5 -2
  29. package/.agent/skills/event-sourcing-architect/SKILL.md +2 -2
  30. package/.agent/skills/figma-dev-mode/SKILL.md +5 -2
  31. package/.agent/skills/file-organizer/SKILL.md +5 -2
  32. package/.agent/skills/frontend-design/SKILL.md +5 -2
  33. package/.agent/skills/game-development/SKILL.md +5 -2
  34. package/.agent/skills/geo-fundamentals/SKILL.md +5 -2
  35. package/.agent/skills/golang-pro/SKILL.md +2 -2
  36. package/.agent/skills/i18n-localization/SKILL.md +5 -2
  37. package/.agent/skills/intelligent-routing/SKILL.md +5 -2
  38. package/.agent/skills/invoice-organizer/SKILL.md +5 -2
  39. package/.agent/skills/kotlin-coroutines-expert/SKILL.md +2 -2
  40. package/.agent/skills/lead-research-assistant/SKILL.md +5 -2
  41. package/.agent/skills/leiloeiro-risco/SKILL.md +2 -3
  42. package/.agent/skills/lint-and-validate/SKILL.md +5 -2
  43. package/.agent/skills/marketing-campaigns/SKILL.md +5 -2
  44. package/.agent/skills/mcp-builder/SKILL.md +5 -2
  45. package/.agent/skills/mobile-design/SKILL.md +5 -2
  46. package/.agent/skills/modern-javascript-patterns/SKILL.md +1 -1
  47. package/.agent/skills/monorepo-architect/SKILL.md +2 -2
  48. package/.agent/skills/nestjs/SKILL.md +5 -2
  49. package/.agent/skills/nextjs-best-practices/SKILL.md +5 -2
  50. package/.agent/skills/nextjs-react-expert/SKILL.md +1 -1
  51. package/.agent/skills/parallel-agents/SKILL.md +5 -2
  52. package/.agent/skills/pdf-processing-pro/SKILL.md +5 -2
  53. package/.agent/skills/performance-profiling/SKILL.md +5 -2
  54. package/.agent/skills/powershell-windows/SKILL.md +5 -2
  55. package/.agent/skills/pptx/SKILL.md +5 -2
  56. package/.agent/skills/product-manager/SKILL.md +5 -2
  57. package/.agent/skills/python-patterns/SKILL.md +5 -2
  58. package/.agent/skills/react-best-practices/SKILL.md +208 -0
  59. package/.agent/skills/react-best-practices/references/react-performance-guidelines.md +1865 -0
  60. package/.agent/skills/react-best-practices/references/rules/_sections.md +46 -0
  61. package/.agent/skills/react-best-practices/references/rules/_template.md +28 -0
  62. package/.agent/skills/react-best-practices/references/rules/advanced-event-handler-refs.md +38 -0
  63. package/.agent/skills/react-best-practices/references/rules/advanced-use-latest.md +49 -0
  64. package/.agent/skills/react-best-practices/references/rules/async-api-routes.md +38 -0
  65. package/.agent/skills/react-best-practices/references/rules/async-defer-await.md +80 -0
  66. package/.agent/skills/react-best-practices/references/rules/async-dependencies.md +36 -0
  67. package/.agent/skills/react-best-practices/references/rules/async-parallel.md +28 -0
  68. package/.agent/skills/react-best-practices/references/rules/async-suspense-boundaries.md +66 -0
  69. package/.agent/skills/react-best-practices/references/rules/bundle-barrel-imports.md +59 -0
  70. package/.agent/skills/react-best-practices/references/rules/bundle-conditional.md +31 -0
  71. package/.agent/skills/react-best-practices/references/rules/bundle-defer-third-party.md +49 -0
  72. package/.agent/skills/react-best-practices/references/rules/bundle-dynamic-imports.md +35 -0
  73. package/.agent/skills/react-best-practices/references/rules/bundle-preload.md +50 -0
  74. package/.agent/skills/react-best-practices/references/rules/client-event-listeners.md +74 -0
  75. package/.agent/skills/react-best-practices/references/rules/client-swr-dedup.md +56 -0
  76. package/.agent/skills/react-best-practices/references/rules/download_rules.sh +63 -0
  77. package/.agent/skills/react-best-practices/references/rules/js-batch-dom-css.md +82 -0
  78. package/.agent/skills/react-best-practices/references/rules/js-cache-function-results.md +80 -0
  79. package/.agent/skills/react-best-practices/references/rules/js-cache-property-access.md +28 -0
  80. package/.agent/skills/react-best-practices/references/rules/js-cache-storage.md +68 -0
  81. package/.agent/skills/react-best-practices/references/rules/js-combine-iterations.md +32 -0
  82. package/.agent/skills/react-best-practices/references/rules/js-early-exit.md +50 -0
  83. package/.agent/skills/react-best-practices/references/rules/js-hoist-regexp.md +43 -0
  84. package/.agent/skills/react-best-practices/references/rules/js-index-maps.md +37 -0
  85. package/.agent/skills/react-best-practices/references/rules/js-length-check-first.md +49 -0
  86. package/.agent/skills/react-best-practices/references/rules/js-min-max-loop.md +82 -0
  87. package/.agent/skills/react-best-practices/references/rules/js-set-map-lookups.md +24 -0
  88. package/.agent/skills/react-best-practices/references/rules/js-tosorted-immutable.md +57 -0
  89. package/.agent/skills/react-best-practices/references/rules/rendering-activity.md +26 -0
  90. package/.agent/skills/react-best-practices/references/rules/rendering-animate-svg-wrapper.md +47 -0
  91. package/.agent/skills/react-best-practices/references/rules/rendering-conditional-render.md +40 -0
  92. package/.agent/skills/react-best-practices/references/rules/rendering-content-visibility.md +38 -0
  93. package/.agent/skills/react-best-practices/references/rules/rendering-hoist-jsx.md +44 -0
  94. package/.agent/skills/react-best-practices/references/rules/rendering-hydration-no-flicker.md +82 -0
  95. package/.agent/skills/react-best-practices/references/rules/rendering-svg-precision.md +28 -0
  96. package/.agent/skills/react-best-practices/references/rules/rerender-defer-reads.md +39 -0
  97. package/.agent/skills/react-best-practices/references/rules/rerender-dependencies.md +45 -0
  98. package/.agent/skills/react-best-practices/references/rules/rerender-derived-state.md +29 -0
  99. package/.agent/skills/react-best-practices/references/rules/rerender-lazy-state-init.md +58 -0
  100. package/.agent/skills/react-best-practices/references/rules/rerender-memo.md +42 -0
  101. package/.agent/skills/react-best-practices/references/rules/rerender-transitions.md +40 -0
  102. package/.agent/skills/react-best-practices/references/rules/server-cache-lru.md +37 -0
  103. package/.agent/skills/react-best-practices/references/rules/server-cache-react.md +26 -0
  104. package/.agent/skills/react-best-practices/references/rules/server-parallel-fetching.md +79 -0
  105. package/.agent/skills/react-best-practices/references/rules/server-serialization.md +38 -0
  106. package/.agent/skills/react-patterns/SKILL.md +2 -2
  107. package/.agent/skills/react-state-management/SKILL.md +2 -2
  108. package/.agent/skills/red-team-tactics/SKILL.md +5 -2
  109. package/.agent/skills/ruby-pro/SKILL.md +2 -2
  110. package/.agent/skills/rust-pro/SKILL.md +5 -1
  111. package/.agent/skills/sdd-spec-writer/SKILL.md +5 -2
  112. package/.agent/skills/security/SKILL.md +4 -1
  113. package/.agent/skills/senior-devops/SKILL.md +4 -1
  114. package/.agent/skills/senior-frontend/SKILL.md +5 -2
  115. package/.agent/skills/senior-fullstack/SKILL.md +5 -2
  116. package/.agent/skills/senior-prompt-engineer/SKILL.md +5 -2
  117. package/.agent/skills/senior-qa/SKILL.md +5 -2
  118. package/.agent/skills/senior-security/SKILL.md +5 -2
  119. package/.agent/skills/seo-optimizer/SKILL.md +5 -2
  120. package/.agent/skills/server-management/SKILL.md +5 -2
  121. package/.agent/skills/skill-developer/SKILL.md +1 -2
  122. package/.agent/skills/software-architecture/SKILL.md +5 -2
  123. package/.agent/skills/supabase-postgres/SKILL.md +5 -2
  124. package/.agent/skills/systematic-debugging/SKILL.md +5 -2
  125. package/.agent/skills/tailwind-patterns/SKILL.md +5 -2
  126. package/.agent/skills/tdd-workflow/SKILL.md +5 -2
  127. package/.agent/skills/test-driven-development/SKILL.md +5 -2
  128. package/.agent/skills/testing-patterns/SKILL.md +5 -2
  129. package/.agent/skills/theme-factory/SKILL.md +5 -2
  130. package/.agent/skills/ui-design-system/SKILL.md +5 -2
  131. package/.agent/skills/ui-ux-pro-max/SKILL.md +5 -2
  132. package/.agent/skills/uncle-bob-craft/SKILL.md +2 -3
  133. package/.agent/skills/ux-researcher-designer/SKILL.md +5 -2
  134. package/.agent/skills/vulnerability-scanner/SKILL.md +5 -2
  135. package/.agent/skills/web-design-guidelines/SKILL.md +5 -2
  136. package/.agent/skills/web-performance/SKILL.md +5 -2
  137. package/.agent/skills/webapp-testing/SKILL.md +5 -2
  138. package/.agent/skills/writing-plans/SKILL.md +5 -2
  139. package/.agent/skills/xlsx/SKILL.md +5 -2
  140. package/.agent/skills/zod-validation-expert/SKILL.md +2 -2
  141. package/README.md +3 -2
  142. package/index.js +38 -13
  143. package/package.json +9 -1
  144. package/plugin.json +8 -0
  145. package/test-yaml.js +0 -31
@@ -1,9 +1,12 @@
1
1
  ---
2
2
  name: vulnerability-scanner
3
- description: Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization.
3
+ description: "Advanced vulnerability analysis principles. OWASP 2025, Supply Chain Security, attack surface mapping, risk prioritization. / Segurança e auditoria."
4
4
  allowed-tools: Read, Glob, Grep, Bash
5
+ triggers: [auditoria, hacking, proteção, segurança, vulnerabilidades]
6
+ risk: safe
7
+ source: v4-migration
8
+ date_added: "2026-04-22"
5
9
  ---
6
-
7
10
  # Vulnerability Scanner
8
11
 
9
12
  > Think like an attacker, defend like an expert. 2025 threat landscape awareness.
@@ -1,12 +1,15 @@
1
1
  ---
2
2
  name: web-design-guidelines
3
- description: Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
3
+ description: ""Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".""
4
4
  metadata:
5
5
  author: vercel
6
6
  version: "1.0.0"
7
7
  argument-hint: <file-or-pattern>
8
+ triggers: [design, design de interface, espaçamento, experiência do usuário, interface de usuário, sistema de design, tipografia, ui, ux]
9
+ risk: safe
10
+ source: v4-migration
11
+ date_added: "2026-04-22"
8
12
  ---
9
-
10
13
  # Web Interface Guidelines
11
14
 
12
15
  Review files for compliance with Web Interface Guidelines.
@@ -1,8 +1,11 @@
1
1
  ---
2
2
  name: Web Performance
3
- description: Optimize Core Web Vitals, loading speed, bundle size, and runtime performance.
3
+ description: "Optimize Core Web Vitals, loading speed, bundle size, and runtime performance."
4
+ triggers: []
5
+ risk: safe
6
+ source: v4-migration
7
+ date_added: "2026-04-22"
4
8
  ---
5
-
6
9
  # Web Performance Skill
7
10
 
8
11
  You are a performance engineer specializing in web optimization. Your goal is to achieve lightning-fast loading times and excellent Core Web Vitals (LCP, FID, CLS).
@@ -1,9 +1,12 @@
1
1
  ---
2
2
  name: webapp-testing
3
- description: Web application testing principles. E2E, Playwright, deep audit strategies.
3
+ description: "Web application testing principles. E2E, Playwright, deep audit strategies. / Testes e qualidade."
4
4
  allowed-tools: Read, Write, Edit, Glob, Grep, Bash
5
+ triggers: [cobertura, garantia de qualidade, qa, testes]
6
+ risk: safe
7
+ source: v4-migration
8
+ date_added: "2026-04-22"
5
9
  ---
6
-
7
10
  # Web App Testing
8
11
 
9
12
  > Discover and test everything. Leave no route untested.
@@ -1,8 +1,11 @@
1
1
  ---
2
2
  name: Writing Plans
3
- description: Expertise in creating detailed, bite-sized implementation plans for multi-step engineering tasks.
3
+ description: "Expertise in creating detailed, bite-sized implementation plans for multi-step engineering tasks."
4
+ triggers: [planejamento, roadmap, roteiro]
5
+ risk: safe
6
+ source: v4-migration
7
+ date_added: "2026-04-22"
4
8
  ---
5
-
6
9
  # Writing Plans Skill
7
10
 
8
11
  You are a senior architect and implementation specialist. Your goal is to transform high-level requirements or specifications into a comprehensive, step-by-step implementation plan that any engineer can follow with precision.
@@ -1,8 +1,11 @@
1
1
  ---
2
2
  name: XLSX Automation
3
- description: Professional spreadsheet creation, analysis, and financial modeling with support for complex formulas and recalcs.
3
+ description: "Professional spreadsheet creation, analysis, and financial modeling with support for complex formulas and recalcs."
4
+ triggers: []
5
+ risk: safe
6
+ source: v4-migration
7
+ date_added: "2026-04-22"
4
8
  ---
5
-
6
9
  # XLSX Automation Skill
7
10
 
8
11
  You are a spreadsheet and data analysis specialist. You create dynamic, automated, and professionally formatted Excel files (.xlsx, .xlsm, .csv) with a focus on data integrity, clear labeling, and functional formulas.
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: zod-validation-expert
3
- description: "Expert in Zod schema validation, type inference, and integration with React Hook Form, Next.js Server Actions, and tRPC."
3
+ description: ""Expert in Zod schema validation, type inference, and integration with React Hook Form, Next.js Server Actions, and tRPC." / Desenvolvimento backend e APIs."
4
4
  risk: safe
5
5
  source: community
6
6
  date_added: "2026-02-27"
7
+ triggers: []
7
8
  ---
8
-
9
9
  # Zod Validation Expert
10
10
 
11
11
  You are a production-grade Zod expert. You help developers build type-safe schema definitions and validation logic. You master Zod fundamentals, type inference, complex validations, transformations, and integrations across the modern TypeScript ecosystem.
package/README.md CHANGED
@@ -12,6 +12,7 @@ npx @ruyfranca/myskills init && npx @ruyfranca/myskills install-global
12
12
 
13
13
  - `init` → instala a pasta `.agent/` (skills, agents, workflows) no projeto atual
14
14
  - `install-global` → instala os workflows em `~/.gemini/antigravity/global_workflows/` para o menu `/` do Antigravity
15
+ - **🌎 Tropicalização**: Todas as skills agora suportam gatilhos em **Português**, permitindo comandos naturais como *"otimizar"* ou *"corrigir bug"*.
15
16
 
16
17
  > **Após rodar, feche e reabra o Antigravity.** Os comandos `/brainstorm`, `/debug`, `/plan` e todos os outros estarão disponíveis.
17
18
 
@@ -127,12 +128,12 @@ Integração com o Figma Oficial na Nuvem:
127
128
  - **Precisão**: Extração limpa de variáveis, componentes e assets (SVGs e imagens).
128
129
 
129
130
  ---
130
- ## 📚 Mais de 70 Skills Especializadas!
131
+ ## 📚 Mais de 90 Skills Especializadas!
131
132
  A biblioteca foi expandida massivamente com recursos do Antigravity Kit. Algumas novas categorias incluem:
132
133
 
133
134
  - **Ecosystems**: [Rust Pro](file:///Users/ruy/Code/mySkills/.agent/skills/rust-pro/SKILL.md), [Python Patterns](file:///Users/ruy/Code/mySkills/.agent/skills/python-patterns/SKILL.md), [MCP Builder](file:///Users/ruy/Code/mySkills/.agent/skills/mcp-builder/SKILL.md).
134
135
  - **Architecture**: [Database Design](file:///Users/ruy/Code/mySkills/.agent/skills/database-design/SKILL.md), [Deployment Procedures](file:///Users/ruy/Code/mySkills/.agent/skills/deployment-procedures/SKILL.md), [API Patterns](file:///Users/ruy/Code/mySkills/.agent/skills/api-patterns/SKILL.md).
135
- - **Frontend & Web**: [Tailwind Patterns](file:///Users/ruy/Code/mySkills/.agent/skills/tailwind-patterns/SKILL.md), [Next.js React Expert](file:///Users/ruy/Code/mySkills/.agent/skills/nextjs-react-expert/SKILL.md), [Web Design Guidelines](file:///Users/ruy/Code/mySkills/.agent/skills/web-design-guidelines/SKILL.md).
136
+ - **Frontend & Web**: [React Best Practices](file:///Users/ruy/Documents/mySkills-1/.agent/skills/react-best-practices/SKILL.md), [Tailwind Patterns](file:///Users/ruy/Code/mySkills/.agent/skills/tailwind-patterns/SKILL.md), [Next.js React Expert](file:///Users/ruy/Code/mySkills/.agent/skills/nextjs-react-expert/SKILL.md), [Web Design Guidelines](file:///Users/ruy/Code/mySkills/.agent/skills/web-design-guidelines/SKILL.md).
136
137
  - **Testing & Security**: [Vulnerability Scanner](file:///Users/ruy/Code/mySkills/.agent/skills/vulnerability-scanner/SKILL.md), [Webapp Testing](file:///Users/ruy/Code/mySkills/.agent/skills/webapp-testing/SKILL.md), [Red Team Tactics](file:///Users/ruy/Code/mySkills/.agent/skills/red-team-tactics/SKILL.md).
137
138
  - **DevOps & SysAdmin**: [Server Management](file:///Users/ruy/Code/mySkills/.agent/skills/server-management/SKILL.md), [Bash Linux](file:///Users/ruy/Code/mySkills/.agent/skills/bash-linux/SKILL.md), [Powershell Windows](file:///Users/ruy/Code/mySkills/.agent/skills/powershell-windows/SKILL.md).
138
139
 
package/index.js CHANGED
@@ -331,26 +331,51 @@ program
331
331
 
332
332
  program
333
333
  .command('install-global')
334
- .description('Instala os workflows globalmente para aparecerem no / em qualquer projeto do Antigravity')
334
+ .description('Instala as skills, agents e workflows globalmente no Antigravity')
335
335
  .action(async () => {
336
336
  const homeDir = process.env.HOME || process.env.USERPROFILE || '';
337
+
338
+ // Instalar como Plugin oficial
339
+ const pluginDir = path.join(homeDir, '.gemini', 'config', 'plugins', 'myskills');
337
340
  const globalWorkflowsDir = path.join(homeDir, '.gemini', 'antigravity', 'global_workflows');
338
- const workflowsSrc = path.join(__dirname, '.agent', 'workflows');
339
-
340
- console.log(chalk.cyan('\n🌐 Instalando workflows globalmente...\n'));
341
+
342
+ console.log(chalk.cyan('\n🌐 Instalando myskills globalmente como um Plugin do Antigravity...\n'));
341
343
 
342
344
  try {
343
- await fs.mkdir(globalWorkflowsDir, { recursive: true });
344
- const files = await fs.readdir(workflowsSrc);
345
- let copied = 0;
346
- for (const file of files) {
347
- if (file.endsWith('.md')) {
348
- await copyRecursively(path.join(workflowsSrc, file), path.join(globalWorkflowsDir, file));
349
- copied++;
345
+ await fs.mkdir(pluginDir, { recursive: true });
346
+
347
+ // Copiar plugin.json
348
+ if (existsSync(path.join(__dirname, 'plugin.json'))) {
349
+ await fs.copyFile(path.join(__dirname, 'plugin.json'), path.join(pluginDir, 'plugin.json'));
350
+ }
351
+
352
+ // Copiar Skills e Agents para o Plugin
353
+ const dirs = ['skills', 'agents'];
354
+ for (const dir of dirs) {
355
+ const src = path.join(__dirname, '.agent', dir);
356
+ if (existsSync(src)) {
357
+ await copyRecursively(src, path.join(pluginDir, dir));
358
+ console.log(chalk.green(` ✅ ${dir} copiados para o Plugin.`));
350
359
  }
351
360
  }
352
- console.log(chalk.green(` ✅ ${copied} workflows instalados em ${globalWorkflowsDir}`));
353
- console.log(chalk.cyan.bold('\n✨ Feito! Reinicie o Antigravity e use / para ver os workflows.\n'));
361
+
362
+ // Copiar Workflows para global_workflows e workflows do plugin (caso suportado)
363
+ const workflowsSrc = path.join(__dirname, '.agent', 'workflows');
364
+ if (existsSync(workflowsSrc)) {
365
+ await fs.mkdir(globalWorkflowsDir, { recursive: true });
366
+ await copyRecursively(workflowsSrc, path.join(pluginDir, 'workflows'));
367
+ const files = await fs.readdir(workflowsSrc);
368
+ let copied = 0;
369
+ for (const file of files) {
370
+ if (file.endsWith('.md')) {
371
+ await copyRecursively(path.join(workflowsSrc, file), path.join(globalWorkflowsDir, file));
372
+ copied++;
373
+ }
374
+ }
375
+ console.log(chalk.green(` ✅ ${copied} workflows instalados globalmente.`));
376
+ }
377
+
378
+ console.log(chalk.cyan.bold('\n✨ Feito! Reinicie o Antigravity para as skills e workflows estarem disponíveis em qualquer projeto.\n'));
354
379
  } catch (err) {
355
380
  console.error(chalk.red(` ❌ Erro: ${err.message}`));
356
381
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruyfranca/myskills",
3
- "version": "1.0.35",
3
+ "version": "1.0.38",
4
4
  "description": "Biblioteca de skills customizadas para Antigravity / Claude Code",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -19,6 +19,14 @@
19
19
  ],
20
20
  "author": "Ruy",
21
21
  "license": "MIT",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "git+https://github.com/RuyXingubit/mySkills.git"
25
+ },
26
+ "bugs": {
27
+ "url": "https://github.com/RuyXingubit/mySkills/issues"
28
+ },
29
+ "homepage": "https://github.com/RuyXingubit/mySkills#readme",
22
30
  "dependencies": {
23
31
  "chalk": "^5.3.0",
24
32
  "commander": "^12.0.0"
package/plugin.json ADDED
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "myskills",
3
+ "version": "1.0.36",
4
+ "description": "Biblioteca de skills customizadas para Antigravity",
5
+ "author": {
6
+ "name": "Ruy"
7
+ }
8
+ }
package/test-yaml.js DELETED
@@ -1,31 +0,0 @@
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.');