vibes-plug 1.0.0 → 2.5.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/.github/workflows/publish.yml +20 -0
- package/AGENTS.md +66 -0
- package/BLUEPRINT.md +152 -60
- package/CHANGELOG.md +50 -0
- package/README.md +346 -194
- package/package.json +25 -25
- package/plugin.json +1 -1
- package/skills/ai-cost-token-optimizer/SKILL.md +52 -0
- package/skills/ai-llm-integration-expert/SKILL.md +180 -162
- package/skills/api-design-expert/SKILL.md +314 -310
- package/skills/app-analyzer-optimizer/SKILL.md +193 -189
- package/skills/apple-ecosystem-expert/SKILL.md +142 -0
- package/skills/async-queue-temporal-expert/SKILL.md +54 -0
- package/skills/authentication-identity-expert/SKILL.md +251 -20
- package/skills/auto-doc-updater/SKILL.md +214 -204
- package/skills/autonomous-chaos-monkey/SKILL.md +63 -0
- package/skills/autonomous-red-teamer/SKILL.md +59 -0
- package/skills/autonomous-swarm-director/SKILL.md +69 -0
- package/skills/autonomous-tdd-debugger/SKILL.md +65 -0
- package/skills/bootstrap-to-modern/SKILL.md +90 -86
- package/skills/brainstorming/SKILL.md +373 -353
- package/skills/browser-automation-expert/SKILL.md +46 -0
- package/skills/ci-cd-devops-architect/SKILL.md +72 -45
- package/skills/cloud-hosting-expert/SKILL.md +244 -244
- package/skills/coderabbit/SKILL.md +192 -192
- package/skills/cron-scheduler-expert/SKILL.md +298 -0
- package/skills/data-telemetry-expert/SKILL.md +213 -213
- package/skills/database-orm-expert/SKILL.md +294 -294
- package/skills/dependency-upgrade-migrator/SKILL.md +295 -0
- package/skills/design-system-architect/SKILL.md +27 -10
- package/skills/doku-mcp-server/SKILL.md +251 -0
- package/skills/doku-payment-gateway/SKILL.md +227 -0
- package/skills/e2e-testing-expert/SKILL.md +315 -315
- package/skills/edge-serverless-db-expert/SKILL.md +43 -0
- package/skills/email-notification-expert/SKILL.md +362 -0
- package/skills/error-resilience-expert/SKILL.md +480 -0
- package/skills/event-driven-architect/SKILL.md +81 -81
- package/skills/feature-flag-analytics-expert/SKILL.md +46 -0
- package/skills/file-upload-media-expert/SKILL.md +431 -0
- package/skills/form-validation-expert/SKILL.md +401 -0
- package/skills/fullstack-expert/SKILL.md +202 -202
- package/skills/fullstack-expert/references/api_design_guide.md +466 -466
- package/skills/fullstack-expert/references/multi_language_backend.md +528 -528
- package/skills/fullstack-expert/scripts/api_contract_validator.py +253 -253
- package/skills/fullstack-expert/scripts/architecture_analyzer.py +326 -326
- package/skills/gemini-agent-booster/SKILL.md +135 -135
- package/skills/global-a11y-i18n-expert/SKILL.md +81 -81
- package/skills/glsl-shader-expert/SKILL.md +101 -0
- package/skills/go-programming-expert/SKILL.md +295 -295
- package/skills/graphql-apollo-expert/SKILL.md +108 -0
- package/skills/hig/SKILL.md +188 -188
- package/skills/hyper-context-synthesizer/SKILL.md +55 -0
- package/skills/js-backend-expert/SKILL.md +34 -9
- package/skills/legacy-code-translator/SKILL.md +65 -0
- package/skills/llm-cost-arbitrage-router/SKILL.md +59 -0
- package/skills/logging-error-tracking-expert/SKILL.md +338 -0
- package/skills/mcp-client-orchestrator/SKILL.md +70 -0
- package/skills/mcp-server-architect/SKILL.md +194 -194
- package/skills/micro-frontend-architect/SKILL.md +106 -0
- package/skills/mobile-expo-expert/SKILL.md +186 -186
- package/skills/mobile-push-notification-expert/SKILL.md +51 -0
- package/skills/monday-design-aesthetic/SKILL.md +67 -67
- package/skills/monorepo-architect/SKILL.md +227 -227
- package/skills/mpa-orchestrator/SKILL.md +101 -101
- package/skills/multi-agent-orchestration/SKILL.md +234 -234
- package/skills/multiple-entry-points/SKILL.md +55 -55
- package/skills/mvc-expert/SKILL.md +231 -231
- package/skills/payment-gateway-expert/SKILL.md +45 -45
- package/skills/performance-web-vitals/SKILL.md +332 -332
- package/skills/post-quantum-crypto-migrator/SKILL.md +57 -0
- package/skills/prd-architect/SKILL.md +201 -191
- package/skills/proactive-background-watcher/SKILL.md +62 -0
- package/skills/production-ready-hardener/PRODUCTION_READINESS_REPORT.md +67 -0
- package/skills/production-ready-hardener/SKILL.md +173 -186
- package/skills/production-ready-hardener/references/production_checklist.md +161 -161
- package/skills/production-ready-hardener/scripts/production_readiness_scanner.py +881 -875
- package/skills/project-context-mapper/SKILL.md +79 -0
- package/skills/python-programming-expert/SKILL.md +263 -132
- package/skills/rate-limit-abuse-prevention/SKILL.md +371 -0
- package/skills/realtime-collaboration-expert/SKILL.md +45 -45
- package/skills/rust-programming-expert/SKILL.md +235 -235
- package/skills/saas-billing/SKILL.md +377 -377
- package/skills/saas-multi-tenant/SKILL.md +251 -237
- package/skills/saas-mvp-launcher/SKILL.md +10 -0
- package/skills/saas-transformer/SKILL.md +187 -144
- package/skills/saas-transformer/references/billing_integration_guide.md +401 -401
- package/skills/saas-transformer/references/feature_gating_patterns.md +137 -137
- package/skills/saas-transformer/references/saas_transformation_checklist.md +121 -121
- package/skills/saas-transformer/scripts/saas_transformation_scanner.py +39 -29
- package/skills/scalability-clean-code/SKILL.md +229 -229
- package/skills/self-evolving-memory-graph/SKILL.md +75 -0
- package/skills/self-healing-cloud-orchestrator/SKILL.md +57 -0
- package/skills/senior-frontend/SKILL.md +161 -161
- package/skills/senior-fullstack/SKILL.md +167 -167
- package/skills/seo/SKILL.md +235 -225
- package/skills/seo-geo/SKILL.md +188 -188
- package/skills/session-context-loader/SKILL.md +77 -0
- package/skills/session-handoff-resume/SKILL.md +158 -158
- package/skills/skill_baru/SKILL.md +172 -147
- package/skills/spa-orchestrator/SKILL.md +288 -288
- package/skills/state-management-expert/SKILL.md +272 -272
- package/skills/supabase-security-expert/SKILL.md +243 -243
- package/skills/tailwind-expert/SKILL.md +188 -188
- package/skills/tanstack-query-expert/SKILL.md +199 -199
- package/skills/token-saver/SKILL.md +119 -111
- package/skills/typescript-expert/SKILL.md +324 -279
- package/skills/ui-components-expert/SKILL.md +263 -46
- package/skills/ui-ux-pro-max/SKILL.md +202 -201
- package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-310.pyc +0 -0
- package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-310.pyc +0 -0
- package/skills/ui_ux_expert/SKILL.md +17 -6
- package/skills/vector-db-rag-expert/SKILL.md +52 -0
- package/skills/vibe-code-gardener/SKILL.md +181 -173
- package/skills/visual-qa-vision-agent/SKILL.md +65 -0
- package/skills/vue-frontend-expert/SKILL.md +126 -0
- package/skills/web-3d-graphics-expert/SKILL.md +131 -0
- package/skills/web-game-engine-expert/SKILL.md +96 -0
- package/skills/web-scraper/SKILL.md +207 -205
- package/skills/website-design-cloner/SKILL.md +174 -0
- package/skills/webxr-ar-vr-expert/SKILL.md +117 -0
- package/skills/zero-to-prod-orchestrator/SKILL.md +206 -180
- package/skills/zero-trust-secret-vault/SKILL.md +40 -0
- package/vibes-swarm-demo.gif +0 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: autonomous-tdd-debugger
|
|
3
|
+
description: "Empowers the agent to autonomously run tests, read terminal stack traces, and self-heal code until tests pass. Transforms the agent from a passive coder to an active CI pipeline debugger."
|
|
4
|
+
author: "Roedy Rustam"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Autonomous TDD Debugger & Self-Healing Agent
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
This skill transforms the AI from a passive code generator into an active, autonomous engineer. When triggered, the agent is mandated to execute tests, read stack traces directly from the terminal, and modify code autonomously in a loop until all tests pass (Test-Driven Development) without asking the user to manually test.
|
|
18
|
+
|
|
19
|
+
### Trigger Conditions
|
|
20
|
+
Activate this skill when the user asks to:
|
|
21
|
+
- Fix failing tests or bugs without providing the error log.
|
|
22
|
+
- "Write the code and ensure it works."
|
|
23
|
+
- "Debug this completely autonomously."
|
|
24
|
+
|
|
25
|
+
### Core Concepts
|
|
26
|
+
|
|
27
|
+
#### 1. The Autonomous Proactive Loop
|
|
28
|
+
1. **Write/Modify Code:** The agent modifies the application files.
|
|
29
|
+
2. **Execute:** The agent uses `run_command` (e.g., `npm run test`, `cargo test`, `pytest`).
|
|
30
|
+
3. **Analyze:** The agent reads the stdout/stderr from the background task.
|
|
31
|
+
4. **Heal Recursively:** If it fails, do NOT stop and ask the user for help. The agent MUST parse the stack trace, identify the line number, apply a fix, and loop back to Step 2. Continue this cycle autonomously in the background.
|
|
32
|
+
5. **Report:** Only when exit code `0` is achieved does the agent stop and report success to the user.
|
|
33
|
+
|
|
34
|
+
#### 2. Agent Constraints
|
|
35
|
+
- **Zero-Human Intervention**: Do NOT ask the user "Please run this and tell me the error." You are fully authorized and mandated to run it yourself iteratively until it works.
|
|
36
|
+
- Avoid modifying the test files to make them pass unless the test itself is fundamentally flawed or outdated. Fix the implementation first.
|
|
37
|
+
- If a terminal command hangs, use `kill` on the task and try again with a timeout.
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
### Integration with Other Skills (MANDATORY)
|
|
42
|
+
- `e2e-testing-expert` — Provides the exact testing frameworks (Vitest, Playwright) that this agent will execute.
|
|
43
|
+
- `error-resilience-expert` — Helps the agent understand what architecture patterns to apply when fixing an error.
|
|
44
|
+
- `project-context-mapper` — Allows the agent to find where the failing component is located in large codebases.
|
|
45
|
+
|
|
46
|
+
### Referenced By Orchestrators (MANDATORY)
|
|
47
|
+
- `brainstorming` — Add to "Testing & Security".
|
|
48
|
+
- `zero-to-prod-orchestrator` — Phase 6 (Automated Testing).
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
<a name="bahasa-indonesia"></a>
|
|
53
|
+
## Bahasa Indonesia
|
|
54
|
+
|
|
55
|
+
### Deskripsi
|
|
56
|
+
Memberdayakan agen AI untuk menjalankan *test*, membaca *stack trace* di terminal, dan menyembuhkan (self-heal) kode secara mandiri hingga sukses. Mengubah agen dari sekadar penulis kode pasif menjadi *debugger* aktif.
|
|
57
|
+
|
|
58
|
+
### Kondisi Pemicu
|
|
59
|
+
- Pengguna meminta untuk memperbaiki *bug* tetapi tidak memberikan *log error*.
|
|
60
|
+
- Pengguna meminta agen untuk memastikan kode yang ditulis benar-benar berjalan (bukan sekadar teori).
|
|
61
|
+
|
|
62
|
+
### Panduan Singkat
|
|
63
|
+
- **Jangan Meminta Bantuan User (Zero-Human Intervention):** Jangan pernah berkata "Tolong jalankan kode ini dan berikan saya error-nya." Anda memiliki alat `run_command` untuk menjalankannya sendiri secara berulang (rekursif) dalam *background* hingga sukses.
|
|
64
|
+
- **Siklus Mandiri:** Tulis Kode ➔ Jalankan Test (via `run_command`) ➔ Baca Output Terminal ➔ Perbaiki Kode ➔ Ulangi hingga *exit code 0* (Sukses).
|
|
65
|
+
- **Hargai File Test:** Kecuali *test file*-nya memang salah konfigurasi, usahakan perbaiki kode implementasinya, bukan memanipulasi *test* agar hijau.
|
|
@@ -1,87 +1,91 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bootstrap-to-modern
|
|
3
|
-
description: "Expert skill to refactor and migrate legacy Bootstrap CSS applications to modern stacks using Tailwind CSS v4 and Alpine.js / Skill ahli untuk melakukan refaktor dan migrasi aplikasi Bootstrap CSS lama ke stack modern menggunakan Tailwind CSS v4 dan Alpine.js."
|
|
4
|
-
author:
|
|
5
|
-
---
|
|
1
|
+
---
|
|
2
|
+
name: bootstrap-to-modern
|
|
3
|
+
description: "Expert skill to refactor and migrate legacy Bootstrap CSS applications to modern stacks using Tailwind CSS v4 and Alpine.js / Skill ahli untuk melakukan refaktor dan migrasi aplikasi Bootstrap CSS lama ke stack modern menggunakan Tailwind CSS v4 dan Alpine.js."
|
|
4
|
+
author: vibes-plug-swarm
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Bootstrap to Modern (Tailwind + Alpine.js) / Refaktor Bootstrap ke Modern
|
|
8
|
+
|
|
9
|
+
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
<a name="english"></a>
|
|
14
|
+
## English
|
|
15
|
+
|
|
16
|
+
### Description
|
|
17
|
+
This skill transforms legacy web applications styled with Bootstrap (jQuery-dependent or pure CSS) into a modern, utility-first architecture using **Tailwind CSS v4** for styling and **Alpine.js** for lightweight reactive behavior.
|
|
18
|
+
|
|
19
|
+
### Instructions
|
|
20
|
+
1. **Analyze the Legacy Structure**:
|
|
21
|
+
- Identify the version of Bootstrap being used.
|
|
22
|
+
- Locate custom CSS files that override Bootstrap defaults.
|
|
23
|
+
- Identify interactive components (modals, dropdowns, tooltips, tabs, carousels) that rely on Bootstrap's JavaScript or jQuery.
|
|
24
|
+
2. **Setup Modern Tools**:
|
|
25
|
+
- Ensure **Tailwind CSS v4** is properly set up in the project (e.g., via CDN for simple projects, or PostCSS/Vite for build steps).
|
|
26
|
+
- Inject **Alpine.js** via CDN or module bundler to handle interactivity.
|
|
27
|
+
3. **Migration Strategy**:
|
|
28
|
+
- **Grid & Layout**: Convert Bootstrap grids (`container`, `row`, `col-*`) to Tailwind flexbox (`flex`, `flex-col`, `gap-*`) or CSS Grid (`grid`, `grid-cols-*`).
|
|
29
|
+
- **Spacing & Typography**: Map Bootstrap spacing (`m-3`, `p-4`) to Tailwind spacing (`m-4`, `p-6`—noting scale differences). Map typography utilities (`text-center`, `font-weight-bold`) to Tailwind equivalents (`text-center`, `font-bold`).
|
|
30
|
+
- **Colors**: Update Bootstrap semantic colors (`primary`, `success`, `danger`) to Tailwind color palettes (e.g., `blue-600`, `green-500`, `red-500`) or define custom themes in CSS variables for Tailwind v4.
|
|
31
|
+
- **Components**: Rebuild Bootstrap components (cards, buttons, alerts, navbars) using Tailwind utility classes to match or improve the original design.
|
|
32
|
+
4. **Interactivity with Alpine.js**:
|
|
33
|
+
- Remove jQuery and Bootstrap JS dependencies.
|
|
34
|
+
- Replace interactive Bootstrap components with Alpine.js data and directives.
|
|
35
|
+
- **Dropdowns**: Use `x-data="{ open: false }"` and `@click="open = !open"`.
|
|
36
|
+
- **Modals**: Use Alpine.js to manage the open state and handle background overlays and click-away events (`@click.outside`).
|
|
37
|
+
- **Tabs**: Manage active tab state with `x-data="{ tab: 'home' }"`.
|
|
38
|
+
5. **UI/UX Modernization & Skill Integration**:
|
|
39
|
+
- Do NOT just do a 1:1 translation of Bootstrap classes. The goal is to elevate the design.
|
|
40
|
+
- You MUST orchestrate and apply guidelines from other UI/UX skills (`ui_ux_expert`, `ui-ux-pro-max`, and `hig`).
|
|
41
|
+
- Implement Human Interface Guidelines (HIG) principles: Hierarchy, Harmony, and Consistency.
|
|
42
|
+
- Use vibrant colors, smooth micro-animations, glassmorphism (if appropriate), and modern typography to "WOW" the user.
|
|
43
|
+
6. **Quality Assurance**:
|
|
44
|
+
- Verify that responsive design behaves correctly across breakpoints (`sm:`, `md:`, `lg:`).
|
|
45
|
+
- Ensure interactive components (modals, dropdowns) feel premium with Alpine.js transitions (`x-transition`).
|
|
46
|
+
|
|
47
|
+
### Trigger Conditions
|
|
48
|
+
Active whenever the user asks to migrate, refactor, or update a Bootstrap project to Tailwind CSS, or modernize legacy CSS/JS.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
<a name="bahasa-indonesia"></a>
|
|
53
|
+
## Bahasa Indonesia
|
|
54
|
+
|
|
55
|
+
### Deskripsi
|
|
56
|
+
Skill ini mengubah aplikasi web lama yang di-style dengan Bootstrap (baik yang bergantung pada jQuery maupun murni CSS) menjadi arsitektur modern berbasis utility menggunakan **Tailwind CSS v4** untuk styling dan **Alpine.js** untuk behavior reaktif yang ringan.
|
|
57
|
+
|
|
58
|
+
### Instruksi
|
|
59
|
+
1. **Analisis Struktur Lama**:
|
|
60
|
+
- Identifikasi versi Bootstrap yang digunakan.
|
|
61
|
+
- Temukan file CSS kustom yang menimpa (override) default Bootstrap.
|
|
62
|
+
- Identifikasi komponen interaktif (modal, dropdown, tooltip, tab, carousel) yang mengandalkan JavaScript Bootstrap atau jQuery.
|
|
63
|
+
2. **Setup Tools Modern**:
|
|
64
|
+
- Pastikan **Tailwind CSS v4** disiapkan dengan benar di proyek (misalnya, melalui CDN untuk proyek sederhana, atau PostCSS/Vite jika ada build step).
|
|
65
|
+
- Masukkan **Alpine.js** melalui CDN atau module bundler untuk menangani interaktivitas.
|
|
66
|
+
3. **Strategi Migrasi**:
|
|
67
|
+
- **Grid & Layout**: Ubah grid Bootstrap (`container`, `row`, `col-*`) menjadi flexbox Tailwind (`flex`, `flex-col`, `gap-*`) atau CSS Grid (`grid`, `grid-cols-*`).
|
|
68
|
+
- **Spacing & Tipografi**: Petakan spasi Bootstrap (`m-3`, `p-4`) ke Tailwind (`m-4`, `p-6`—perhatikan perbedaan skala). Petakan utilitas teks (`text-center`, `font-weight-bold`) ke padanan Tailwind (`text-center`, `font-bold`).
|
|
69
|
+
- **Warna**: Perbarui warna semantik Bootstrap (`primary`, `success`, `danger`) ke palet warna Tailwind (misal: `blue-600`, `green-500`, `red-500`) atau definisikan tema kustom di variabel CSS untuk Tailwind v4.
|
|
70
|
+
- **Komponen**: Bangun ulang komponen Bootstrap (card, button, alert, navbar) menggunakan kelas utilitas Tailwind untuk mencocokkan atau memperbaiki desain aslinya.
|
|
71
|
+
4. **Interaktivitas dengan Alpine.js**:
|
|
72
|
+
- Hapus dependensi jQuery dan Bootstrap JS.
|
|
73
|
+
- Ganti komponen interaktif Bootstrap dengan data dan direktif Alpine.js.
|
|
74
|
+
- **Dropdown**: Gunakan `x-data="{ open: false }"` dan `@click="open = !open"`.
|
|
75
|
+
- **Modal**: Gunakan Alpine.js untuk mengelola state terbuka, overlay latar belakang, dan event klik di luar (`@click.outside`).
|
|
76
|
+
- **Tab**: Kelola state tab aktif dengan `x-data="{ tab: 'home' }"`.
|
|
77
|
+
5. **Modernisasi UI/UX & Integrasi Skill**:
|
|
78
|
+
- JANGAN hanya menerjemahkan kelas Bootstrap 1:1. Tujuannya adalah meningkatkan kualitas desain.
|
|
79
|
+
- Anda WAJIB mengorkestrasi dan menerapkan pedoman dari skill UI/UX lainnya (`ui_ux_expert`, `ui-ux-pro-max`, dan `hig`).
|
|
80
|
+
- Terapkan prinsip Human Interface Guidelines (HIG): Hierarchy, Harmony, dan Consistency.
|
|
81
|
+
- Gunakan warna cerah, mikro-animasi halus, glassmorphism (jika sesuai), dan tipografi modern untuk memberikan kesan "WOW" pada pengguna.
|
|
82
|
+
6. **Quality Assurance**:
|
|
83
|
+
- Verifikasi bahwa desain responsif berfungsi dengan benar di semua breakpoint (`sm:`, `md:`, `lg:`).
|
|
84
|
+
- Pastikan komponen interaktif (modal, dropdown) terasa premium dengan transisi Alpine.js (`x-transition`).
|
|
85
|
+
|
|
86
|
+
### Kondisi Pemicu
|
|
87
|
+
Aktif setiap kali pengguna meminta untuk memigrasi, merefaktor, atau memperbarui proyek Bootstrap ke Tailwind CSS, atau memodernisasi CSS/JS lama.
|
|
88
|
+
|
|
6
89
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[English](#english) | [Bahasa Indonesia](#bahasa-indonesia)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
<a name="english"></a>
|
|
14
|
-
## English
|
|
15
|
-
|
|
16
|
-
### Description
|
|
17
|
-
This skill transforms legacy web applications styled with Bootstrap (jQuery-dependent or pure CSS) into a modern, utility-first architecture using **Tailwind CSS v4** for styling and **Alpine.js** for lightweight reactive behavior.
|
|
18
|
-
|
|
19
|
-
### Instructions
|
|
20
|
-
1. **Analyze the Legacy Structure**:
|
|
21
|
-
- Identify the version of Bootstrap being used.
|
|
22
|
-
- Locate custom CSS files that override Bootstrap defaults.
|
|
23
|
-
- Identify interactive components (modals, dropdowns, tooltips, tabs, carousels) that rely on Bootstrap's JavaScript or jQuery.
|
|
24
|
-
2. **Setup Modern Tools**:
|
|
25
|
-
- Ensure **Tailwind CSS v4** is properly set up in the project (e.g., via CDN for simple projects, or PostCSS/Vite for build steps).
|
|
26
|
-
- Inject **Alpine.js** via CDN or module bundler to handle interactivity.
|
|
27
|
-
3. **Migration Strategy**:
|
|
28
|
-
- **Grid & Layout**: Convert Bootstrap grids (`container`, `row`, `col-*`) to Tailwind flexbox (`flex`, `flex-col`, `gap-*`) or CSS Grid (`grid`, `grid-cols-*`).
|
|
29
|
-
- **Spacing & Typography**: Map Bootstrap spacing (`m-3`, `p-4`) to Tailwind spacing (`m-4`, `p-6`—noting scale differences). Map typography utilities (`text-center`, `font-weight-bold`) to Tailwind equivalents (`text-center`, `font-bold`).
|
|
30
|
-
- **Colors**: Update Bootstrap semantic colors (`primary`, `success`, `danger`) to Tailwind color palettes (e.g., `blue-600`, `green-500`, `red-500`) or define custom themes in CSS variables for Tailwind v4.
|
|
31
|
-
- **Components**: Rebuild Bootstrap components (cards, buttons, alerts, navbars) using Tailwind utility classes to match or improve the original design.
|
|
32
|
-
4. **Interactivity with Alpine.js**:
|
|
33
|
-
- Remove jQuery and Bootstrap JS dependencies.
|
|
34
|
-
- Replace interactive Bootstrap components with Alpine.js data and directives.
|
|
35
|
-
- **Dropdowns**: Use `x-data="{ open: false }"` and `@click="open = !open"`.
|
|
36
|
-
- **Modals**: Use Alpine.js to manage the open state and handle background overlays and click-away events (`@click.outside`).
|
|
37
|
-
- **Tabs**: Manage active tab state with `x-data="{ tab: 'home' }"`.
|
|
38
|
-
5. **UI/UX Modernization & Skill Integration**:
|
|
39
|
-
- Do NOT just do a 1:1 translation of Bootstrap classes. The goal is to elevate the design.
|
|
40
|
-
- You MUST orchestrate and apply guidelines from other UI/UX skills (`ui_ux_expert`, `ui-ux-pro-max`, and `hig`).
|
|
41
|
-
- Implement Human Interface Guidelines (HIG) principles: Hierarchy, Harmony, and Consistency.
|
|
42
|
-
- Use vibrant colors, smooth micro-animations, glassmorphism (if appropriate), and modern typography to "WOW" the user.
|
|
43
|
-
6. **Quality Assurance**:
|
|
44
|
-
- Verify that responsive design behaves correctly across breakpoints (`sm:`, `md:`, `lg:`).
|
|
45
|
-
- Ensure interactive components (modals, dropdowns) feel premium with Alpine.js transitions (`x-transition`).
|
|
46
|
-
|
|
47
|
-
### Trigger Conditions
|
|
48
|
-
Active whenever the user asks to migrate, refactor, or update a Bootstrap project to Tailwind CSS, or modernize legacy CSS/JS.
|
|
49
|
-
|
|
50
|
-
---
|
|
51
|
-
|
|
52
|
-
<a name="bahasa-indonesia"></a>
|
|
53
|
-
## Bahasa Indonesia
|
|
54
|
-
|
|
55
|
-
### Deskripsi
|
|
56
|
-
Skill ini mengubah aplikasi web lama yang di-style dengan Bootstrap (baik yang bergantung pada jQuery maupun murni CSS) menjadi arsitektur modern berbasis utility menggunakan **Tailwind CSS v4** untuk styling dan **Alpine.js** untuk behavior reaktif yang ringan.
|
|
57
|
-
|
|
58
|
-
### Instruksi
|
|
59
|
-
1. **Analisis Struktur Lama**:
|
|
60
|
-
- Identifikasi versi Bootstrap yang digunakan.
|
|
61
|
-
- Temukan file CSS kustom yang menimpa (override) default Bootstrap.
|
|
62
|
-
- Identifikasi komponen interaktif (modal, dropdown, tooltip, tab, carousel) yang mengandalkan JavaScript Bootstrap atau jQuery.
|
|
63
|
-
2. **Setup Tools Modern**:
|
|
64
|
-
- Pastikan **Tailwind CSS v4** disiapkan dengan benar di proyek (misalnya, melalui CDN untuk proyek sederhana, atau PostCSS/Vite jika ada build step).
|
|
65
|
-
- Masukkan **Alpine.js** melalui CDN atau module bundler untuk menangani interaktivitas.
|
|
66
|
-
3. **Strategi Migrasi**:
|
|
67
|
-
- **Grid & Layout**: Ubah grid Bootstrap (`container`, `row`, `col-*`) menjadi flexbox Tailwind (`flex`, `flex-col`, `gap-*`) atau CSS Grid (`grid`, `grid-cols-*`).
|
|
68
|
-
- **Spacing & Tipografi**: Petakan spasi Bootstrap (`m-3`, `p-4`) ke Tailwind (`m-4`, `p-6`—perhatikan perbedaan skala). Petakan utilitas teks (`text-center`, `font-weight-bold`) ke padanan Tailwind (`text-center`, `font-bold`).
|
|
69
|
-
- **Warna**: Perbarui warna semantik Bootstrap (`primary`, `success`, `danger`) ke palet warna Tailwind (misal: `blue-600`, `green-500`, `red-500`) atau definisikan tema kustom di variabel CSS untuk Tailwind v4.
|
|
70
|
-
- **Komponen**: Bangun ulang komponen Bootstrap (card, button, alert, navbar) menggunakan kelas utilitas Tailwind untuk mencocokkan atau memperbaiki desain aslinya.
|
|
71
|
-
4. **Interaktivitas dengan Alpine.js**:
|
|
72
|
-
- Hapus dependensi jQuery dan Bootstrap JS.
|
|
73
|
-
- Ganti komponen interaktif Bootstrap dengan data dan direktif Alpine.js.
|
|
74
|
-
- **Dropdown**: Gunakan `x-data="{ open: false }"` dan `@click="open = !open"`.
|
|
75
|
-
- **Modal**: Gunakan Alpine.js untuk mengelola state terbuka, overlay latar belakang, dan event klik di luar (`@click.outside`).
|
|
76
|
-
- **Tab**: Kelola state tab aktif dengan `x-data="{ tab: 'home' }"`.
|
|
77
|
-
5. **Modernisasi UI/UX & Integrasi Skill**:
|
|
78
|
-
- JANGAN hanya menerjemahkan kelas Bootstrap 1:1. Tujuannya adalah meningkatkan kualitas desain.
|
|
79
|
-
- Anda WAJIB mengorkestrasi dan menerapkan pedoman dari skill UI/UX lainnya (`ui_ux_expert`, `ui-ux-pro-max`, dan `hig`).
|
|
80
|
-
- Terapkan prinsip Human Interface Guidelines (HIG): Hierarchy, Harmony, dan Consistency.
|
|
81
|
-
- Gunakan warna cerah, mikro-animasi halus, glassmorphism (jika sesuai), dan tipografi modern untuk memberikan kesan "WOW" pada pengguna.
|
|
82
|
-
6. **Quality Assurance**:
|
|
83
|
-
- Verifikasi bahwa desain responsif berfungsi dengan benar di semua breakpoint (`sm:`, `md:`, `lg:`).
|
|
84
|
-
- Pastikan komponen interaktif (modal, dropdown) terasa premium dengan transisi Alpine.js (`x-transition`).
|
|
85
|
-
|
|
86
|
-
### Kondisi Pemicu
|
|
87
|
-
Aktif setiap kali pengguna meminta untuk memigrasi, merefaktor, atau memperbarui proyek Bootstrap ke Tailwind CSS, atau memodernisasi CSS/JS lama.
|
|
90
|
+
## Orchestration & Integration
|
|
91
|
+
- Integrates with: `ui_ux_expert`, `ui-ux-pro-max`, `hig`.
|