Skip to content
Back to search

unsloop-antigravity

Dr. Unslopovich (v3.0.0) adaptado como plugin global para Google Antigravity con /unsloop-on, /unsloop-off y /unsloop-status

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/jdsgnrinfo--unsloop-antigravity/badge.svg)](/listings/jdsgnrinfo--unsloop-antigravity)

HTML

<a href="/listings/jdsgnrinfo--unsloop-antigravity"><img src="/api/listings/jdsgnrinfo--unsloop-antigravity/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 121 lines · 2 findings marked
  1. <p align="center">
  2. <img src="assets/logo.svg" width="128" height="128" alt="Dr. Unslopovich para Antigravity">
  3. </p>
  4. <h1 align="center">unsloop-antigravity</h1>
  5. <p align="center">
  6. <strong>Dr. Unslopovich (v3.0.0) adaptado por completo como plugin global para Google Antigravity.</strong><br>
  7. Funciona en todos tus chats por defecto, con encendido/apagado global instantáneo y soporte multiplataforma (Windows, macOS y Linux).
  8. </p>
  9. ---
  10. ## ¿Qué es esto?
  11. Adaptación completa de [erkamyaman/unslopovich](https://github.com/erkamyaman/unslopovich) a la arquitectura nativa de plugins, skills y hooks de ciclo de vida de **Antigravity**.
  12. Dr. Unslopovich detecta y corrige interfaces con aspecto genérico, de plantilla o generado por IA en **apps móviles** (SwiftUI, UIKit, Jetpack Compose, React Native, Expo, Flutter, Ionic, Capacitor, NativeScript) y **web** (React, Next.js, Vue, Nuxt, Svelte, Astro, Angular, HTML/CSS, Tailwind), priorizando siempre la fricción real de usuario antes que lo puramente estético.
  13. ### Características en Antigravity
  14. - **Modo global automático (encendido por defecto):** usa hooks `SessionStart` y `PreInvocation` en Node.js puro (sin dependencias) para aplicarse automáticamente en todos tus chats cuando trabajes en UI/UX, manteniéndose silencioso en tareas que no tienen relación con diseño o frontend.
  15. - **Triggers globales de configuración:**
  16. - `/unsloop-on` — Enciende Dr. Unslopovich globalmente (chat actual y todos los chats futuros).
  17. - `/unsloop-off` — Apaga Dr. Unslopovich globalmente (chat actual y todos los chats futuros).
  18. - `/unsloop-status` — Muestra si está **ENCENDIDO (ON)** o **APAGADO (OFF)** y verifica en vivo los hooks, el detector estático, las 9 guías de referencia y Node.js.
  19. - **Sincronización entre chats:** si apagas o enciendes Unslopovich desde un chat, cualquier otro chat abierto detecta el cambio automáticamente en el siguiente turno.
  20. - **Detector estático incluido:** `skills/unslopovich/scripts/detect.js` con 31 reglas sin dependencias externas.
  21. ---
  22. ## Requisitos
  23. - **Google Antigravity**
  24. - **Node.js 18 o superior** (usado por los hooks multiplataforma y por el detector `detect.js`)
  25. ---
  26. ## Instalación rápida
  27. ### Windows (PowerShell)
  28. ```powershell
  29. irm https://raw.githubusercontent.com/jdsgnrinfo/unsloop-antigravity/main/install.ps1 | iex
  30. ```
  31. ### macOS y Linux (bash / zsh)
  32. ```bash
  33. curl -fsSL https://raw.githubusercontent.com/jdsgnrinfo/unsloop-antigravity/main/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 50 on GitHub
  34. ```
  35. ### Instalación manual
  36. Clona o descarga este repositorio y copia su contenido en:
  37. - **Windows:** `%USERPROFILE%\.gemini\config\plugins\unslopovich\`
  38. - **macOS / Linux:** `~/.gemini/config/plugins/unslopovich/`
  39. Antigravity detecta el plugin automáticamente en el siguiente turno o al abrir un chat nuevo (no requiere reiniciar).
  40. ---
  41. ## Comandos disponibles
  42. ### Control global
  43. | Comando | Descripción |
  44. | :--- | :--- |
  45. | `/unsloop-status` | Verifica si Dr. Unslopovich está encendido o apagado globalmente y confirma el estado de los hooks y `detect.js`. |
  46. | `/unsloop-off` | Apaga Dr. Unslopovich globalmente en todos los chats. |
  47. | `/unsloop-on` | Enciende Dr. Unslopovich globalmente en todos los chats. |
  48. ### Diagnóstico y tratamiento (`/unslopovich`)
  49. | Comando | Descripción |
  50. | :--- | :--- |
  51. | `/unslopovich review [pantallas]` | Diagnóstico completo con puntaje sobre 24, sin editar archivos. |
  52. | `/unslopovich treat [pantallas]` | Diagnóstico, propuesta de dirección, correcciones y verificación antes/después. |
  53. | `/unslopovich scan [ruta]` | Escaneo rápido solo de código usando `detect.js`. |
  54. | `/unslopovich chart` | Crea o actualiza `.unslopovich/chart.md` con las decisiones de marca y excepciones del proyecto. |
  55. | `/unslopovich follow-up [pantallas]` | Re-evalúa pantallas de la última visita y compara puntajes. |
  56. ---
  57. ## Estructura del plugin
  58. ```text
  59. unsloop-antigravity/
  60. ├── plugin.json
  61. ├── hooks.json
  62. ├── hooks/
  63. │ ├── common.js # Estado global persistente y utilidades cross-platform
  64. │ ├── session-start.js # Hook SessionStart (encendido por defecto)
  65. │ ├── mode-tracker.js # Hook PreInvocation (/unsloop-on, /unsloop-off, /unsloop-status)
  66. │ └── cli.js # Respaldo CLI manual
  67. ├── skills/
  68. │ ├── unslopovich/
  69. │ │ ├── SKILL.md
  70. │ │ ├── reference/ # 9 guías de referencia (iOS, Android, Web, Stacks, Tells, etc.)
  71. │ │ └── scripts/ # Detector estático detect.js (31 reglas)
  72. │ ├── unsloop-on/SKILL.md
  73. │ ├── unsloop-off/SKILL.md
  74. │ └── unsloop-status/SKILL.md
  75. ├── assets/logo.svg
  76. ├── install.ps1
  77. ├── install.sh
  78. └── LICENSE
  79. ```
  80. ---
  81. ## Desinstalación
  82. Elimina la carpeta `~/.gemini/config/plugins/unslopovich` (o desactívalo desde **Customizations** en Antigravity). Opcionalmente borra la carpeta de configuración global (`%APPDATA%\unslopovich` en Windows o `~/.config/unslopovich` en macOS/Linux).
  83. ---
  84. ## Créditos y licencia
  85. Basado en el excelente trabajo de [Erkam Yaman](https://github.com/erkamyaman) en [erkamyaman/unslopovich](https://github.com/erkamyaman/unslopovich) (Licencia MIT). Adaptado a Antigravity con modo global persistente y triggers `/unsloop-on`, `/unsloop-off` y `/unsloop-status`.
install.ps1 · Bundled script · 47 lines · 1 finding marked
  1. # Instalador de Dr. Unslopovich para Antigravity (Windows PowerShell)
  2. # Uso: irm https://raw.githubusercontent.com/jdsgnrinfo/unsloop-antigravity/main/install.ps1 | iex
    • Note: Runs a downloaded PowerShell script (iex / Invoke-Expression)
    • Line 2 on GitHub
  3. $ErrorActionPreference = 'Stop'
  4. $repoUrl = 'https://github.com/jdsgnrinfo/unsloop-antigravity/archive/refs/heads/main.zip'
  5. $targetDir = Join-Path $HOME '.gemini\config\plugins\unslopovich'
  6. $tmpDir = Join-Path ([System.IO.Path]::GetTempPath()) ("unsloop-antigravity-" + [Guid]::NewGuid().ToString('N'))
  7. $zipFile = Join-Path $tmpDir 'repo.zip'
  8. Write-Host '🩺 Instalando Dr. Unslopovich para Antigravity...' -ForegroundColor Cyan
  9. # Verificar Node.js
  10. try {
  11. $nodeVer = (& node -v 2>$null)
  12. if (-not $nodeVer) { throw 'Node no encontrado' }
  13. Write-Host "✓ Node.js detectado: $nodeVer" -ForegroundColor Green
  14. } catch {
  15. Write-Warning 'No se encontró Node.js en el PATH. Instala Node.js >= 18 para que los hooks y el detector funcionen.'
  16. }
  17. New-Item -ItemType Directory -Force -Path $tmpDir | Out-Null
  18. try {
  19. Invoke-WebRequest -Uri $repoUrl -OutFile $zipFile -UseBasicParsing
  20. Expand-Archive -Path $zipFile -DestinationPath $tmpDir -Force
  21. $extracted = Get-ChildItem -Path $tmpDir -Directory | Select-Object -First 1
  22. if (-not $extracted) { throw 'No se pudo extraer el paquete descargado.' }
  23. if (Test-Path $targetDir) {
  24. Remove-Item -Recurse -Force $targetDir
  25. }
  26. New-Item -ItemType Directory -Force -Path $targetDir | Out-Null
  27. foreach ($item in @('plugin.json', 'hooks.json', 'README.md', 'LICENSE', 'assets', 'hooks', 'skills')) {
  28. $src = Join-Path $extracted.FullName $item
  29. if (Test-Path $src) {
  30. Copy-Item -Path $src -Destination (Join-Path $targetDir $item) -Recurse -Force
  31. }
  32. }
  33. Write-Host ''
  34. Write-Host "✓ Instalado correctamente en: $targetDir" -ForegroundColor Green
  35. Write-Host ' • Activo globalmente por defecto en todos tus chats de Antigravity.'
  36. Write-Host ' • Comandos: /unsloop-status | /unsloop-off | /unsloop-on | /unslopovich'
  37. } finally {
  38. Remove-Item -Recurse -Force $tmpDir -ErrorAction SilentlyContinue
  39. }
install.sh · Bundled script · 38 lines · 1 finding marked
  1. #!/usr/bin/env bash
  2. # Instalador de Dr. Unslopovich para Antigravity (macOS y Linux)
  3. # Uso: curl -fsSL https://raw.githubusercontent.com/jdsgnrinfo/unsloop-antigravity/main/install.sh | bash
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 3 on GitHub
  4. set -euo pipefail
  5. REPO_URL="https://github.com/jdsgnrinfo/unsloop-antigravity/archive/refs/heads/main.tar.gz"
  6. TARGET_DIR="${HOME}/.gemini/config/plugins/unslopovich"
  7. TMP_DIR="$(mktemp -d)"
  8. cleanup() {
  9. rm -rf "$TMP_DIR"
  10. }
  11. trap cleanup EXIT
  12. echo "🩺 Instalando Dr. Unslopovich para Antigravity..."
  13. if command -v node >/dev/null 2>&1; then
  14. echo "✓ Node.js detectado: $(node -v)"
  15. else
  16. echo "⚠️ Advertencia: no se encontró Node.js en el PATH. Instala Node.js >= 18 para que los hooks y el detector funcionen."
  17. fi
  18. curl -fsSL "$REPO_URL" | tar -xz -C "$TMP_DIR"
  19. EXTRACTED="$(find "$TMP_DIR" -mindepth 1 -maxdepth 1 -type d | head -n 1)"
  20. rm -rf "$TARGET_DIR"
  21. mkdir -p "$TARGET_DIR"
  22. for item in plugin.json hooks.json README.md LICENSE assets hooks skills; do
  23. if [ -e "${EXTRACTED}/${item}" ]; then
  24. cp -R "${EXTRACTED}/${item}" "${TARGET_DIR}/${item}"
  25. fi
  26. done
  27. echo ""
  28. echo "✓ Instalado correctamente en: ${TARGET_DIR}"
  29. echo " • Activo globalmente por defecto en todos tus chats de Antigravity."
  30. echo " • Comandos: /unsloop-status | /unsloop-off | /unsloop-on | /unslopovich"

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.