@ruyfranca/myskills 1.0.30 → 1.0.32

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.
@@ -0,0 +1,25 @@
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
7
+ ---
8
+
9
+ # SDD Spec Writer
10
+
11
+ You are the **SDD Spec Writer**, an agent specialized in Spec-Driven Development (SDD). Your sole purpose is to create executable specifications that serve as unambiguous contracts for both human developers and AI agents.
12
+
13
+ ## Expertise
14
+ - Writing precise, implementable specifications from task descriptions.
15
+ - Defining contracts with exact inputs, outputs, side effects, and test cases.
16
+ - Determining whether a task should be implemented by a human or an AI agent.
17
+ - Multi-language support: C#/.NET, TypeScript, Python, Go, Rust, Java, PHP, Ruby, Kotlin, Swift.
18
+
19
+ ## Core Principle
20
+ > "If the agent fails, the Spec wasn't good enough."
21
+
22
+ Every spec you create must be so precise that no additional questions are needed to implement it.
23
+
24
+ ## Your Methodology
25
+ You strictly follow the instructions outline in your core skill domain: `sdd-spec-writer/SKILL.md`. Always load this skill to know exactly how to structure the `.spec.md` files, apply the Quality Checklist, and understand the boundaries between Agent vs. Human tasks.
@@ -0,0 +1,96 @@
1
+ ---
2
+ name: SDD Spec Writer
3
+ description: Specification writing methodology for Spec-Driven Development (SDD)
4
+ ---
5
+
6
+ # SDD Spec Writer Skill
7
+
8
+ This skill provides the structure and methodology for Spec-Driven Development (SDD) — creating executable specifications that serve as unambiguous contracts for both human developers and AI agents.
9
+
10
+ ## Core Principle
11
+
12
+ "If the agent fails, the Spec wasn't good enough" — every spec must be so precise that no additional questions are needed to implement it.
13
+
14
+ ## Instructions
15
+
16
+ ### File Naming Convention
17
+
18
+ Specs MUST use the `.spec.md` extension (e.g., `create-order.spec.md`). This is required because quality gate hooks (`plan-gate`, `scope-guard`) detect active specs by this filename pattern.
19
+
20
+ You create specifications that follow this exact structure:
21
+
22
+ ```markdown
23
+ # Spec: [Task Title]
24
+
25
+ ## Metadata
26
+ - developer_type: agent | human
27
+ - estimated_complexity: low | medium | high
28
+ - languages: [list]
29
+
30
+ ## Objective
31
+ One-paragraph description of what this task achieves.
32
+
33
+ ## Context
34
+ Relevant existing code, interfaces, and patterns to follow.
35
+
36
+ ## Implementation Contract
37
+ ### Inputs (exact types and validation rules)
38
+ ### Outputs / Return values (exact types)
39
+ ### Side effects (DB writes, events, logs)
40
+
41
+ ## Files to Create / Modify (exact paths)
42
+
43
+ ## Required Tests (specific test cases with data)
44
+ - Test case 1: given X, when Y, then Z
45
+ - Test case 2: edge case description
46
+ - Test case 3: error handling scenario
47
+
48
+ ## Acceptance Criteria (automatically verifiable)
49
+
50
+ ## Verification Commands
51
+ ```
52
+
53
+ ### Decision: Agent vs Human
54
+
55
+ **Agent-appropriate tasks:**
56
+ - Application layer (handlers, services, repositories)
57
+ - Infrastructure layer (adapters, configurations)
58
+ - Repeatable patterns (CRUD, validation, mapping)
59
+ - Complexity ≤ 8 hours
60
+
61
+ **Human-required tasks:**
62
+ - Code Review (always human, no exceptions)
63
+ - UI/UX with subjective aesthetic criteria
64
+ - Undocumented legacy system knowledge
65
+ - Architecture decisions not yet documented
66
+
67
+ ### Quality Checklist
68
+
69
+ Before saving a spec, verify:
70
+ - Can a developer start without reading any unreferenced file?
71
+ - Are all file paths complete and correct?
72
+ - Are acceptance criteria verifiable with automated tests?
73
+ - Does the contract define exact types (not "an object" but `OrderDto`)?
74
+ - Are there at least 3 test cases with concrete data?
75
+ - Can the verification command run without manual arguments?
76
+
77
+ ## Examples
78
+
79
+ **Good spec excerpt:**
80
+ ```markdown
81
+ ### Inputs
82
+ - `CreateOrderCommand` with fields: `customerId: string (UUID)`, `items: OrderItemDto[]` (min 1, max 50)
83
+ ### Files to Create
84
+ - src/Application/Orders/CreateOrderHandler.cs
85
+ - tests/Application.Tests/Orders/CreateOrderHandlerTests.cs
86
+ ```
87
+
88
+ **Bad spec excerpt:**
89
+ ```markdown
90
+ ### Inputs
91
+ - An order object with customer info and items
92
+ ### Files to Create
93
+ - Somewhere in the orders module
94
+ ```
95
+
96
+ *Source: [pm-workspace](https://github.com/gonzalezpazmonica/pm-workspace) — Spec-Driven Development methodology*
@@ -0,0 +1,12 @@
1
+ ---
2
+ description: Spec-Driven Development format. Create a clear spec contract for a task.
3
+ ---
4
+
5
+ # /sdd-spec Workflow
6
+
7
+ Use this workflow to guide the AI in generating a Spec-Driven Development (`.spec.md`) specification.
8
+
9
+ 1. **Activate the Agent**: Ensure you are using the `sdd-spec-writer` capabilities.
10
+ 2. **Understand the Request**: Parse the feature or problem the user wants to solve. If unclear, ask clarification questions (following Socratic Gate principles).
11
+ 3. **Generate the Spec**: Using the template from `.agent/skills/sdd-spec-writer/SKILL.md`, generate a new `.spec.md` file (e.g., `feature-name.spec.md`).
12
+ 4. **Present the Spec**: Display the content of the `.spec.md` to the user and ask for approval to proceed with its defined tests and verifications.
@@ -1,9 +1,5 @@
1
1
  ---
2
- description: Plan and implement UI
3
- ---
4
-
5
- ---
6
- description: AI-powered design intelligence with 50+ styles, 95+ color palettes, and automated design system generation
2
+ description: AI-powered design intelligence with 50+ styles, 95+ color palettes, and automated design system generation, Plan and implement UI
7
3
  ---
8
4
 
9
5
  # ui-ux-pro-max
package/AGENTS.md CHANGED
@@ -260,8 +260,8 @@ When user's prompt is NOT in English:
260
260
 
261
261
  ### Agents & Skills
262
262
 
263
- - **Masters**: `orchestrator`, `project-planner`, `security-auditor` (Cyber/Audit), `backend-specialist` (API/DB), `frontend-specialist` (UI/UX), `mobile-developer`, `debugger`, `game-developer`
264
- - **Key Skills**: `clean-code`, `brainstorming`, `app-builder`, `frontend-design`, `mobile-design`, `plan-writing`, `behavioral-modes`
263
+ - **Masters**: `orchestrator`, `project-planner`, `security-auditor` (Cyber/Audit), `backend-specialist` (API/DB), `frontend-specialist` (UI/UX), `mobile-developer`, `debugger`, `game-developer`, `sdd-spec-writer`
264
+ - **Key Skills**: `clean-code`, `brainstorming`, `app-builder`, `frontend-design`, `mobile-design`, `plan-writing`, `behavioral-modes`, `sdd-spec-writer`
265
265
 
266
266
  ### Key Scripts
267
267
 
package/README.md CHANGED
@@ -222,6 +222,12 @@ Planejamento detalhado de implementação:
222
222
  - **Precisão**: Documentação exata de arquivos, comandos e snippets para execução direta.
223
223
  - **Análise**: Ferramentas de análise de cobertura e métricas de qualidade.
224
224
 
225
+ ### [SDD Spec Writer](file:///Users/ruy/Code/mySkills/.agent/skills/sdd-spec-writer/SKILL.md)
226
+ Especialista em Spec-Driven Development (SDD):
227
+ - **Contratos Claros**: Cria specs executáveis com precisão milimétrica.
228
+ - **Decisão Guiada**: Analisa complexidade para decidir entre execução via Humanos vs IAs.
229
+ - **Checklist de Validação**: Garante cobertura de edge cases e caminhos de erro obrigatórios.
230
+
225
231
  ### [Lead Research Assistant](file:///Users/ruy/Code/mySkills/.agent/skills/lead-research-assistant/SKILL.md)
226
232
  Inteligência comercial e qualificação de leads:
227
233
  - **Prospecção**: Busca ativa de empresas que se encaixam no Perfil de Cliente Ideal (ICP).
@@ -436,6 +442,7 @@ Você pode acessar as skills diretamente via comandos de barra no chat:
436
442
  - `/figma`: Ativa a integração MCP com o Figma Dev Mode para extração visual.
437
443
  - `/creative-design-figma`: Ativa a integração MCP Oficial usando tokens de Nuvem do Figma.
438
444
  - `/memory-spring-cleaning`: Executa uma varredura para sincronizar código e memória (docs/rules), removendo drift e arquivos legados.
445
+ - `/sdd-spec`: Ativa o gerador de especificações baseadas em Spec-Driven Development (SDD).
439
446
 
440
447
  ## 📁 Estrutura do Projeto
441
448
 
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.23');
19
+ .version('1.0.32');
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.30",
3
+ "version": "1.0.32",
4
4
  "description": "Biblioteca de skills customizadas para Antigravity / Claude Code",
5
5
  "main": "index.js",
6
6
  "bin": {