AGENT SKILL

start-palafito

Úsalo cuando el usuario quiere arrancar el stack palafito-prod (Paperclip) y, si hace falta, levantar Docker Desktop antes.

使用场景运维与部署
License 许可
AGPL-3.0
所属仓库
Wizarck/nexandro
最近更新
2026-09-25
Stars
★ 2
Forks
1

01 前言 Front Matter

name
start-palafito
model
sonnet
context
fork
description
Úsalo cuando el usuario quiere arrancar el stack palafito-prod (Paperclip) y, si hace falta, levantar Docker Desktop antes.
allowed-tools
Bash

03 SKILL.md 正文

Start Palafito

Levanta el servicio Paperclip de Palafito en Docker.

Workflow

1. Verificar si Docker Desktop está corriendo

docker info > /dev/null 2>&1
  • Si devuelve código 0 → Docker daemon activo → saltar al paso 3
  • Si falla → el daemon no está listo → paso 2

2. Arrancar Docker Desktop

# Arrancar Docker Desktop en Windows
powershell.exe -Command "Start-Process 'C:\\Program Files\\Docker\\Docker\\Docker Desktop.exe'"

Esperar a que el daemon responda (poll con docker info):

for i in $(seq 1 30); do
  docker info > /dev/null 2>&1 && break
  echo "Esperando Docker daemon... ($i/30)"
  sleep 5
done

docker info > /dev/null 2>&1 || { echo "ERROR: Docker Desktop no arrancó en 150s"; exit 1; }

3. Levantar el compose de palafito-prod

cd /c/palafito-prod && docker compose up -d

Si el init container (palafito-paperclip-init) ya está en estado exited con código 0 de una ejecución anterior, Docker Compose lo reconoce como completado y no lo relanza — esto es correcto.

4. Verificar salud

Esperar hasta que el healthcheck pase (máx 120s):

for i in $(seq 1 24); do
  STATUS=$(docker inspect --format='{{.State.Health.Status}}' palafito-paperclip 2>/dev/null)
  echo "Health: $STATUS ($i/24)"
  [ "$STATUS" = "healthy" ] && break
  sleep 5
done

STATUS=$(docker inspect --format='{{.State.Health.Status}}' palafito-paperclip 2>/dev/null)
if [ "$STATUS" = "healthy" ]; then
  echo ""
  echo "✓ Paperclip Palafito corriendo en http://localhost:3101"
else
  echo ""
  echo "⚠ El contenedor no alcanzó estado healthy en 120s. Estado actual: $STATUS"
  echo "Logs recientes:"
  docker logs --tail 20 palafito-paperclip
fi

5. Reportar estado final

Mostrar:

  • URL: http://localhost:3101
  • Estado del contenedor (docker ps --filter name=palafito-paperclip)
  • Si es la primera vez (volumen vacío), recordar que hay que crear la cuenta admin en la UI

Notas

  • El directorio del compose es siempre C:\palafito-prod\ (/c/palafito-prod/ en bash)
  • Los datos persisten en el volumen Docker palafito-paperclip-data — no se pierden al reiniciar
  • La cuenta de admin solo se crea una vez; después de eso el login funciona con las credenciales guardadas
  • Para parar: docker compose -f /c/palafito-prod/docker-compose.yml down

04 同仓库更多 Skills

Wizarck
Wizarck/nexandro

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file; create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files into proper spreadsheets.

行政与办公人员电子表格
★ 2
Wizarck
Wizarck/nexandro

use-case-research

Creates JTBD-aligned Use Cases CSVs through structured user interviews, parallel vendor/industry research, and Jobs-to-be-Done synthesis. Generates 17-column CSV (OFFER-001 format) and validates with /qa-use-cases. Use when creating or updating use case research for an offering.

资料检索与研究Skill与智能体开发
★ 2
Wizarck
Wizarck/nexandro

sync-jira

Two-way sync between PROGRESS.md pipeline status and JIRA CIT tasks. Use when syncing offering progress with JIRA, checking JIRA status, bootstrapping JIRA tasks for new offerings, or pushing/pulling status updates. Also use when the user mentions JIRA, CIT tasks, or pipeline sync.

Skill与智能体开发
★ 2
Wizarck
Wizarck/nexandro

strategy

Tunes business strategy and aligns with corporate ABC Goals. Use when working on 01_BS/ business strategy files.

Skill与智能体开发
★ 2
Wizarck
Wizarck/nexandro

start

Starts the full MCP stack: LiteLLM proxy + Docker services (Hindsight, Atlassian, Google Workspace) + skills-manager + notebooklm. All services connect directly — no proxy. Use /start at the beginning of any session where MCP tools are needed, or when any service is stopped. LiteLLM must start before Docker — Hindsight depends on it at startup.

运维与部署Skill与智能体开发
★ 2
Wizarck
Wizarck/nexandro

skill-creator

Creates new skills, modifies existing skills, and optimizes skill descriptions for better triggering accuracy. Adapted from Anthropic's official skill-creator. Use when creating a skill from scratch, editing or improving an existing skill, or optimizing a skill's description. Also use when /qa-improve identifies that a skill needs structural changes, new skills are needed, or descriptions need optimization.

Skill与智能体开发
★ 2