@ruyfranca/myskills 1.0.5 → 1.0.7
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/workflows/cto-advisor.md +11 -0
- package/.agent/workflows/lead-research.md +11 -0
- package/README.md +14 -0
- package/docs/cto-advisor/SKILL.md +30 -0
- package/docs/cto-advisor/references/architecture_decision_records.md +294 -0
- package/docs/cto-advisor/references/engineering_metrics.md +393 -0
- package/docs/cto-advisor/references/technology_evaluation_framework.md +370 -0
- package/docs/cto-advisor/scripts/team_scaling_calculator.py +516 -0
- package/docs/cto-advisor/scripts/tech_debt_analyzer.py +450 -0
- package/docs/lead-research-assistant/SKILL.md +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Technical leadership guidance for engineering teams and architecture
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Ao usar este comando, o Antigravity assume o papel de CTO Advisor.
|
|
6
|
+
|
|
7
|
+
1. Leia o arquivo [SKILL.md](file:///Users/ruy/Code/mySkills/docs/cto-advisor/SKILL.md).
|
|
8
|
+
2. Forneça orientações estratégicas sobre arquitetura, dívida técnica e escalonamento de times.
|
|
9
|
+
3. Utilize os scripts em `docs/cto-advisor/scripts/` para analisar dívida técnica ou planejar o crescimento do time.
|
|
10
|
+
4. Utilize os templates de ADR em `docs/cto-advisor/references/` para registrar decisões importantes.
|
|
11
|
+
5. Foque em métricas DORA e excelência operacional.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: Identify and qualify high-quality leads for sales and business development
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
Ao usar este comando, o Antigravity assume o papel de Lead Research Assistant.
|
|
6
|
+
|
|
7
|
+
1. Leia o arquivo [SKILL.md](file:///Users/ruy/Code/mySkills/docs/lead-research-assistant/SKILL.md).
|
|
8
|
+
2. Analise o projeto atual para entender o produto e o perfil de cliente ideal (ICP).
|
|
9
|
+
3. Pesquise empresas que correspondam aos critérios em termos de indústria, tamanho e necessidades tecnológicas.
|
|
10
|
+
4. Gere um relatório priorizado com scores de fit (1-10) e estratégias de abordagem personalizadas.
|
|
11
|
+
5. Ofereça exportar os resultados para CSV ou rascunhar mensagens de outreach.
|
package/README.md
CHANGED
|
@@ -133,6 +133,18 @@ Planejamento detalhado de implementação:
|
|
|
133
133
|
- **Precisão**: Documentação exata de arquivos, comandos e snippets para execução direta.
|
|
134
134
|
- **Análise**: Ferramentas de análise de cobertura e métricas de qualidade.
|
|
135
135
|
|
|
136
|
+
### [Lead Research Assistant](file:///Users/ruy/Code/mySkills/docs/lead-research-assistant/SKILL.md)
|
|
137
|
+
Inteligência comercial e qualificação de leads:
|
|
138
|
+
- **Prospecção**: Busca ativa de empresas que se encaixam no Perfil de Cliente Ideal (ICP).
|
|
139
|
+
- **Qualificação**: Atribuição de scores de prioridade (1-10) baseados em sinais reais de mercado.
|
|
140
|
+
- **Estratégia**: Criação de pontos de contato personalizados e identificação de tomadores de decisão.
|
|
141
|
+
|
|
142
|
+
### [CTO Advisor](file:///Users/ruy/Code/mySkills/docs/cto-advisor/SKILL.md)
|
|
143
|
+
Liderança técnica estratégica e governança de arquitetura:
|
|
144
|
+
- **Estratégia**: Roadmaps de longo prazo, inovação e alinhamento de negócios.
|
|
145
|
+
- **Arquitetura**: Gestão de ADRs e revisões sistemáticas de infraestrutura.
|
|
146
|
+
- **Execução**: Escalonamento de times e métricas de excelência (DORA).
|
|
147
|
+
|
|
136
148
|
### [Senior DevOps](file:///Users/ruy/Code/mySkills/docs/senior-devops/SKILL.md)
|
|
137
149
|
Automação de infraestrutura e delivery:
|
|
138
150
|
- **IaC**: Scaffolding para Terraform e configurações multi-cloud.
|
|
@@ -230,6 +242,8 @@ Você pode acessar as skills diretamente via comandos de barra no chat:
|
|
|
230
242
|
- `/mobile-design`: Ativa o especialista em design e desenvolvimento mobile de alta performance.
|
|
231
243
|
- `/senior-qa`: Ativa o especialista em garantia de qualidade e automação de testes.
|
|
232
244
|
- `/writing-plans`: Ativa o arquiteto para criação de planos de implementação detalhados e TDD.
|
|
245
|
+
- `/lead-research`: Ativa o especialista em pesquisa e qualificação de leads para vendas e parcerias.
|
|
246
|
+
- `/cto-advisor`: Ativa o conselheiro estratégico para liderança técnica e arquitetura.
|
|
233
247
|
|
|
234
248
|
## 📁 Estrutura do Projeto
|
|
235
249
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: CTO Advisor
|
|
3
|
+
description: Strategic technical leadership, architecture governance, team scaling, and engineering excellence.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# CTO Advisor Skill
|
|
7
|
+
|
|
8
|
+
You are a strategic Chief Technology Officer (CTO). Your goal is to provide high-level leadership, align technology with business goals, scale engineering teams, and ensure technical excellence.
|
|
9
|
+
|
|
10
|
+
## Core Pillars
|
|
11
|
+
1. **Technology Strategy**: Vision, roadmaps, and innovation management.
|
|
12
|
+
2. **Team Leadership**: Scaling engineering organizations, hiring plans, and performance management.
|
|
13
|
+
3. **Architecture Governance**: ADR (Architecture Decision Records) management and system design reviews.
|
|
14
|
+
4. **Engineering Excellence**: DORA metrics, quality standards, and technical debt management.
|
|
15
|
+
5. **Vendor Management**: Technology evaluation and cost optimization.
|
|
16
|
+
|
|
17
|
+
## Automation & Tools
|
|
18
|
+
- **Tech Debt Analyzer**: `python scripts/tech_debt_analyzer.py` - Assess and prioritize debt reduction.
|
|
19
|
+
- **Team Scaling Calculator**: `python scripts/team_scaling_calculator.py` - Plan hiring and team structure.
|
|
20
|
+
|
|
21
|
+
## Reference Documentation
|
|
22
|
+
- `references/architecture_decision_records.md`: ADR templates and decision-making frameworks.
|
|
23
|
+
- `references/engineering_metrics.md`: DORA, Quality, and Team Health KPIs.
|
|
24
|
+
- `references/technology_evaluation_framework.md`: Methods for vendor and tool selection.
|
|
25
|
+
|
|
26
|
+
## Incident & Crisis Management
|
|
27
|
+
Structured protocols for response, resolution, and post-mortems for major outages or security breaches.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
*Liderando a evolução tecnológica para o sucesso dos negócios.*
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# Architecture Decision Records (ADR) Framework
|
|
2
|
+
|
|
3
|
+
## What is an ADR?
|
|
4
|
+
|
|
5
|
+
Architecture Decision Records capture important architectural decisions made along with their context and consequences. They help maintain institutional knowledge and explain why systems are built the way they are.
|
|
6
|
+
|
|
7
|
+
## ADR Template
|
|
8
|
+
|
|
9
|
+
### ADR-[NUMBER]: [TITLE]
|
|
10
|
+
|
|
11
|
+
**Date**: YYYY-MM-DD
|
|
12
|
+
**Status**: [Proposed | Accepted | Deprecated | Superseded]
|
|
13
|
+
**Deciders**: [List of people involved in decision]
|
|
14
|
+
**Technical Story**: [Ticket/Issue reference]
|
|
15
|
+
|
|
16
|
+
#### Context and Problem Statement
|
|
17
|
+
|
|
18
|
+
[Describe the context and problem that needs to be solved. What are we trying to achieve?]
|
|
19
|
+
|
|
20
|
+
#### Decision Drivers
|
|
21
|
+
|
|
22
|
+
- [Driver 1: e.g., Performance requirements]
|
|
23
|
+
- [Driver 2: e.g., Time to market]
|
|
24
|
+
- [Driver 3: e.g., Team expertise]
|
|
25
|
+
- [Driver 4: e.g., Cost constraints]
|
|
26
|
+
|
|
27
|
+
#### Considered Options
|
|
28
|
+
|
|
29
|
+
1. **Option 1: [Name]**
|
|
30
|
+
2. **Option 2: [Name]**
|
|
31
|
+
3. **Option 3: [Name]**
|
|
32
|
+
|
|
33
|
+
#### Decision Outcome
|
|
34
|
+
|
|
35
|
+
**Chosen option**: "[Option Name]", because [justification]
|
|
36
|
+
|
|
37
|
+
##### Positive Consequences
|
|
38
|
+
- [Consequence 1]
|
|
39
|
+
- [Consequence 2]
|
|
40
|
+
|
|
41
|
+
##### Negative Consequences
|
|
42
|
+
- [Risk 1 and mitigation]
|
|
43
|
+
- [Risk 2 and mitigation]
|
|
44
|
+
|
|
45
|
+
#### Pros and Cons of Options
|
|
46
|
+
|
|
47
|
+
##### Option 1: [Name]
|
|
48
|
+
- **Pros**:
|
|
49
|
+
- [Advantage 1]
|
|
50
|
+
- [Advantage 2]
|
|
51
|
+
- **Cons**:
|
|
52
|
+
- [Disadvantage 1]
|
|
53
|
+
- [Disadvantage 2]
|
|
54
|
+
|
|
55
|
+
##### Option 2: [Name]
|
|
56
|
+
[Repeat structure]
|
|
57
|
+
|
|
58
|
+
#### Links
|
|
59
|
+
- [Related ADRs]
|
|
60
|
+
- [Documentation]
|
|
61
|
+
- [Research/PoCs]
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## Example ADRs
|
|
66
|
+
|
|
67
|
+
### ADR-001: Microservices Architecture
|
|
68
|
+
|
|
69
|
+
**Date**: 2024-01-15
|
|
70
|
+
**Status**: Accepted
|
|
71
|
+
**Deciders**: CTO, VP Engineering, Tech Leads
|
|
72
|
+
**Technical Story**: ARCH-001
|
|
73
|
+
|
|
74
|
+
#### Context and Problem Statement
|
|
75
|
+
|
|
76
|
+
Our monolithic application is becoming difficult to scale and deploy. Different teams are stepping on each other's toes, and deployment cycles are getting longer. We need to decide on our architectural approach for the next 3-5 years.
|
|
77
|
+
|
|
78
|
+
#### Decision Drivers
|
|
79
|
+
|
|
80
|
+
- Need for independent team deployment
|
|
81
|
+
- Requirement to scale different components independently
|
|
82
|
+
- Different components have different performance characteristics
|
|
83
|
+
- Team size growing from 25 to 75+ engineers
|
|
84
|
+
- Need to support multiple technology stacks
|
|
85
|
+
|
|
86
|
+
#### Considered Options
|
|
87
|
+
|
|
88
|
+
1. **Keep Monolith**: Continue with current architecture
|
|
89
|
+
2. **Modular Monolith**: Break into modules but single deployment
|
|
90
|
+
3. **Microservices**: Full service-oriented architecture
|
|
91
|
+
4. **Serverless**: Function-as-a-Service approach
|
|
92
|
+
|
|
93
|
+
#### Decision Outcome
|
|
94
|
+
|
|
95
|
+
**Chosen option**: "Microservices", because it best supports our team autonomy needs and scaling requirements, despite added complexity.
|
|
96
|
+
|
|
97
|
+
##### Positive Consequences
|
|
98
|
+
- Teams can deploy independently
|
|
99
|
+
- Services can scale based on individual needs
|
|
100
|
+
- Technology diversity is possible
|
|
101
|
+
- Fault isolation improved
|
|
102
|
+
|
|
103
|
+
##### Negative Consequences
|
|
104
|
+
- Increased operational complexity - Mitigated by investing in DevOps
|
|
105
|
+
- Network latency between services - Mitigated by careful service boundaries
|
|
106
|
+
- Data consistency challenges - Mitigated by event sourcing patterns
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
### ADR-002: Container Orchestration Platform
|
|
111
|
+
|
|
112
|
+
**Date**: 2024-02-01
|
|
113
|
+
**Status**: Accepted
|
|
114
|
+
**Deciders**: CTO, DevOps Lead, Platform Team
|
|
115
|
+
**Technical Story**: INFRA-045
|
|
116
|
+
|
|
117
|
+
#### Context and Problem Statement
|
|
118
|
+
|
|
119
|
+
With the move to microservices (ADR-001), we need a container orchestration platform to manage deployment, scaling, and operations of application containers.
|
|
120
|
+
|
|
121
|
+
#### Decision Drivers
|
|
122
|
+
|
|
123
|
+
- Need for automated deployment and scaling
|
|
124
|
+
- High availability requirements (99.9% SLA)
|
|
125
|
+
- Multi-cloud strategy (avoid vendor lock-in)
|
|
126
|
+
- Team familiarity and ecosystem maturity
|
|
127
|
+
- Cost considerations
|
|
128
|
+
|
|
129
|
+
#### Considered Options
|
|
130
|
+
|
|
131
|
+
1. **Kubernetes**: Industry standard, self-managed
|
|
132
|
+
2. **Amazon ECS**: AWS-native solution
|
|
133
|
+
3. **Docker Swarm**: Simpler alternative
|
|
134
|
+
4. **Nomad**: HashiCorp solution
|
|
135
|
+
|
|
136
|
+
#### Decision Outcome
|
|
137
|
+
|
|
138
|
+
**Chosen option**: "Kubernetes", because of its maturity, ecosystem, and multi-cloud support.
|
|
139
|
+
|
|
140
|
+
##### Positive Consequences
|
|
141
|
+
- Industry standard with huge ecosystem
|
|
142
|
+
- Multi-cloud compatible
|
|
143
|
+
- Strong community support
|
|
144
|
+
- Extensive tooling available
|
|
145
|
+
|
|
146
|
+
##### Negative Consequences
|
|
147
|
+
- Steep learning curve - Mitigated by training and hiring
|
|
148
|
+
- Operational complexity - Mitigated by managed Kubernetes (EKS/GKE)
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
### ADR-003: API Gateway Strategy
|
|
153
|
+
|
|
154
|
+
**Date**: 2024-03-15
|
|
155
|
+
**Status**: Accepted
|
|
156
|
+
**Deciders**: CTO, Security Lead, API Team
|
|
157
|
+
**Technical Story**: API-101
|
|
158
|
+
|
|
159
|
+
#### Context and Problem Statement
|
|
160
|
+
|
|
161
|
+
With multiple microservices, we need a unified entry point for external clients that handles cross-cutting concerns like authentication, rate limiting, and monitoring.
|
|
162
|
+
|
|
163
|
+
#### Decision Drivers
|
|
164
|
+
|
|
165
|
+
- Security requirements (OAuth2, API keys)
|
|
166
|
+
- Need for rate limiting and throttling
|
|
167
|
+
- Monitoring and analytics requirements
|
|
168
|
+
- Developer experience for API consumers
|
|
169
|
+
- Performance (sub-100ms overhead)
|
|
170
|
+
|
|
171
|
+
#### Considered Options
|
|
172
|
+
|
|
173
|
+
1. **Kong**: Open-source, plugin ecosystem
|
|
174
|
+
2. **AWS API Gateway**: Managed service
|
|
175
|
+
3. **Istio/Envoy**: Service mesh approach
|
|
176
|
+
4. **Build Custom**: In-house solution
|
|
177
|
+
|
|
178
|
+
#### Decision Outcome
|
|
179
|
+
|
|
180
|
+
**Chosen option**: "Kong", because of its flexibility and plugin ecosystem while avoiding vendor lock-in.
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Common Architecture Decisions
|
|
185
|
+
|
|
186
|
+
### 1. Frontend Architecture
|
|
187
|
+
- **Single Page Application (SPA)** vs **Server-Side Rendering (SSR)** vs **Static Site Generation (SSG)**
|
|
188
|
+
- **React** vs **Vue** vs **Angular** vs **Svelte**
|
|
189
|
+
- **Monorepo** vs **Polyrepo**
|
|
190
|
+
- **Micro-frontends** vs **Monolithic frontend**
|
|
191
|
+
|
|
192
|
+
### 2. Backend Architecture
|
|
193
|
+
- **Monolith** vs **Microservices** vs **Serverless**
|
|
194
|
+
- **REST** vs **GraphQL** vs **gRPC**
|
|
195
|
+
- **Synchronous** vs **Asynchronous** communication
|
|
196
|
+
- **Event-driven** vs **Request-response**
|
|
197
|
+
|
|
198
|
+
### 3. Data Architecture
|
|
199
|
+
- **SQL** vs **NoSQL** vs **NewSQL**
|
|
200
|
+
- **Single database** vs **Database per service**
|
|
201
|
+
- **CQRS** vs **Traditional CRUD**
|
|
202
|
+
- **Event Sourcing** vs **State-based storage**
|
|
203
|
+
|
|
204
|
+
### 4. Infrastructure Decisions
|
|
205
|
+
- **Cloud provider**: AWS vs Azure vs GCP vs Multi-cloud
|
|
206
|
+
- **Containers** vs **VMs** vs **Serverless**
|
|
207
|
+
- **Kubernetes** vs **ECS** vs **Cloud Run**
|
|
208
|
+
- **Self-hosted** vs **Managed services**
|
|
209
|
+
|
|
210
|
+
### 5. Development Practices
|
|
211
|
+
- **Continuous Deployment** vs **Continuous Delivery**
|
|
212
|
+
- **Feature flags** vs **Branch-based deployment**
|
|
213
|
+
- **Blue-green** vs **Canary** vs **Rolling deployment**
|
|
214
|
+
- **GitFlow** vs **GitHub Flow** vs **GitLab Flow**
|
|
215
|
+
|
|
216
|
+
## ADR Best Practices
|
|
217
|
+
|
|
218
|
+
### Writing Good ADRs
|
|
219
|
+
|
|
220
|
+
1. **Keep them short**: 1-2 pages maximum
|
|
221
|
+
2. **Be specific**: Include concrete examples
|
|
222
|
+
3. **Document why, not what**: Focus on reasoning
|
|
223
|
+
4. **Include all options**: Even obviously bad ones
|
|
224
|
+
5. **Be honest about drawbacks**: Every decision has trade-offs
|
|
225
|
+
|
|
226
|
+
### When to Write ADRs
|
|
227
|
+
|
|
228
|
+
Write an ADR when:
|
|
229
|
+
- The decision has significant impact
|
|
230
|
+
- Multiple options were seriously considered
|
|
231
|
+
- The decision is hard to reverse
|
|
232
|
+
- You find yourself explaining the same decision repeatedly
|
|
233
|
+
- There's disagreement about the approach
|
|
234
|
+
|
|
235
|
+
### ADR Lifecycle
|
|
236
|
+
|
|
237
|
+
1. **Proposed**: Under discussion
|
|
238
|
+
2. **Accepted**: Decision made and being implemented
|
|
239
|
+
3. **Deprecated**: No longer relevant but kept for history
|
|
240
|
+
4. **Superseded**: Replaced by another ADR
|
|
241
|
+
|
|
242
|
+
### Storage and Discovery
|
|
243
|
+
|
|
244
|
+
- Store ADRs in your main repository under `docs/architecture/decisions/`
|
|
245
|
+
- Use consistent numbering (ADR-001, ADR-002, etc.)
|
|
246
|
+
- Create an index file linking all ADRs
|
|
247
|
+
- Reference ADRs in code comments where relevant
|
|
248
|
+
- Review ADRs regularly (quarterly) for relevance
|
|
249
|
+
|
|
250
|
+
## Decision Evaluation Framework
|
|
251
|
+
|
|
252
|
+
### Technical Factors (40%)
|
|
253
|
+
- Performance impact
|
|
254
|
+
- Scalability potential
|
|
255
|
+
- Security implications
|
|
256
|
+
- Maintainability
|
|
257
|
+
- Technical debt
|
|
258
|
+
|
|
259
|
+
### Business Factors (30%)
|
|
260
|
+
- Time to market
|
|
261
|
+
- Cost (initial and ongoing)
|
|
262
|
+
- Revenue impact
|
|
263
|
+
- Competitive advantage
|
|
264
|
+
- Regulatory compliance
|
|
265
|
+
|
|
266
|
+
### Team Factors (30%)
|
|
267
|
+
- Current expertise
|
|
268
|
+
- Learning curve
|
|
269
|
+
- Hiring availability
|
|
270
|
+
- Team preference
|
|
271
|
+
- Training requirements
|
|
272
|
+
|
|
273
|
+
## Anti-patterns to Avoid
|
|
274
|
+
|
|
275
|
+
1. **Decision by Committee**: Too many stakeholders leading to compromise solutions
|
|
276
|
+
2. **Analysis Paralysis**: Over-analyzing instead of deciding
|
|
277
|
+
3. **Resume-Driven Development**: Choosing tech for personal goals
|
|
278
|
+
4. **Hype-Driven Development**: Choosing the newest/coolest tech
|
|
279
|
+
5. **Not-Invented-Here**: Rejecting external solutions by default
|
|
280
|
+
6. **Vendor Lock-in**: Over-dependence on proprietary solutions
|
|
281
|
+
7. **Premature Optimization**: Solving problems you don't have yet
|
|
282
|
+
8. **Under-documentation**: Not capturing the "why" behind decisions
|
|
283
|
+
|
|
284
|
+
## Review Checklist
|
|
285
|
+
|
|
286
|
+
Before finalizing an ADR, ensure:
|
|
287
|
+
- [ ] Problem is clearly stated
|
|
288
|
+
- [ ] All realistic options are considered
|
|
289
|
+
- [ ] Trade-offs are honestly evaluated
|
|
290
|
+
- [ ] Decision rationale is clear
|
|
291
|
+
- [ ] Consequences are identified
|
|
292
|
+
- [ ] Mitigation strategies are defined
|
|
293
|
+
- [ ] Success metrics are established
|
|
294
|
+
- [ ] Review date is set (if applicable)
|