omgkit 2.1.1 → 2.3.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.
Files changed (56) hide show
  1. package/package.json +1 -1
  2. package/plugin/skills/databases/mongodb/SKILL.md +81 -28
  3. package/plugin/skills/databases/prisma/SKILL.md +87 -32
  4. package/plugin/skills/databases/redis/SKILL.md +80 -27
  5. package/plugin/skills/devops/aws/SKILL.md +80 -26
  6. package/plugin/skills/devops/github-actions/SKILL.md +84 -32
  7. package/plugin/skills/devops/kubernetes/SKILL.md +94 -32
  8. package/plugin/skills/devops/performance-profiling/SKILL.md +59 -863
  9. package/plugin/skills/frameworks/django/SKILL.md +158 -24
  10. package/plugin/skills/frameworks/express/SKILL.md +153 -33
  11. package/plugin/skills/frameworks/fastapi/SKILL.md +153 -34
  12. package/plugin/skills/frameworks/laravel/SKILL.md +146 -33
  13. package/plugin/skills/frameworks/nestjs/SKILL.md +137 -25
  14. package/plugin/skills/frameworks/rails/SKILL.md +594 -28
  15. package/plugin/skills/frameworks/react/SKILL.md +94 -962
  16. package/plugin/skills/frameworks/spring/SKILL.md +528 -35
  17. package/plugin/skills/frameworks/vue/SKILL.md +147 -25
  18. package/plugin/skills/frontend/accessibility/SKILL.md +145 -36
  19. package/plugin/skills/frontend/frontend-design/SKILL.md +114 -29
  20. package/plugin/skills/frontend/responsive/SKILL.md +131 -28
  21. package/plugin/skills/frontend/shadcn-ui/SKILL.md +133 -43
  22. package/plugin/skills/frontend/tailwindcss/SKILL.md +105 -37
  23. package/plugin/skills/frontend/threejs/SKILL.md +110 -35
  24. package/plugin/skills/languages/javascript/SKILL.md +195 -34
  25. package/plugin/skills/methodology/brainstorming/SKILL.md +98 -30
  26. package/plugin/skills/methodology/defense-in-depth/SKILL.md +83 -37
  27. package/plugin/skills/methodology/dispatching-parallel-agents/SKILL.md +92 -31
  28. package/plugin/skills/methodology/executing-plans/SKILL.md +117 -28
  29. package/plugin/skills/methodology/finishing-development-branch/SKILL.md +111 -32
  30. package/plugin/skills/methodology/problem-solving/SKILL.md +65 -311
  31. package/plugin/skills/methodology/receiving-code-review/SKILL.md +76 -27
  32. package/plugin/skills/methodology/requesting-code-review/SKILL.md +93 -22
  33. package/plugin/skills/methodology/root-cause-tracing/SKILL.md +75 -40
  34. package/plugin/skills/methodology/sequential-thinking/SKILL.md +75 -224
  35. package/plugin/skills/methodology/systematic-debugging/SKILL.md +81 -35
  36. package/plugin/skills/methodology/test-driven-development/SKILL.md +120 -26
  37. package/plugin/skills/methodology/testing-anti-patterns/SKILL.md +88 -35
  38. package/plugin/skills/methodology/token-optimization/SKILL.md +73 -34
  39. package/plugin/skills/methodology/verification-before-completion/SKILL.md +128 -28
  40. package/plugin/skills/methodology/writing-plans/SKILL.md +105 -20
  41. package/plugin/skills/omega/omega-architecture/SKILL.md +178 -40
  42. package/plugin/skills/omega/omega-coding/SKILL.md +247 -41
  43. package/plugin/skills/omega/omega-sprint/SKILL.md +208 -46
  44. package/plugin/skills/omega/omega-testing/SKILL.md +253 -42
  45. package/plugin/skills/omega/omega-thinking/SKILL.md +263 -51
  46. package/plugin/skills/security/better-auth/SKILL.md +83 -34
  47. package/plugin/skills/security/oauth/SKILL.md +118 -35
  48. package/plugin/skills/security/owasp/SKILL.md +112 -35
  49. package/plugin/skills/testing/playwright/SKILL.md +141 -38
  50. package/plugin/skills/testing/pytest/SKILL.md +137 -38
  51. package/plugin/skills/testing/vitest/SKILL.md +124 -39
  52. package/plugin/skills/tools/document-processing/SKILL.md +111 -838
  53. package/plugin/skills/tools/image-processing/SKILL.md +126 -659
  54. package/plugin/skills/tools/mcp-development/SKILL.md +85 -758
  55. package/plugin/skills/tools/media-processing/SKILL.md +118 -735
  56. package/plugin/stdrules/SKILL_STANDARDS.md +490 -0
@@ -1,64 +1,126 @@
1
1
  ---
2
- name: kubernetes
3
- description: Kubernetes orchestration. Use for K8s manifests, deployments, services.
2
+ name: Orchestrating with Kubernetes
3
+ description: The agent implements Kubernetes container orchestration with deployments, services, Helm charts, and production patterns. Use when deploying containerized applications, configuring autoscaling, managing secrets, or setting up ingress routing.
4
4
  ---
5
5
 
6
- # Kubernetes Skill
6
+ # Orchestrating with Kubernetes
7
+
8
+ ## Quick Start
7
9
 
8
- ## Deployment
9
10
  ```yaml
11
+ # deployment.yaml
10
12
  apiVersion: apps/v1
11
13
  kind: Deployment
12
14
  metadata:
13
- name: app
15
+ name: api-server
14
16
  spec:
15
17
  replicas: 3
16
18
  selector:
17
19
  matchLabels:
18
- app: myapp
20
+ app: api-server
19
21
  template:
20
22
  metadata:
21
23
  labels:
22
- app: myapp
24
+ app: api-server
23
25
  spec:
24
26
  containers:
25
- - name: app
26
- image: myapp:latest
27
+ - name: api
28
+ image: ghcr.io/org/api:v1.0.0
27
29
  ports:
28
30
  - containerPort: 3000
29
31
  resources:
30
- limits:
31
- memory: "256Mi"
32
- cpu: "500m"
32
+ requests: { cpu: "100m", memory: "256Mi" }
33
+ limits: { cpu: "500m", memory: "512Mi" }
34
+ ```
35
+
36
+ ```bash
37
+ kubectl apply -f deployment.yaml
38
+ ```
39
+
40
+ ## Features
41
+
42
+ | Feature | Description | Guide |
43
+ |---------|-------------|-------|
44
+ | Deployments | Declarative pod management with rollbacks | Define replicas, update strategy, pod template |
45
+ | Services | Internal/external load balancing | ClusterIP for internal, LoadBalancer for external |
46
+ | ConfigMaps/Secrets | Configuration and sensitive data | Mount as volumes or environment variables |
47
+ | Ingress | HTTP routing with TLS termination | Use nginx-ingress or cloud provider ingress |
48
+ | HPA | Horizontal Pod Autoscaler | Scale based on CPU, memory, or custom metrics |
49
+ | Helm | Package manager for K8s applications | Template and version deployments |
50
+
51
+ ## Common Patterns
52
+
53
+ ### Production Deployment with Probes
54
+
55
+ ```yaml
56
+ spec:
57
+ containers:
58
+ - name: api
59
+ image: ghcr.io/org/api:v1.0.0
60
+ livenessProbe:
61
+ httpGet: { path: /health/live, port: 3000 }
62
+ initialDelaySeconds: 15
63
+ periodSeconds: 20
64
+ readinessProbe:
65
+ httpGet: { path: /health/ready, port: 3000 }
66
+ initialDelaySeconds: 5
67
+ periodSeconds: 10
68
+ env:
69
+ - name: DATABASE_URL
70
+ valueFrom:
71
+ secretKeyRef: { name: app-secrets, key: database-url }
33
72
  ```
34
73
 
35
- ## Service
74
+ ### Horizontal Pod Autoscaler
75
+
36
76
  ```yaml
37
- apiVersion: v1
38
- kind: Service
77
+ apiVersion: autoscaling/v2
78
+ kind: HorizontalPodAutoscaler
39
79
  metadata:
40
- name: app-service
80
+ name: api-server
41
81
  spec:
42
- selector:
43
- app: myapp
44
- ports:
45
- - port: 80
46
- targetPort: 3000
47
- type: LoadBalancer
82
+ scaleTargetRef:
83
+ apiVersion: apps/v1
84
+ kind: Deployment
85
+ name: api-server
86
+ minReplicas: 3
87
+ maxReplicas: 20
88
+ metrics:
89
+ - type: Resource
90
+ resource: { name: cpu, target: { type: Utilization, averageUtilization: 70 } }
48
91
  ```
49
92
 
50
- ## ConfigMap
93
+ ### Ingress with TLS
94
+
51
95
  ```yaml
52
- apiVersion: v1
53
- kind: ConfigMap
96
+ apiVersion: networking.k8s.io/v1
97
+ kind: Ingress
54
98
  metadata:
55
- name: app-config
56
- data:
57
- API_URL: "https://api.example.com"
99
+ name: api-ingress
100
+ annotations:
101
+ cert-manager.io/cluster-issuer: letsencrypt-prod
102
+ spec:
103
+ tls:
104
+ - hosts: [api.example.com]
105
+ secretName: api-tls
106
+ rules:
107
+ - host: api.example.com
108
+ http:
109
+ paths:
110
+ - path: /
111
+ pathType: Prefix
112
+ backend:
113
+ service: { name: api-server, port: { number: 80 } }
58
114
  ```
59
115
 
60
116
  ## Best Practices
61
- - Use namespaces
62
- - Set resource limits
63
- - Use health probes
64
- - Use ConfigMaps/Secrets
117
+
118
+ | Do | Avoid |
119
+ |----|-------|
120
+ | Set resource requests and limits | Running containers as root |
121
+ | Implement liveness and readiness probes | Using `latest` tag in production |
122
+ | Use namespaces for environment isolation | Hardcoding config in container images |
123
+ | Configure Pod Disruption Budgets | Skipping network policies |
124
+ | Use Secrets for sensitive data | Exposing unnecessary ports |
125
+ | Implement pod anti-affinity rules | Using NodePort in production |
126
+ | Set up HPA for autoscaling | Ignoring pod security standards |