Skip to content

Instantly share code, notes, and snippets.

View leifermendez's full-sized avatar
👋
Focusing

Leifer Mendez leifermendez

👋
Focusing
View GitHub Profile
@leifermendez
leifermendez / prompt-bbc-mcp-tool.txt
Created April 2, 2026 17:01
prompt-bbc-mcp-tool.txt
/bbc-mcp-tool
MCP_TOOL:bbc-mcp-tool
NEGOCIO=Real Coffee - Brunch en Chamberí Madrid
SKILL(skill_search)=bbc-skill-tool,bbc-verticals,bbc-advanced-patterns WEBSITE=https://realcoffeemadrid.es/
Objetivo Crear un chatbot funcional que cumpla con las directrices del skill
TO-DO:
[ ] Leer skill y revisar violaciones/reglas
[ ] Buscar en el website información para ayudar al bot
[ ] Atender clientes
[ ] Tomar pedidos
@leifermendez
leifermendez / icon-claw.yml
Created April 1, 2026 18:30
icon-claw.yml
services:
# ─── IronClaw Agent Gateway ────────────────────────────────────────────────
# Multi-tenant agent runtime. Each BuilderBot user gets an isolated tenant
# provisioned via POST /api/admin/users (Admin API on the gateway port).
ironclaw:
image: nearaidev/ironclaw-nearai-worker:dev
container_name: ironclaw
environment:
RUST_LOG: info
@leifermendez
leifermendez / open-fast.sh
Created March 8, 2026 20:24
open-fast.sh
#!/bin/bash
set -e
echo "🚀 Updating system"
sudo apt-get update -y
sudo apt-get upgrade -y
echo "🚀 Installing Node 22"
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash -
@leifermendez
leifermendez / sdk-theme.html
Created February 23, 2026 22:01
sdk custom builderbot
<script
src="https://cdn.builderbot.cloud/sdk.umd.js"
data-builderbot-chat
data-company="Racks"
data-id="4b7786b1-a01b-427a-9e36-1e2ef762ac45"
data-avatar-initials="RU"
data-theme-config='{"colors":{"primary":"#F59E0B","accent":"#F59E0B","sendButton":"#F59E0B","sendButtonHover":"#FF8A00","text":"#F2F2F2","textSecondary":"#A6ADB8","background":"#1E1F22","backgroundChat":"#24272B","userMessageBg":"rgba(245,158,11,0.15)","userMessageText":"#F59E0B","agentMessageBg":"#2A2E33","agentMessageText":"#F2F2F2","border":"#32363C","hover":"rgba(245,158,11,0.12)","timestamp":"#6B7280","icon":"#A6ADB8","inputBackground":"#202225","inputPlaceholder":"#6B7280"},"spacing":{"borderRadius":"0px","messageBorderRadius":"6px"}}'
data-faq='["Pregunta 1", "Pregunta 2"]'
></script>
@leifermendez
leifermendez / Prompts.txt
Created January 16, 2026 17:34
Prompts.txt
# 1 Prompt Generar Pagina/Board
Guide for implementing a Kanban board for interviews in React
Provide a detailed guide for a junior programmer to create a new page in React to display a Kanban board that visualizes the interview flow for a specific position. Use data obtained from a local API.
# Context
To implement this, follow these steps to guide you in creating a fully functional Kanban board page for visualizing interviews:
@leifermendez
leifermendez / docker-compose.yml
Last active November 18, 2025 13:36
docker-compose.yml front + back
version: '3.8'
services:
# Traefik Reverse Proxy
traefik:
image: traefik:v3.0
container_name: traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
@leifermendez
leifermendez / playwright-test.mdc
Created October 1, 2025 08:15
playwright-test.mdc
---
description: "QA end-to-end con Playwright MCP: descubrimiento de rutas Next, verificación de API (Postman), plan de navegación, cobertura UI/UX, red y reporte con evidencias"
globs:
alwaysApply: false
---
**Act as a Senior QA Tester specialized in _Playwright MCP_ and UI/UX auditing.**
**Goal:** Validar el flujo **[FLOW_NAME]** de extremo a extremo con **Playwright MCP**, ejecutando una **fase previa de descubrimiento** (rutas Next + API Postman), un **plan de navegación** con pasos deterministas y **aserciones estrictas**. Generar evidencias completas y un reporte final.
@leifermendez
leifermendez / golden_mine.txt
Created September 18, 2025 10:34
golden_mine.txt
Your mission:
You are a business strategy and market segmentation expert tasked with generating a list of markets, categories, niches or subniches across three core markets: Health, Wealth, and Relationships. For each core market, you will identify relevant subcategories and break them down into detailed sub-niches.
How to respond based on the user's prompt
If the user asks for random ideas, generate potential categories, subcategories, niches and sub-niches across all three markets (Health, Wealth, and Relationships).
If the user asks you to focus on a specific subcategory, ONLY generate the submarkets under that subcategory within its corresponding core market.
For example:
If the user asks you to focus on "alternative medicine", Start with "alternative medicine" (subcategory within the Health market) as the first step in the hierarchy of your ouput and only provide subcategories underneath this one. Do not mention Wealth or Relationships in this case.
@leifermendez
leifermendez / staff-engineer.mdc
Created September 8, 2025 08:09
staff-engineer.mdc
---
description:
globs:
alwaysApply: false
---
Actúa como un Staff Software Engineer (mentor técnico) cuya misión es guiar a un Frontend Developer para conectar, de forma ordenada y segura, los módulos de una app en Next.js (TypeScript) con un backend documentado en Postman. Tu salida debe ser un plan ejecutable y detallado para **un solo módulo por fase**: primero auditar el mock existente, luego mapear contra la documentación de Postman y finalmente reemplazar el mock por la implementación real con control de errores y reporte.
🎯 Objetivo
Sustituir mocks por integraciones reales **módulo a módulo**, garantizando contratos estables (tipos/validaciones), manejo de errores y una documentación final `report-<modulo>.md`.
@leifermendez
leifermendez / demo.txt
Last active August 6, 2025 10:33
demo.txt
version: '3.9'
services:
traefik:
image: traefik:v3.0
container_name: traefik
command:
- --providers.docker=true
- --providers.docker.exposedbydefault=false
# Entrypoints