sdd-es 2.0.0 → 2.6.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/.claude/settings.json +29 -29
- package/.claude/settings.local.json +10 -0
- package/.claude-plugin/marketplace.json +10 -7
- package/.claude-plugin/plugin.json +59 -37
- package/.gitignore +20 -0
- package/.mcp.json +8 -0
- package/LICENSE +21 -0
- package/README.md +77 -40
- package/agents/architecture-designer.md +211 -0
- package/agents/arquitecto.md +16 -1
- package/agents/asesor-datos.md +15 -1
- package/agents/critico.md +37 -1
- package/agents/desarrollador-backend.md +3 -1
- package/agents/desarrollador-frontend.md +11 -16
- package/agents/disenador-api.md +13 -1
- package/agents/documentador.md +3 -1
- package/agents/investigador.md +3 -1
- package/agents/operaciones.md +3 -1
- package/agents/product-designer.md +268 -0
- package/agents/revisor.md +25 -1
- package/agents/seguridad.md +5 -1
- package/agents/tester.md +3 -1
- package/claude-hooks/agent-memory.js +288 -0
- package/claude-hooks/pre-tool-guard.js +61 -9
- package/cli/index.js +1 -2
- package/commands/sdd.adr.md +196 -0
- package/commands/sdd.analizar.md +23 -2
- package/commands/sdd.ayuda.md +13 -0
- package/commands/sdd.compliance.md +521 -0
- package/commands/sdd.configurar.md +34 -1
- package/commands/sdd.constitucion.md +198 -23
- package/commands/sdd.construir.md +210 -0
- package/commands/sdd.crear-mcp.md +2 -0
- package/commands/sdd.defect-report.md +134 -0
- package/commands/sdd.descubrir.md +19 -0
- package/commands/sdd.dise/303/261ar.md +188 -0
- package/commands/sdd.estado.md +120 -3
- package/commands/sdd.exportar.md +344 -0
- package/commands/sdd.implementar.md +272 -52
- package/commands/sdd.interpretar.md +239 -0
- package/commands/sdd.md +93 -4
- package/commands/sdd.optimizar-memoria.md +47 -0
- package/commands/sdd.optimizar.md +164 -0
- package/commands/sdd.planificar.md +64 -0
- package/commands/sdd.retro.md +74 -0
- package/commands/sdd.verificar.md +81 -0
- package/configuracion-ejemplo/.claude/CLAUDE.md +106 -0
- package/configuracion-ejemplo/sdd.config.yaml +10 -0
- package/craft/accessibility-baseline.md +216 -0
- package/craft/anti-ai-slop.md +158 -0
- package/craft/color.md +160 -0
- package/craft/typography.md +121 -0
- package/design-systems/bold-brutalist/DESIGN.md +239 -0
- package/design-systems/editorial-minimal/DESIGN.md +205 -0
- package/design-systems/neutral-modern/DESIGN.md +227 -0
- package/design-systems/vibrant-consumer/DESIGN.md +257 -0
- package/design-systems/warm-editorial/DESIGN.md +221 -0
- package/docs/AGENTES.md +4 -1
- package/docs/CASO-COMPLETO.md +206 -0
- package/docs/EJEMPLOS.md +61 -185
- package/docs/FABRICA.md +163 -115
- package/docs/INICIO-RAPIDO.md +27 -79
- package/docs/MEMORIA-Y-OBSERVABILIDAD.md +239 -0
- package/docs/MODELOS.md +3 -0
- package/docs/QUE-PASA-SI-FALLA.md +404 -0
- package/docs/README.md +43 -0
- package/docs/RELACION-CON-CLAUDE-CODE.md +38 -0
- package/docs/SEGURIDAD-PARA-NOTECNICOS.md +280 -0
- package/package.json +15 -10
- package/plantillas/job-story-mejorar-prompt.md +107 -0
- package/presets/enterprise.yaml +6 -0
- package/presets/lean.yaml +4 -0
- package/presets/startup.yaml +6 -0
- package/skills/adr-indexer/SKILL.md +181 -0
- package/skills/cache-audit/SKILL.md +163 -0
- package/skills/critica-diseno/SKILL.md +193 -0
- package/skills/descubrir-idea/SKILL.md +133 -0
- package/skills/effort-router/SKILL.md +128 -0
- package/skills/elegir-direccion/SKILL.md +184 -0
- package/skills/github-connect/IMPLEMENTATION-CHECKLIST.md +297 -0
- package/skills/github-connect/INDEX.md +223 -0
- package/skills/github-connect/INTEGRATION.md +361 -0
- package/skills/github-connect/QUICK-START.md +168 -0
- package/skills/github-connect/README.md +414 -0
- package/skills/github-connect/RESUMEN_IMPLEMENTACION.txt +374 -0
- package/skills/github-connect/SKILL.md +343 -0
- package/skills/github-connect/STRUCTURE.txt +252 -0
- package/skills/github-connect/example-config.yaml +41 -0
- package/skills/github-connect/github-connect.sh +419 -0
- package/skills/interpretar-idea/SKILL.md +254 -0
- package/skills/mejorar-prompt/SKILL.md +237 -0
- package/skills/memory-compactor/SKILL.md +68 -0
- package/skills/modo-guiado/SKILL.md +12 -2
- package/skills/mutation-detector/SKILL.md +134 -0
- package/skills/observabilidad-consumo/SKILL.md +164 -0
- package/skills/token-budget/SKILL.md +177 -0
- package/skills/vercel-deploy/00-START-HERE.txt +364 -0
- package/skills/vercel-deploy/CHECKLIST.md +205 -0
- package/skills/vercel-deploy/EXEC-SUMMARY.txt +322 -0
- package/skills/vercel-deploy/FLOW.txt +334 -0
- package/skills/vercel-deploy/INDEX.md +276 -0
- package/skills/vercel-deploy/INTEGRATION.md +328 -0
- package/skills/vercel-deploy/MANIFEST.md +310 -0
- package/skills/vercel-deploy/README.md +65 -0
- package/skills/vercel-deploy/SKILL.md +356 -0
- package/skills/vercel-deploy/deploy.sh +298 -0
- package/skills/vercel-deploy/estado.json.example +205 -0
- package/skills/vercel-deploy/skill.yaml +323 -0
- package/skills/vercel-deploy/vercel-deploy.sh +216 -0
- package/skills/wireframe-mvp/SKILL.md +157 -0
- package/docs/EJEMPLO-PRACTICA.md +0 -383
- package/mcp-figma/README.md +0 -158
- package/mcp-figma/package.json +0 -7
- package/mcp-figma/src/component-generator.js +0 -162
- package/mcp-figma/src/design-system-analyzer.js +0 -247
- package/mcp-figma/src/figma-client.js +0 -75
- package/mcp-figma/src/index.js +0 -114
- package/mcp-figma/src/mcp.js +0 -97
- package/mcp-figma/src/style-mapper.js +0 -85
- /package/skills/{compresion-tokens.md → compresion-tokens/SKILL.md} +0 -0
- /package/skills/{constitucion-constraint.md → constitucion-constraint/SKILL.md} +0 -0
- /package/skills/{deteccion-stack.md → deteccion-stack/SKILL.md} +0 -0
- /package/skills/{enrutador-agentes.md → enrutador-agentes/SKILL.md} +0 -0
- /package/skills/{gestion-estado.md → gestion-estado/SKILL.md} +0 -0
- /package/skills/{indexador.md → indexador/SKILL.md} +0 -0
- /package/skills/{validacion-spec.md → validacion-spec/SKILL.md} +0 -0
- /package/skills/{verificador-implementacion.md → verificador-implementacion/SKILL.md} +0 -0
|
@@ -0,0 +1,414 @@
|
|
|
1
|
+
# GitHub Connect Skill - Documentación
|
|
2
|
+
|
|
3
|
+
Skill para conectar automáticamente un proyecto a GitHub. Elimina la fricción de crear repositorio manualmente.
|
|
4
|
+
|
|
5
|
+
## Descripción Rápida
|
|
6
|
+
|
|
7
|
+
Este skill automatiza completamente el proceso de:
|
|
8
|
+
|
|
9
|
+
1. ✅ Validar token de GitHub
|
|
10
|
+
2. ✅ Crear repositorio en GitHub
|
|
11
|
+
3. ✅ Configurar remote local
|
|
12
|
+
4. ✅ Hacer commit y push inicial
|
|
13
|
+
5. ✅ Guardar configuración en `.sdd/sdd.config.yaml`
|
|
14
|
+
|
|
15
|
+
## Requisitos Previos
|
|
16
|
+
|
|
17
|
+
### 1. Git Configurado
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Inicializa git si no está
|
|
21
|
+
git init
|
|
22
|
+
|
|
23
|
+
# Configura tu usuario
|
|
24
|
+
git config user.name "Tu Nombre"
|
|
25
|
+
git config user.email "tu@email.com"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
### 2. GitHub CLI Instalado
|
|
29
|
+
|
|
30
|
+
Descargalo desde: https://cli.github.com/
|
|
31
|
+
|
|
32
|
+
Verifica que está instalado:
|
|
33
|
+
```bash
|
|
34
|
+
gh --version
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### 3. Token de GitHub
|
|
38
|
+
|
|
39
|
+
Necesitas un token de acceso personal (PAT) con permisos `repo` y `user:email`.
|
|
40
|
+
|
|
41
|
+
#### Generar Token
|
|
42
|
+
|
|
43
|
+
1. Ve a: https://github.com/settings/tokens?type=beta
|
|
44
|
+
2. Click en "Generate new token (beta)"
|
|
45
|
+
3. Configura:
|
|
46
|
+
- **Token name**: `SDD-ES CLI`
|
|
47
|
+
- **Expiration**: 90 days (o más)
|
|
48
|
+
- **Permissions**:
|
|
49
|
+
- `repo` (todos los scopes)
|
|
50
|
+
- `user:email`
|
|
51
|
+
4. Click "Generate token"
|
|
52
|
+
5. Copia el token inmediatamente
|
|
53
|
+
|
|
54
|
+
#### Configurar Token
|
|
55
|
+
|
|
56
|
+
**Opción A: Variable de Entorno (Recomendado)**
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
# Linux/Mac
|
|
60
|
+
export GITHUB_TOKEN=ghp_xxxxxxxxxxxxx
|
|
61
|
+
|
|
62
|
+
# Windows PowerShell
|
|
63
|
+
$env:GITHUB_TOKEN = "ghp_xxxxxxxxxxxxx"
|
|
64
|
+
|
|
65
|
+
# Windows CMD
|
|
66
|
+
set GITHUB_TOKEN=ghp_xxxxxxxxxxxxx
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Opción B: Usar gh cli directamente**
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
gh auth login
|
|
73
|
+
# Selecciona GitHub.com
|
|
74
|
+
# Selecciona HTTPS
|
|
75
|
+
# Pega el token cuando lo pida
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
## Uso
|
|
79
|
+
|
|
80
|
+
### Desde el CLI (SDD-ES)
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
/github-connect repo_name=mi-proyecto repo_visibility=public
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Con parámetros:
|
|
87
|
+
```bash
|
|
88
|
+
/github-connect \
|
|
89
|
+
repo_name=my-awesome-project \
|
|
90
|
+
repo_description="Mi proyecto increíble" \
|
|
91
|
+
repo_visibility=private
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### Manualmente desde Bash
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
# Descarga el script
|
|
98
|
+
curl -O https://raw.githubusercontent.com/.../github-connect.sh
|
|
99
|
+
chmod +x github-connect.sh
|
|
100
|
+
|
|
101
|
+
# Ejecuta
|
|
102
|
+
./github-connect.sh "nombre-repo" "Descripción" "public"
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
O usa directamente en tu proyecto:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
cd mi-proyecto
|
|
109
|
+
export GITHUB_TOKEN=ghp_xxxxx
|
|
110
|
+
bash /path/to/github-connect.sh
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Parámetros
|
|
114
|
+
|
|
115
|
+
| Parámetro | Tipo | Default | Descripción |
|
|
116
|
+
|-----------|------|---------|-------------|
|
|
117
|
+
| `repo_name` | string | Nombre de la carpeta | Nombre del repositorio en GitHub |
|
|
118
|
+
| `repo_description` | string | "Proyecto SDD-ES" | Descripción del repositorio |
|
|
119
|
+
| `repo_visibility` | string | "public" | `public` o `private` |
|
|
120
|
+
| `branch_name` | string | "main" | Nombre de la rama principal |
|
|
121
|
+
| `auto_init_commit` | boolean | true | Hacer commit inicial automático |
|
|
122
|
+
|
|
123
|
+
## Ejemplos
|
|
124
|
+
|
|
125
|
+
### Ejemplo 1: Repositorio Público Simple
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
export GITHUB_TOKEN=ghp_xxxxx
|
|
129
|
+
cd mi-proyecto
|
|
130
|
+
/github-connect
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Usa defaults:
|
|
134
|
+
- Nombre: `mi-proyecto` (nombre de la carpeta)
|
|
135
|
+
- Descripción: `Proyecto SDD-ES`
|
|
136
|
+
- Visibilidad: `public`
|
|
137
|
+
|
|
138
|
+
### Ejemplo 2: Repositorio Privado con Descripción
|
|
139
|
+
|
|
140
|
+
```bash
|
|
141
|
+
/github-connect \
|
|
142
|
+
repo_name=app-privada \
|
|
143
|
+
repo_description="Aplicación interna de ventas" \
|
|
144
|
+
repo_visibility=private
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Ejemplo 3: Rama Personalizada
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
/github-connect \
|
|
151
|
+
repo_name=mi-proyecto \
|
|
152
|
+
branch_name=develop
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Flujo Paso a Paso
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
┌─────────────────────────────────────────────────────┐
|
|
159
|
+
│ GitHub Connect Skill Workflow │
|
|
160
|
+
└─────────────────────────────────────────────────────┘
|
|
161
|
+
|
|
162
|
+
1. Validar Token
|
|
163
|
+
└─ ¿GITHUB_TOKEN existe?
|
|
164
|
+
└─ ¿Token válido en GitHub?
|
|
165
|
+
|
|
166
|
+
2. Obtener Info de Usuario
|
|
167
|
+
└─ gh api user (obtener username)
|
|
168
|
+
|
|
169
|
+
3. Verificar Git
|
|
170
|
+
└─ ¿.git existe?
|
|
171
|
+
└─ ¿user.name y user.email configurados?
|
|
172
|
+
|
|
173
|
+
4. Verificar Repo en GitHub
|
|
174
|
+
└─ ¿Ya existe el repositorio?
|
|
175
|
+
├─ Sí: Usar existente
|
|
176
|
+
└─ No: Crear nuevo
|
|
177
|
+
|
|
178
|
+
5. Crear Repo (si es necesario)
|
|
179
|
+
└─ gh repo create <repo_name>
|
|
180
|
+
|
|
181
|
+
6. Configurar Remote
|
|
182
|
+
└─ git remote add origin <url>
|
|
183
|
+
|
|
184
|
+
7. Commit Inicial
|
|
185
|
+
└─ git add -A
|
|
186
|
+
└─ git commit -m "feat: Inicialización..."
|
|
187
|
+
|
|
188
|
+
8. Configurar Rama Main
|
|
189
|
+
└─ git branch -M main
|
|
190
|
+
|
|
191
|
+
9. Push Inicial
|
|
192
|
+
└─ git push -u origin main
|
|
193
|
+
|
|
194
|
+
10. Guardar Configuración
|
|
195
|
+
└─ Crear .sdd/sdd.config.yaml
|
|
196
|
+
└─ git add & commit
|
|
197
|
+
|
|
198
|
+
11. Validación Final
|
|
199
|
+
└─ Verificar remote
|
|
200
|
+
└─ Verificar upstream
|
|
201
|
+
└─ Verificar config local
|
|
202
|
+
|
|
203
|
+
✅ Completado
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
## Manejo de Errores
|
|
207
|
+
|
|
208
|
+
### Error: GITHUB_TOKEN no configurado
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
❌ GITHUB_TOKEN no configurado
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
**Solución:**
|
|
215
|
+
```bash
|
|
216
|
+
# Genera un token en: https://github.com/settings/tokens?type=beta
|
|
217
|
+
export GITHUB_TOKEN=ghp_xxxxx
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Error: Token inválido o expirado
|
|
221
|
+
|
|
222
|
+
```
|
|
223
|
+
❌ Token de GitHub inválido o expirado
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Solución:**
|
|
227
|
+
1. Ve a https://github.com/settings/tokens
|
|
228
|
+
2. Revoca el token antiguo
|
|
229
|
+
3. Genera uno nuevo
|
|
230
|
+
4. Configura: `export GITHUB_TOKEN=ghp_xxxxx`
|
|
231
|
+
|
|
232
|
+
### Error: GitHub CLI no está instalado
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
❌ GitHub CLI (gh) no está instalado
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
**Solución:**
|
|
239
|
+
```bash
|
|
240
|
+
# macOS
|
|
241
|
+
brew install gh
|
|
242
|
+
|
|
243
|
+
# Linux (Debian/Ubuntu)
|
|
244
|
+
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key C99B11DEB97FBCE48B3E4314C6CB2D21C7BC7C3F
|
|
245
|
+
echo "deb https://cli.github.com/packages focal main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
|
246
|
+
sudo apt update
|
|
247
|
+
sudo apt install gh
|
|
248
|
+
|
|
249
|
+
# Windows
|
|
250
|
+
choco install gh
|
|
251
|
+
# o descargalo desde: https://cli.github.com/
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
### Error: El repositorio ya existe
|
|
255
|
+
|
|
256
|
+
```
|
|
257
|
+
⚠️ El repositorio 'mi-proyecto' ya existe en GitHub
|
|
258
|
+
URL: https://github.com/usuario/mi-proyecto
|
|
259
|
+
Se usará el repositorio existente.
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
**Esto no es un error**, el skill detectó que el repo ya existe y lo usará. Si quieres usar uno diferente:
|
|
263
|
+
|
|
264
|
+
```bash
|
|
265
|
+
/github-connect repo_name=otro-nombre
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### Error: No hay cambios para commitear
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
ℹ️ No hay cambios pendientes para commitear
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
**Esto es normal** si el repositorio está vacío o todos los cambios están ya commiteados.
|
|
275
|
+
|
|
276
|
+
### Error: Este directorio no es un repositorio Git
|
|
277
|
+
|
|
278
|
+
```
|
|
279
|
+
❌ Este directorio no es un repositorio Git
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
**Solución:**
|
|
283
|
+
```bash
|
|
284
|
+
git init
|
|
285
|
+
git config user.name "Tu Nombre"
|
|
286
|
+
git config user.email "tu@email.com"
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
## Validación Post-Ejecución
|
|
290
|
+
|
|
291
|
+
Después de que el skill termina, verifica que todo está correcto:
|
|
292
|
+
|
|
293
|
+
```bash
|
|
294
|
+
# 1. Remote está configurado
|
|
295
|
+
git remote -v
|
|
296
|
+
# Debería mostrar algo como:
|
|
297
|
+
# origin https://github.com/usuario/proyecto.git (fetch)
|
|
298
|
+
# origin https://github.com/usuario/proyecto.git (push)
|
|
299
|
+
|
|
300
|
+
# 2. Rama upstream está configurada
|
|
301
|
+
git branch -vv
|
|
302
|
+
# Debería mostrar: main [origin/main] ...
|
|
303
|
+
|
|
304
|
+
# 3. Configuración está guardada
|
|
305
|
+
cat .sdd/sdd.config.yaml
|
|
306
|
+
# Debería mostrar: git.connected: true
|
|
307
|
+
|
|
308
|
+
# 4. Repositorio está accessible
|
|
309
|
+
gh repo view
|
|
310
|
+
# Debería mostrar detalles del repositorio
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
## FAQ
|
|
314
|
+
|
|
315
|
+
**P: ¿Qué pasa si el repositorio ya existe?**
|
|
316
|
+
|
|
317
|
+
R: El skill detecta si el repositorio existe y lo usa en lugar de crear uno nuevo. Se configura el remote para que apunte al repositorio existente.
|
|
318
|
+
|
|
319
|
+
**P: ¿Puedo cambiar la visibilidad de público a privado después?**
|
|
320
|
+
|
|
321
|
+
R: Sí, desde GitHub:
|
|
322
|
+
1. Ve a Settings > Change repository visibility
|
|
323
|
+
2. Selecciona "Private"
|
|
324
|
+
3. Confirma
|
|
325
|
+
|
|
326
|
+
O desde CLI:
|
|
327
|
+
```bash
|
|
328
|
+
gh repo edit --visibility private
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
**P: ¿Qué permisos necesita el token?**
|
|
332
|
+
|
|
333
|
+
R: Mínimamente:
|
|
334
|
+
- `repo` (todos los scopes) - para crear y pushear a repositorios
|
|
335
|
+
- `user:email` - para obtener información del usuario
|
|
336
|
+
|
|
337
|
+
**P: ¿Puedo usar SSH en lugar de HTTPS?**
|
|
338
|
+
|
|
339
|
+
R: El skill usa HTTPS por defecto. Para cambiar a SSH manualmente después:
|
|
340
|
+
|
|
341
|
+
```bash
|
|
342
|
+
git remote set-url origin git@github.com:usuario/repo.git
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
**P: ¿Qué pasa si el push falla?**
|
|
346
|
+
|
|
347
|
+
R: El skill intentará hacer push. Si falla, asegúrate de:
|
|
348
|
+
1. Tienes permisos de push en el repositorio
|
|
349
|
+
2. El token tiene permisos `repo`
|
|
350
|
+
3. Tu SSH key está configurada (si usas SSH)
|
|
351
|
+
4. La rama remota existe
|
|
352
|
+
|
|
353
|
+
**P: ¿El skill es seguro?**
|
|
354
|
+
|
|
355
|
+
R: Sí:
|
|
356
|
+
- El token nunca se loguea o imprime en pantalla
|
|
357
|
+
- Solo se almacena en memoria durante la ejecución
|
|
358
|
+
- La configuración guardada no incluye el token
|
|
359
|
+
- Usa comunicación HTTPS segura
|
|
360
|
+
|
|
361
|
+
## Integración con SDD-ES
|
|
362
|
+
|
|
363
|
+
El skill se invoca automáticamente desde `sdd.constitucion.md` cuando el usuario responde "sí" a guardar el proyecto en GitHub.
|
|
364
|
+
|
|
365
|
+
También puede ser invocado manualmente en cualquier momento:
|
|
366
|
+
|
|
367
|
+
```bash
|
|
368
|
+
/github-connect
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
## Notas Técnicas
|
|
372
|
+
|
|
373
|
+
- **Idempotente**: Puedes ejecutar el skill múltiples veces sin causar problemas
|
|
374
|
+
- **Destructivo**: Si no quieres que se cree un commit inicial, pasa `auto_init_commit=false`
|
|
375
|
+
- **Seguro**: El skill no sobrescribe remotes sin advertencia
|
|
376
|
+
- **Informativo**: Proporciona feedback claro en cada paso
|
|
377
|
+
|
|
378
|
+
## Soporte
|
|
379
|
+
|
|
380
|
+
Si encuentras problemas:
|
|
381
|
+
|
|
382
|
+
1. Verifica que tienes todos los requisitos instalados:
|
|
383
|
+
```bash
|
|
384
|
+
git --version
|
|
385
|
+
gh --version
|
|
386
|
+
echo $GITHUB_TOKEN # Debe mostrar algo
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
2. Asegúrate de que Git está configurado:
|
|
390
|
+
```bash
|
|
391
|
+
git config user.name
|
|
392
|
+
git config user.email
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
3. Valida el token:
|
|
396
|
+
```bash
|
|
397
|
+
gh auth status
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
4. Leer logs detallados:
|
|
401
|
+
```bash
|
|
402
|
+
/github-connect --verbose
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
## Changelog
|
|
406
|
+
|
|
407
|
+
### v1.0.0 (2026-06-13)
|
|
408
|
+
- Versión inicial
|
|
409
|
+
- Creación automática de repositorio
|
|
410
|
+
- Configuración de remote
|
|
411
|
+
- Commit y push inicial
|
|
412
|
+
- Integración con `.sdd/sdd.config.yaml`
|
|
413
|
+
- Validación completa de errores
|
|
414
|
+
- Soporte para repositorios públicos y privados
|