izanagi-ai 2.0.0
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/AGENTS.md +53 -0
- package/CHANGELOG.md +198 -0
- package/LICENSE +21 -0
- package/README.md +96 -0
- package/ROADMAP.md +131 -0
- package/RULES.md +202 -0
- package/SYSTEM.md +201 -0
- package/agents/INDEX.md +40 -0
- package/agents/architect-agent.json +15 -0
- package/agents/bug-hunter-agent.json +14 -0
- package/agents/database-agent.json +14 -0
- package/agents/devops-agent.json +15 -0
- package/agents/docs-agent.json +15 -0
- package/agents/pm-agent.json +14 -0
- package/agents/professor-agent.json +15 -0
- package/agents/security-agent.json +14 -0
- package/agents/senior-engineer-agent.json +16 -0
- package/agents/techlead-agent.json +15 -0
- package/architecture/clean-architecture.md +98 -0
- package/architecture/cqrs-specialist.md +102 -0
- package/architecture/ddd-specialist.md +97 -0
- package/architecture/event-driven-architect.md +79 -0
- package/architecture/hexagonal-architecture.md +96 -0
- package/architecture/microservices-expert.md +83 -0
- package/architecture/monolith-expert.md +67 -0
- package/architecture/repository-pattern.md +73 -0
- package/architecture/unit-of-work.md +92 -0
- package/backend/README.md +29 -0
- package/bin/nexus.js +8 -0
- package/core/compression-engine.md +194 -0
- package/core/context-engine.md +239 -0
- package/core/decision-engine.md +377 -0
- package/core/evolution-engine.md +169 -0
- package/core/planning-engine.md +201 -0
- package/core/quality-gates.md +233 -0
- package/core/reflection-engine.md +182 -0
- package/core/skill-resolver.json +169 -0
- package/core/token-manager.md +152 -0
- package/database/database-engineer.md +244 -0
- package/database/mysql-specialist.md +61 -0
- package/database/postgresql-specialist.md +70 -0
- package/database/redis-specialist.md +73 -0
- package/database/sql-optimizer.md +95 -0
- package/database/sqlserver-specialist.md +69 -0
- package/devops/ci-cd-specialist.md +101 -0
- package/devops/devops-engineer.md +358 -0
- package/devops/docker-expert.md +105 -0
- package/devops/git-expert.md +76 -0
- package/devops/git-flow-specialist.md +71 -0
- package/devops/kubernetes-specialist.md +84 -0
- package/devops/linux-specialist.md +82 -0
- package/devops/windows-specialist.md +43 -0
- package/dist/cli/commands/compile.d.ts +2 -0
- package/dist/cli/commands/compile.d.ts.map +1 -0
- package/dist/cli/commands/compile.js +44 -0
- package/dist/cli/commands/compile.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +2 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +88 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/init.d.ts +2 -0
- package/dist/cli/commands/init.d.ts.map +1 -0
- package/dist/cli/commands/init.js +26 -0
- package/dist/cli/commands/init.js.map +1 -0
- package/dist/cli/commands/list.d.ts +2 -0
- package/dist/cli/commands/list.d.ts.map +1 -0
- package/dist/cli/commands/list.js +50 -0
- package/dist/cli/commands/list.js.map +1 -0
- package/dist/cli/commands/run.d.ts +2 -0
- package/dist/cli/commands/run.d.ts.map +1 -0
- package/dist/cli/commands/run.js +49 -0
- package/dist/cli/commands/run.js.map +1 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +72 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -0
- package/dist/installer.d.ts +5 -0
- package/dist/installer.d.ts.map +1 -0
- package/dist/installer.js +86 -0
- package/dist/installer.js.map +1 -0
- package/dist/postinstall.d.ts +2 -0
- package/dist/postinstall.d.ts.map +1 -0
- package/dist/postinstall.js +8 -0
- package/dist/postinstall.js.map +1 -0
- package/frontend/README.md +19 -0
- package/memory/context-recovery.md +49 -0
- package/memory/conversation-summarizer.md +65 -0
- package/memory/long-term-project-memory.md +58 -0
- package/memory/memory-manager.md +299 -0
- package/memory/session-compression.md +182 -0
- package/memory/smart-recall.md +37 -0
- package/optimization/compact-example.md +87 -0
- package/optimization/cost-optimizer.md +53 -0
- package/optimization/prompt-optimizer.md +194 -0
- package/optimization/token-audit.md +177 -0
- package/optimization/token-reducer.md +202 -0
- package/package.json +67 -0
- package/security/owasp-auditor.md +249 -0
- package/security/pentest-reviewer.md +109 -0
- package/security/security-engineer.md +238 -0
- package/skills/INDEX.md +434 -0
- package/skills/accessibility-reviewer.md +63 -0
- package/skills/agentic-coding.md +56 -0
- package/skills/ai-agent/SKILL.md +107 -0
- package/skills/ai-agent-dev/SKILL.md +117 -0
- package/skills/alternative-solution-generator.md +72 -0
- package/skills/architecture-patterns/SKILL.md +113 -0
- package/skills/breaking-change-detector.md +84 -0
- package/skills/bug-hunter.md +234 -0
- package/skills/bug-prevention.md +75 -0
- package/skills/chaos-engineering/SKILL.md +108 -0
- package/skills/clean-code-validator.md +218 -0
- package/skills/cloud-architect/SKILL.md +78 -0
- package/skills/cloud-infra/SKILL.md +99 -0
- package/skills/code-auditor.md +24 -0
- package/skills/complexity-analyzer.md +102 -0
- package/skills/confidence-estimator.md +53 -0
- package/skills/continuous-improvement.md +46 -0
- package/skills/continuous-learning-engine.md +51 -0
- package/skills/cto-advisor.md +66 -0
- package/skills/data-engineer/SKILL.md +76 -0
- package/skills/data-engineering/SKILL.md +82 -0
- package/skills/debug-specialist.md +215 -0
- package/skills/dependency-analyzer.md +78 -0
- package/skills/design-pattern-advisor.md +78 -0
- package/skills/documentation-writer.md +66 -0
- package/skills/dry-kiss-yagni-validator.md +114 -0
- package/skills/economia-tokens/SKILL.md +40 -0
- package/skills/er-diagram-builder.md +85 -0
- package/skills/feature-flags/SKILL.md +95 -0
- package/skills/frontend/SKILL.md +327 -0
- package/skills/frontend-dev/SKILL.md +178 -0
- package/skills/graphql/SKILL.md +104 -0
- package/skills/hallucination-detection.md +49 -0
- package/skills/handoff-sessao/SKILL.md +32 -0
- package/skills/i18n-l10n/SKILL.md +103 -0
- package/skills/iac-terraform/SKILL.md +98 -0
- package/skills/legacy-migration/SKILL.md +91 -0
- package/skills/logging-expert.md +78 -0
- package/skills/mcp-server-dev.md +33 -0
- package/skills/memoria-projeto/SKILL.md +49 -0
- package/skills/mobile-dev/SKILL.md +82 -0
- package/skills/mobile-engineer/SKILL.md +74 -0
- package/skills/monitoring-specialist.md +59 -0
- package/skills/observability-expert.md +60 -0
- package/skills/performance-optimizer.md +239 -0
- package/skills/principal-engineer.md +55 -0
- package/skills/privacy-engineer/SKILL.md +79 -0
- package/skills/professor-modo/SKILL.md +33 -0
- package/skills/project-manager.md +74 -0
- package/skills/prompt-engineering.md +27 -0
- package/skills/qa/SKILL.md +231 -0
- package/skills/qa-engineer/SKILL.md +222 -0
- package/skills/readme-generator.md +42 -0
- package/skills/refactoring-specialist.md +250 -0
- package/skills/release-planner.md +70 -0
- package/skills/requirement-analyzer.md +65 -0
- package/skills/risk-analyzer.md +73 -0
- package/skills/root-cause-analyzer.md +210 -0
- package/skills/scalability-expert.md +73 -0
- package/skills/security-privacy/SKILL.md +98 -0
- package/skills/self-correction.md +54 -0
- package/skills/self-critique.md +42 -0
- package/skills/senior-code-reviewer.md +193 -0
- package/skills/sequence-diagram-builder.md +56 -0
- package/skills/serverless-edge/SKILL.md +103 -0
- package/skills/software-architect.md +356 -0
- package/skills/solid-validator.md +332 -0
- package/skills/sre-reliability/SKILL.md +115 -0
- package/skills/staff-engineer.md +61 -0
- package/skills/task-planner.md +61 -0
- package/skills/tech-lead.md +59 -0
- package/skills/technical-debt-analyzer.md +81 -0
- package/skills/technical-writer.md +39 -0
- package/skills/tradeoff-analyzer.md +79 -0
- package/skills/uml-generator.md +72 -0
- package/skills/ux-reviewer.md +61 -0
- package/skills/wasm/SKILL.md +133 -0
- package/skills/web-perf-engineer/SKILL.md +75 -0
- package/skills/web-perf-seo/SKILL.md +111 -0
- package/skills/websocket-realtime/SKILL.md +107 -0
- package/teaching/adaptive-teaching.md +37 -0
- package/teaching/code-explainer.md +172 -0
- package/teaching/interactive-teaching.md +41 -0
- package/teaching/learning-tracker.md +63 -0
- package/teaching/mentor-mode.md +200 -0
- package/teaching/professor-mode.md +222 -0
- package/testing/e2e-test-engineer.md +68 -0
- package/testing/integration-test-engineer.md +74 -0
- package/testing/mocking-specialist.md +78 -0
- package/testing/unit-test-engineer.md +209 -0
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sre-reliability
|
|
3
|
+
description: |
|
|
4
|
+
Skill de Site Reliability Engineering (SRE) para o Portal. Aborda SLIs/SLOs/SLAs,
|
|
5
|
+
error budgets, observabilidade, incident response, capacity planning e reliability patterns.
|
|
6
|
+
Use esta skill para garantir confiabilidade e disponibilidade do sistema.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Skill SRE & Reliability — Portal
|
|
10
|
+
|
|
11
|
+
## SRE Fundamentals
|
|
12
|
+
|
|
13
|
+
### SLIs (Service Level Indicators)
|
|
14
|
+
| Indicador | Metrica |
|
|
15
|
+
|-----------|---------|
|
|
16
|
+
| Availability | `(successful_requests / total_requests) * 100` |
|
|
17
|
+
| Latency | `p50, p95, p99` response time |
|
|
18
|
+
| Throughput | Requests per second |
|
|
19
|
+
| Error Rate | `(5xx / total) * 100` |
|
|
20
|
+
| Saturation | CPU/Memory/Disk usage % |
|
|
21
|
+
|
|
22
|
+
### SLOs (Service Level Objectives)
|
|
23
|
+
```
|
|
24
|
+
Latency: 99% of requests < 500ms (p99 rolling 30d)
|
|
25
|
+
Availability: 99.9% uptime (monthly)
|
|
26
|
+
Error Rate: < 0.1% 5xx errors
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### SLAs (Service Level Agreements)
|
|
30
|
+
- **99.9%** = 8.77h downtime/year (aceitavel)
|
|
31
|
+
- **99.99%** = 52.56m downtime/year (recomendado)
|
|
32
|
+
- **99.999%** = 5.26m downtime/year (critico)
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Error Budget
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
Error Budget = 100% - SLO
|
|
40
|
+
ex: SLO 99.9% → Error Budget = 0.1% = ~43min/month
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
- **Disponivel**: tempo que o sistema pode falhar sem violar SLO
|
|
44
|
+
- **Uso**: deploys so sao permitidos se error budget ainda disponivel
|
|
45
|
+
- **Se esgotar**: congelamento de deploys ate recuperar
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
## Observabilidade
|
|
50
|
+
|
|
51
|
+
### Three Pillars
|
|
52
|
+
```
|
|
53
|
+
Logs (events) + Metrics (aggregations) + Traces (distributed)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### Stack Recomendada
|
|
57
|
+
| Ferramenta | Uso |
|
|
58
|
+
|------------|-----|
|
|
59
|
+
| Grafana + Prometheus | Metrics + dashboards |
|
|
60
|
+
| Sentry | Error tracking |
|
|
61
|
+
| OpenTelemetry | Distributed tracing |
|
|
62
|
+
| Vercel Analytics | Core Web Vitals |
|
|
63
|
+
| CloudWatch | AWS metrics + logs |
|
|
64
|
+
| PagerDuty / OpsGenie | On-call alerting |
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## Incident Response
|
|
69
|
+
|
|
70
|
+
### Severity Levels
|
|
71
|
+
| Severity | Exemplo | SLA Response |
|
|
72
|
+
|----------|---------|-------------|
|
|
73
|
+
| SEV-1 | Site down | 15min |
|
|
74
|
+
| SEV-2 | Feature broken | 1h |
|
|
75
|
+
| SEV-3 | Bug menor | 8h |
|
|
76
|
+
| SEV-4 | Cosmetico | Next sprint |
|
|
77
|
+
|
|
78
|
+
### Response Process
|
|
79
|
+
1. **Detect**: alerta (PagerDuty) ou report de usuario
|
|
80
|
+
2. **Triage**: determinar severidade, notificar equipe
|
|
81
|
+
3. **Mitigate**: rollback, feature flag, scale up
|
|
82
|
+
4. **Resolve**: aplicar fix permanente
|
|
83
|
+
5. **Learn**: postmortem (blameless), acoes preventivas
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## Reliability Patterns
|
|
88
|
+
|
|
89
|
+
| Pattern | Descricao |
|
|
90
|
+
|---------|-----------|
|
|
91
|
+
| Circuit Breaker | Parar chamadas a servico falho, retry apos timeout |
|
|
92
|
+
| Bulkhead | Isolar recursos por servico (thread pools separados) |
|
|
93
|
+
| Retry with Backoff | Exponential backoff + jitter |
|
|
94
|
+
| Timeout | Sempre configurar timeouts em chamadas externas |
|
|
95
|
+
| Rate Limiting | Proteger contra abuso e picos de trafego |
|
|
96
|
+
| Graceful Degradation | Funcionalidades nao-criticas falham sem quebrar o core |
|
|
97
|
+
| Health Checks | Endpoint `/health` para readiness/liveness |
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Capacity Planning
|
|
102
|
+
|
|
103
|
+
```yaml
|
|
104
|
+
# Metrica de crescimento
|
|
105
|
+
requests_per_month: 1_000_000
|
|
106
|
+
growth_rate: 20% # anual
|
|
107
|
+
projected: 1_200_000 # proximo ano
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Passos
|
|
111
|
+
1. Monitorar trafego atual + tendencias
|
|
112
|
+
2. Identificar bottlenecks (DB, API, compute)
|
|
113
|
+
3. Calcular capacidade necessaria (com buffer de 50%)
|
|
114
|
+
4. Auto-scaling configurado (min/max/desired)
|
|
115
|
+
5. Load test periodicos para validar
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Skill: Staff Engineer
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: High
|
|
4
|
+
> Dependencies: Senior Code Reviewer, Tech Lead
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
Staff Engineer operates at the team/cluster level. Deep technical expertise in one or more domains, leads complex technical projects, designs large features, and unblocks other engineers.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Responsibilities
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
execution:
|
|
19
|
+
- Own delivery of large, multi-sprint features
|
|
20
|
+
- Break down complex projects into manageable pieces
|
|
21
|
+
- Write critical or high-risk code personally
|
|
22
|
+
|
|
23
|
+
design:
|
|
24
|
+
- Lead technical design for major features
|
|
25
|
+
- Review and approve designs from senior engineers
|
|
26
|
+
- Identify technical risks early
|
|
27
|
+
|
|
28
|
+
mentorship:
|
|
29
|
+
- Mentor senior engineers (tech lead pipeline)
|
|
30
|
+
- Run code review sessions (not just individual reviews)
|
|
31
|
+
- On-call escalation point for production issues
|
|
32
|
+
|
|
33
|
+
quality:
|
|
34
|
+
- Set testing standards for the team
|
|
35
|
+
- Drive performance improvements
|
|
36
|
+
- Own CI/CD pipeline quality
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Staff vs Principal
|
|
42
|
+
|
|
43
|
+
```yaml
|
|
44
|
+
Staff:
|
|
45
|
+
scope: "Team or cluster (2-4 teams)"
|
|
46
|
+
horizon: "3-6 months"
|
|
47
|
+
focus: "Deep technical excellence"
|
|
48
|
+
output: "Working systems, mentored engineers"
|
|
49
|
+
|
|
50
|
+
Principal:
|
|
51
|
+
scope: "Entire organization"
|
|
52
|
+
horizon: "6-12 months"
|
|
53
|
+
focus: "Technical strategy, org-wide quality"
|
|
54
|
+
output: "Technical vision, organizational change"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Changelog
|
|
60
|
+
|
|
61
|
+
### 1.0.0 — Initial release. Responsibilities, staff vs principal comparison.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Skill: Task Planner
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: High
|
|
4
|
+
> Dependencies: Planning Engine, Project Manager
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
Task Planner breaks work into manageable, assignable tasks. Each task is atomic (1 person, < 1 day), has clear acceptance criteria, and is ordered by dependencies.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Task Breakdown
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
epic: "Payment integration"
|
|
19
|
+
task_1: "Create payments migration"
|
|
20
|
+
effort: 2h
|
|
21
|
+
deps: []
|
|
22
|
+
acceptance: "payments table exists with correct schema"
|
|
23
|
+
|
|
24
|
+
task_2: "Create Payment model"
|
|
25
|
+
effort: 1h
|
|
26
|
+
deps: [task_1]
|
|
27
|
+
acceptance: "Payment model with relationships and casts"
|
|
28
|
+
|
|
29
|
+
task_3: "Create StripeService"
|
|
30
|
+
effort: 4h
|
|
31
|
+
deps: []
|
|
32
|
+
acceptance: "Can create, retrieve, refund payments via Stripe"
|
|
33
|
+
|
|
34
|
+
task_4: "Create PaymentController"
|
|
35
|
+
effort: 3h
|
|
36
|
+
deps: [task_2, task_3]
|
|
37
|
+
acceptance: "POST /api/payments creates payment, returns 201"
|
|
38
|
+
|
|
39
|
+
task_5: "Write payment tests"
|
|
40
|
+
effort: 3h
|
|
41
|
+
deps: [task_4]
|
|
42
|
+
acceptance: "Unit + feature tests cover happy path and errors"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Estimation Guidelines
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
1 point = 2-4 hours (simple, well-understood)
|
|
51
|
+
2 points = 1 day (moderate complexity)
|
|
52
|
+
3 points = 2 days (complex, some unknowns)
|
|
53
|
+
5 points = 1 week (very complex, many unknowns)
|
|
54
|
+
8+ points = must break down further
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Changelog
|
|
60
|
+
|
|
61
|
+
### 1.0.0 — Initial release. Breakdown, estimation, acceptance criteria.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Skill: Tech Lead
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: High
|
|
4
|
+
> Dependencies: Software Architect, Senior Code Reviewer
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
Tech Lead bridges engineering and product. Leads a single team, ensures technical quality, unblocks engineers, translates product requirements into technical tasks, and maintains team health.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Responsibilities
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
technical:
|
|
19
|
+
- Set technical direction for the team
|
|
20
|
+
- Review all significant PRs
|
|
21
|
+
- Ensure code quality and test coverage
|
|
22
|
+
- Manage technical debt (track, prioritize, reduce)
|
|
23
|
+
|
|
24
|
+
people:
|
|
25
|
+
- Unblock engineers daily
|
|
26
|
+
- Run standups and retros
|
|
27
|
+
- Conduct 1:1s
|
|
28
|
+
- Identify skill gaps and training needs
|
|
29
|
+
|
|
30
|
+
product:
|
|
31
|
+
- Translate product requirements into technical specs
|
|
32
|
+
- Estimate effort and flag risks
|
|
33
|
+
- Communicate technical constraints to product manager
|
|
34
|
+
|
|
35
|
+
process:
|
|
36
|
+
- Enforce team conventions (coding, git, review)
|
|
37
|
+
- Triage and prioritize bugs
|
|
38
|
+
- Onboard new team members
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Daily Rhythm
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
09:00 — Standup (blockers, priorities)
|
|
47
|
+
09:30 — Deep work (design, code, review)
|
|
48
|
+
11:30 — 1:1 with team members or product
|
|
49
|
+
13:00 — Code reviews (batch)
|
|
50
|
+
14:00 — Unblocking, design discussions
|
|
51
|
+
16:00 — Sprint planning prep, metrics review
|
|
52
|
+
17:00 — Documentation, ADRs, process improvements
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Changelog
|
|
58
|
+
|
|
59
|
+
### 1.0.0 — Initial release. Responsibilities, daily rhythm.
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Skill: Technical Debt Analyzer
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: High
|
|
4
|
+
> Dependencies: Complexity Analyzer, Clean Code Validator
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
Technical Debt Analyzer identifies, quantifies, and prioritizes technical debt. Measures debt as "time to fix" vs "time to implement correctly." Produces a prioritized backlog for debt reduction.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Debt Categories
|
|
16
|
+
|
|
17
|
+
| Category | Examples | Interest Rate |
|
|
18
|
+
|----------|---------|---------------|
|
|
19
|
+
| **Code** | Dead code, duplication, complex functions | High — affects every change |
|
|
20
|
+
| **Design** | Missing abstractions, god classes, circular dependencies | High — makes changes hard |
|
|
21
|
+
| **Test** | Missing tests, flaky tests, slow tests | Medium — reduces confidence |
|
|
22
|
+
| **Documentation** | Missing docs, outdated docs, no ADRs | Low — slows onboarding |
|
|
23
|
+
| **Infrastructure** | Manual deploys, no monitoring, old deps | High — blocks velocity |
|
|
24
|
+
| **Security** | Known vulnerabilities, missing auth | Critical — risk of breach |
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## Debt Estimation
|
|
29
|
+
|
|
30
|
+
```yaml
|
|
31
|
+
finding:
|
|
32
|
+
description: "OrderService has 47-line calculateTotals method"
|
|
33
|
+
|
|
34
|
+
cost_to_fix_now:
|
|
35
|
+
analysis: 0.5h
|
|
36
|
+
refactor: 2h
|
|
37
|
+
tests: 1h
|
|
38
|
+
review: 0.5h
|
|
39
|
+
total: 4h
|
|
40
|
+
|
|
41
|
+
cost_to_fix_later:
|
|
42
|
+
find_and_understand: 2h (harder to navigate)
|
|
43
|
+
refactor: 3h (more dependencies added)
|
|
44
|
+
tests: 2h (less familiarity)
|
|
45
|
+
review: 1h
|
|
46
|
+
total: 8h
|
|
47
|
+
|
|
48
|
+
interest_rate: "2x every 6 months"
|
|
49
|
+
priority: "high"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Debt Backlog
|
|
55
|
+
|
|
56
|
+
```yaml
|
|
57
|
+
prioritized_debt:
|
|
58
|
+
- priority: 1
|
|
59
|
+
item: "Remove duplicated payment logic in 3 controllers"
|
|
60
|
+
effort: 3h
|
|
61
|
+
impact: "Eliminates inconsistent behavior"
|
|
62
|
+
|
|
63
|
+
- priority: 2
|
|
64
|
+
item: "Add PHPStan level max"
|
|
65
|
+
effort: 8h
|
|
66
|
+
impact: "Prevents entire class of bugs"
|
|
67
|
+
|
|
68
|
+
- priority: 3
|
|
69
|
+
item: "Extract OrderService (47 lines → 3 methods)"
|
|
70
|
+
effort: 4h
|
|
71
|
+
impact: "Makes future order changes safer"
|
|
72
|
+
|
|
73
|
+
total_effort: 40h
|
|
74
|
+
estimated_sprint_impact: "2 sprints to clear high-priority items"
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## Changelog
|
|
80
|
+
|
|
81
|
+
### 1.0.0 — Initial release. Categories, estimation, prioritized backlog.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Skill: Technical Writer
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: Medium
|
|
4
|
+
> Dependencies: Documentation Writer
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
Technical Writer produces clear, concise technical documentation for developers and end-users. Follows the Diátaxis framework: tutorials, how-to guides, reference, and explanation.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Diátaxis Framework
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
tutorials: "Learning-oriented — guide a beginner through a complete task"
|
|
19
|
+
how_to: "Task-oriented — solve a specific problem"
|
|
20
|
+
reference: "Information-oriented — describe the system (API, config)"
|
|
21
|
+
explanation: "Understanding-oriented — explain concepts and reasoning"
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Writing Principles
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
- One idea per paragraph
|
|
28
|
+
- Short sentences (max 25 words)
|
|
29
|
+
- Active voice ("Click Submit" not "The Submit button should be clicked")
|
|
30
|
+
- Code examples before explanation
|
|
31
|
+
- Consistent terminology
|
|
32
|
+
- No assumptions about reader knowledge (link to prerequisites)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Changelog
|
|
38
|
+
|
|
39
|
+
### 1.0.0 — Initial release. Diátaxis, writing principles.
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Skill: Trade-off Analyzer
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: Medium
|
|
4
|
+
> Dependencies: Software Architect
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
Trade-off Analyzer evaluates multiple approaches against defined criteria. Produces a structured comparison to help make informed decisions.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Comparison Criteria
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
criteria:
|
|
19
|
+
complexity:
|
|
20
|
+
description: "How complex is the implementation?"
|
|
21
|
+
weight: 3
|
|
22
|
+
|
|
23
|
+
maintainability:
|
|
24
|
+
description: "How easy to maintain over time?"
|
|
25
|
+
weight: 4
|
|
26
|
+
|
|
27
|
+
performance:
|
|
28
|
+
description: "How fast is it?"
|
|
29
|
+
weight: 3
|
|
30
|
+
|
|
31
|
+
scalability:
|
|
32
|
+
description: "How well does it scale?"
|
|
33
|
+
weight: 2
|
|
34
|
+
|
|
35
|
+
cost:
|
|
36
|
+
description: "Development + operational cost"
|
|
37
|
+
weight: 2
|
|
38
|
+
|
|
39
|
+
risk:
|
|
40
|
+
description: "Probability of issues"
|
|
41
|
+
weight: 4
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
## Example Comparison
|
|
47
|
+
|
|
48
|
+
```yaml
|
|
49
|
+
decision: "Should we use REST or GraphQL for the API?"
|
|
50
|
+
|
|
51
|
+
options:
|
|
52
|
+
- name: "REST"
|
|
53
|
+
scores:
|
|
54
|
+
complexity: 5 (simple, well-known pattern)
|
|
55
|
+
maintainability: 4 (clear endpoints)
|
|
56
|
+
performance: 4 (caching, pagination)
|
|
57
|
+
scalability: 3 (multiple requests)
|
|
58
|
+
cost: 5 (no new tools)
|
|
59
|
+
risk: 5 (proven, well-understood)
|
|
60
|
+
weighted_total: 4.4
|
|
61
|
+
|
|
62
|
+
- name: "GraphQL"
|
|
63
|
+
scores:
|
|
64
|
+
complexity: 2 (new patterns, resolvers, N+1 risk)
|
|
65
|
+
maintainability: 3 (flexible but complex)
|
|
66
|
+
performance: 3 (batching, dataloader needed)
|
|
67
|
+
scalability: 4 (single endpoint, precise queries)
|
|
68
|
+
cost: 3 (new tools: Apollo/graphql-php)
|
|
69
|
+
risk: 3 (N+1, no HTTP caching)
|
|
70
|
+
weighted_total: 3.1
|
|
71
|
+
|
|
72
|
+
recommendation: "Use REST for the public API. Consider GraphQL for internal admin dashboard."
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Changelog
|
|
78
|
+
|
|
79
|
+
### 1.0.0 — Initial release. Criteria, scoring, example.
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# Skill: UML Generator
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: Low
|
|
4
|
+
> Dependencies: Software Architect
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
UML Generator produces UML diagrams from architecture descriptions. Generates PlantUML or Mermaid.js code for class diagrams, use case diagrams, and component diagrams.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Diagram Types
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
class_diagram: entities, attributes, methods, relationships
|
|
19
|
+
component_diagram: services, controllers, repositories, data flow
|
|
20
|
+
use_case: actors, use cases, system boundary
|
|
21
|
+
sequence: object interactions, message flow over time
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## PlantUML Example
|
|
27
|
+
|
|
28
|
+
```plantuml
|
|
29
|
+
@startuml
|
|
30
|
+
class User {
|
|
31
|
+
- id: UUID
|
|
32
|
+
- name: string
|
|
33
|
+
- email: string
|
|
34
|
+
+ create(data): User
|
|
35
|
+
+ update(data): User
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
class Post {
|
|
39
|
+
- id: UUID
|
|
40
|
+
- title: string
|
|
41
|
+
- content: string
|
|
42
|
+
+ publish(): void
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
User "1" --> "*" Post : creates
|
|
46
|
+
@enduml
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Mermaid Example
|
|
50
|
+
|
|
51
|
+
```mermaid
|
|
52
|
+
classDiagram
|
|
53
|
+
class User {
|
|
54
|
+
-UUID id
|
|
55
|
+
-string name
|
|
56
|
+
-string email
|
|
57
|
+
+create(data) User
|
|
58
|
+
}
|
|
59
|
+
class Post {
|
|
60
|
+
-UUID id
|
|
61
|
+
-string title
|
|
62
|
+
-string content
|
|
63
|
+
+publish() void
|
|
64
|
+
}
|
|
65
|
+
User "1" --> "*" Post : creates
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Changelog
|
|
71
|
+
|
|
72
|
+
### 1.0.0 — Initial release. Types, PlantUML, Mermaid.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Skill: UX Reviewer
|
|
2
|
+
|
|
3
|
+
> Version 1.0.0 | Priority: Medium
|
|
4
|
+
> Dependencies: Frontend Engineer
|
|
5
|
+
> Compatibility: ">=1.0.0"
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Identity
|
|
10
|
+
|
|
11
|
+
UX Reviewer evaluates user interfaces against usability heuristics: consistency, feedback, error prevention, user control, and accessibility.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Nielsen's Heuristics
|
|
16
|
+
|
|
17
|
+
```yaml
|
|
18
|
+
1_visibility: "System status visible (loading indicators, progress bars)"
|
|
19
|
+
2_real_world: "Use user's language, not technical jargon"
|
|
20
|
+
3_control: "Undo/redo, cancel, easy navigation back"
|
|
21
|
+
4_consistency: "Same patterns throughout (buttons, forms, icons)"
|
|
22
|
+
5_error_prevention: "Confirm destructive actions, validate inline"
|
|
23
|
+
6_recognition: "Show options rather than ask to remember"
|
|
24
|
+
7_flexibility: "Shortcuts for power users, simple paths for beginners"
|
|
25
|
+
8_aesthetic: "Clean design, whitespace, visual hierarchy"
|
|
26
|
+
9_errors: "Clear error messages with recovery path"
|
|
27
|
+
10_help: "Contextual help, documentation accessible"
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## UX Report
|
|
33
|
+
|
|
34
|
+
```yaml
|
|
35
|
+
ux_review:
|
|
36
|
+
page: "Checkout page"
|
|
37
|
+
|
|
38
|
+
findings:
|
|
39
|
+
- heuristic: "1_visibility"
|
|
40
|
+
issue: "No loading state when processing payment"
|
|
41
|
+
severity: "high"
|
|
42
|
+
fix: "Add spinner + 'Processing payment...' message"
|
|
43
|
+
|
|
44
|
+
- heuristic: "5_error_prevention"
|
|
45
|
+
issue: "No confirmation before cancelling order"
|
|
46
|
+
severity: "medium"
|
|
47
|
+
fix: "Add 'Are you sure?' modal"
|
|
48
|
+
|
|
49
|
+
- heuristic: "9_errors"
|
|
50
|
+
issue: "Generic 'Something went wrong' message"
|
|
51
|
+
severity: "high"
|
|
52
|
+
fix: "Specific messages: 'Card declined', 'Insufficient funds'"
|
|
53
|
+
|
|
54
|
+
score: 7 / 10
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Changelog
|
|
60
|
+
|
|
61
|
+
### 1.0.0 — Initial release. Heuristics, report format.
|