elsabro 2.0.1 → 2.2.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/commands/elsabro/add-phase.md +17 -0
- package/commands/elsabro/add-todo.md +111 -53
- package/commands/elsabro/audit-milestone.md +19 -0
- package/commands/elsabro/check-todos.md +210 -31
- package/commands/elsabro/complete-milestone.md +20 -1
- package/commands/elsabro/debug.md +19 -0
- package/commands/elsabro/discuss-phase.md +18 -1
- package/commands/elsabro/execute.md +496 -52
- package/commands/elsabro/insert-phase.md +18 -1
- package/commands/elsabro/list-phase-assumptions.md +17 -0
- package/commands/elsabro/new-milestone.md +19 -0
- package/commands/elsabro/new.md +19 -0
- package/commands/elsabro/pause-work.md +75 -0
- package/commands/elsabro/plan-milestone-gaps.md +20 -1
- package/commands/elsabro/plan.md +264 -36
- package/commands/elsabro/progress.md +203 -79
- package/commands/elsabro/quick.md +19 -0
- package/commands/elsabro/remove-phase.md +17 -0
- package/commands/elsabro/research-phase.md +18 -1
- package/commands/elsabro/resume-work.md +130 -2
- package/commands/elsabro/start.md +365 -98
- package/commands/elsabro/verify-work.md +271 -12
- package/package.json +1 -1
- package/references/SYSTEM_INDEX.md +241 -0
- package/references/command-flow.md +352 -0
- package/references/enforcement-rules.md +331 -0
- package/references/error-handling-instructions.md +26 -12
- package/references/state-sync.md +381 -0
- package/references/task-dispatcher.md +388 -0
- package/references/tasks-integration.md +380 -0
- package/skills/api-microservice.md +765 -0
- package/skills/api-setup.md +76 -3
- package/skills/auth-setup.md +46 -6
- package/skills/chrome-extension.md +584 -0
- package/skills/cicd-setup.md +1206 -0
- package/skills/cli-tool.md +884 -0
- package/skills/database-setup.md +41 -5
- package/skills/desktop-app.md +1351 -0
- package/skills/expo-app.md +35 -2
- package/skills/full-stack-app.md +543 -0
- package/skills/mobile-app.md +813 -0
- package/skills/nextjs-app.md +33 -2
- package/skills/payments-setup.md +76 -1
- package/skills/saas-starter.md +639 -0
- package/skills/sentry-setup.md +41 -7
- package/skills/testing-setup.md +1218 -0
package/skills/sentry-setup.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sentry-setup
|
|
3
3
|
description: Skill para integrar Sentry (monitoreo de errores) en cualquier proyecto. Usa este skill cuando el usuario quiere detectar errores en producción.
|
|
4
|
+
tags:
|
|
5
|
+
- monitoring
|
|
6
|
+
- error-tracking
|
|
7
|
+
- production
|
|
8
|
+
- debugging
|
|
9
|
+
- observability
|
|
10
|
+
difficulty: intermediate
|
|
11
|
+
estimated_time: 15-30 minutes
|
|
4
12
|
---
|
|
5
13
|
|
|
6
14
|
# Skill: Integrar Sentry
|
|
@@ -15,6 +23,32 @@ Usar cuando el usuario menciona:
|
|
|
15
23
|
- "tracking de errores"
|
|
16
24
|
</when_to_use>
|
|
17
25
|
|
|
26
|
+
<pre_requisites>
|
|
27
|
+
## Pre-requisitos
|
|
28
|
+
|
|
29
|
+
- Node.js 18+ instalado
|
|
30
|
+
- Proyecto existente (Next.js, React, Node.js, o Expo)
|
|
31
|
+
- Cuenta en Sentry (https://sentry.io) - tier gratuito disponible
|
|
32
|
+
- DSN del proyecto de Sentry
|
|
33
|
+
</pre_requisites>
|
|
34
|
+
|
|
35
|
+
<project_structure>
|
|
36
|
+
## Estructura de Archivos Resultante
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
proyecto/
|
|
40
|
+
├── sentry.client.config.ts # Config cliente (Next.js)
|
|
41
|
+
├── sentry.server.config.ts # Config servidor (Next.js)
|
|
42
|
+
├── sentry.edge.config.ts # Config edge runtime (Next.js)
|
|
43
|
+
├── next.config.js # Actualizado con withSentryConfig
|
|
44
|
+
├── .env.local
|
|
45
|
+
│ ├── SENTRY_DSN=...
|
|
46
|
+
│ └── SENTRY_AUTH_TOKEN=...
|
|
47
|
+
└── components/
|
|
48
|
+
└── ErrorBoundary.tsx # Opcional: error boundary
|
|
49
|
+
```
|
|
50
|
+
</project_structure>
|
|
51
|
+
|
|
18
52
|
<before_starting>
|
|
19
53
|
## Investigación Obligatoria
|
|
20
54
|
|
|
@@ -47,8 +81,8 @@ Usar cuando el usuario menciona:
|
|
|
47
81
|
### Next.js
|
|
48
82
|
|
|
49
83
|
```bash
|
|
50
|
-
# 1. Instalar
|
|
51
|
-
npx @sentry/wizard@
|
|
84
|
+
# 1. Instalar Sentry 8.x para Next.js
|
|
85
|
+
npx @sentry/wizard@8 -i nextjs
|
|
52
86
|
|
|
53
87
|
# 2. El wizard crea automáticamente:
|
|
54
88
|
# - sentry.client.config.ts
|
|
@@ -70,8 +104,8 @@ npx expo install @sentry/react-native
|
|
|
70
104
|
### React (Vite/CRA)
|
|
71
105
|
|
|
72
106
|
```bash
|
|
73
|
-
# 1. Instalar
|
|
74
|
-
npm install @sentry/react
|
|
107
|
+
# 1. Instalar Sentry React 8.x
|
|
108
|
+
npm install @sentry/react@^8.0.0
|
|
75
109
|
|
|
76
110
|
# 2. Inicializar en main.tsx/index.tsx
|
|
77
111
|
# VERIFICAR patrón actual con Context7
|
|
@@ -80,8 +114,8 @@ npm install @sentry/react
|
|
|
80
114
|
### Node.js/Express
|
|
81
115
|
|
|
82
116
|
```bash
|
|
83
|
-
# 1. Instalar
|
|
84
|
-
npm install @sentry/node
|
|
117
|
+
# 1. Instalar Sentry Node 8.x
|
|
118
|
+
npm install @sentry/node@^8.0.0
|
|
85
119
|
|
|
86
120
|
# 2. Inicializar al inicio del servidor
|
|
87
121
|
# VERIFICAR patrón actual con Context7
|
|
@@ -189,7 +223,7 @@ Para capturar errores de UI:
|
|
|
189
223
|
|
|
190
224
|
'use client';
|
|
191
225
|
|
|
192
|
-
import * as Sentry from '@sentry/nextjs';
|
|
226
|
+
import * as Sentry from '@sentry/nextjs'; // v8.x
|
|
193
227
|
import { Component, ReactNode } from 'react';
|
|
194
228
|
|
|
195
229
|
interface Props {
|