/syarif-laravel-ai-skills:integrate-whatsapp-baileys-laravelfrom syarif-laravel-ai-skills
Integrates WhatsApp via a secure Baileys Node.js sidecar with Laravel, covering tests and deployment docs for Windows and Linux VPS.
Ships in syarif-laravel-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build Baileys as a private Node.js sidecar and keep Laravel as the application, authorization, queue, and user-facing boundary.
Read both references before changing the target project:
Derive scope from the request. A normal outbound integration needs:
Do not add inbound message handling, media, groups, bulk messaging, chat storage, multi-session tenancy, webhooks, or a new admin UI unless requested or already required by project behavior.
Use this default boundary:
authorized browser or application workflow
-> Laravel
-> private authenticated HTTP API
-> Node.js Baileys sidecar
-> WhatsApp Web socket
Keep the sidecar on the same host or a private network. Bind to loopback by default. Never point a public reverse proxy directly at it.
Before implementation, define:
Create or adapt a focused service such as services/baileys/. Keep socket state and HTTP transport separated when that materially improves testing; do not create ceremonial layers.
Require the sidecar to provide:
.env.example;Treat file-based multi-file auth as development/demo storage. Follow the production decision rules in the architecture reference.
Use Laravel-native configuration and HTTP APIs:
.env.example;Preserve existing project conventions for routes, responses, translations, admin UI, and tests.
Run the smallest meaningful set supported by the project:
Http::fake() for success, validation failure, unauthorized access, sidecar unavailability, and provider rejection.Do not claim an end-to-end WhatsApp send was verified unless a real test account was paired and the result was observed. Report skipped checks and why.
After implementation and verification, create or update docs/BAILEYS_SETUP.md in the target Laravel project. If the project already has a canonical WhatsApp setup document, update that file instead and report the chosen path.
The document must be project-specific, safe to commit, and contain complete local Windows and Linux VPS instructions. Use the required outline and completion rules in the deployment reference. Never place real tokens, session data, phone numbers, domains, usernames, or private paths in it.
Report:
State clearly that Baileys is unofficial and is not affiliated with Meta or WhatsApp. Do not imply guaranteed delivery, protocol stability, or freedom from account restrictions.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (soden46/syarif-laravel-ai-skills) — no native marketplace selected
npx claudepluginhub p/soden46-syarif-laravel-ai-skills72 skills in this plugin
/actions-and-servicesUse Actions and Services as deliberate Laravel application boundaries for use cases, integrations, and reusable workflows./ai-sdkBuild AI features with the first-party Laravel AI SDK (Laravel 13+); agents, embeddings, images, audio, and tool calling with provider-agnostic APIs/api-resources-and-paginationLaravel guidance to use API Resources with pagination and conditional fields; keep response shapes stable and cache-friendly