crear-cliente
Usar al crear un cliente para consumir una API externa (Home Assistant, Pi-hole, etc.)
npx skills add majiayu000/claude-skill-registry --skill crear-cliente --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Cuándo usar esta skill - Al integrar un nuevo servicio externo - Cuando se necesite un cliente HTTP reutilizable - Para encapsular lógica de autenticación de APIs ## Contexto necesario antes de empezar 1. Leer clientes existentes en `blueprints/` para ver patrones 2. Documentación de la API externa a consumir 3. Tipo de autenticación (Bearer token, API key, SID, etc.) ## Pasos ### 1. Crear archivo `blueprints/[servicio]_client.py` ```python """ Cliente para [Servicio] API """ import requests from flask import current_app class ServicioClient: """Cliente para API de [Servicio]""" def __init__(self, base_url, api_token=None, timeout=None): self.base_url = base_url.rstrip('/') self.api_token = api_token self.timeout = timeout or current_app.config.get('API_TIMEOUT', 15) self.headers = self._build_headers() def _build_headers(self): """Construir headers de autenticación""" headers = {'Content-Type': 'application/json'} if self.api_token: headers['Authorization'] = f'Bearer {self.api_token}' return headers def get_data(self): """Obtener datos principales""" try: url = f"{self.base_url}/api/endpoint" response = requests.get( url, headers=self.headers, timeout=self.timeout ) response.r
- Cuándo usar esta skill
- Contexto necesario antes de empezar
- Pasos
- 1. Crear archivo blueprints/[servicio]client.py
- 2. Añadir configuración en config.py
- 3. Documentar en .env y README
- 4. Importar en endpoint
- Ejemplos reales del proyecto
- Checklist de validación
What does the crear-cliente skill do?
Usar al crear un cliente para consumir una API externa (Home Assistant, Pi-hole, etc.)
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill crear-cliente --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
