Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

customer-support-builder

БесплатноБез исполняемых скриптовНе проверен

Guide users through building a custom customer support automation skill for their company. Walks through planning integrations, writing scripts for their…

nbashawот nbashaw★ 91 звезда на GitHub

Об этом скилле

Customer Support Skill Builder

Help users create a custom Claude Code skill for automating their customer support workflow.

Overview

This skill guides users through building a support automation system tailored to their company's tools (support platform, billing, database). The result is a working skill that can triage tickets, gather customer context, draft responses, and execute common support operations.

Important: Always Start with Discovery

When this skill is invoked, ALWAYS begin with discovery questions. Never assume their tech stack.

Step 1: Discovery - Understand Their Support Stack

Ask the user about their support infrastructure:

Required Questions:

  1. Support/Ticketing Platform: "What platform do you use for customer support?" (Zendesk, Intercom, HelpScout, Freshdesk, Front, etc.)
  2. Billing/Payment System: "What do you use for billing?" (Stripe, Chargebee, Paddle, etc.)
  3. Database Access: "Do you have access to your production database for customer lookups?" (PostgreSQL, MySQL, MongoDB, etc.)
  4. API Access: "Do you have API credentials for these platforms?"
  5. Other Tools: "Any other tools you frequently use for support?" (Analytics, feature flags, email service, etc.)

Present their answers back in a summary and confirm before proceeding.

Step 2: Set Up Project Structure

Create the skill directory structure in their repository:

mkdir -p support-automation/{scripts,references/common-responses}
touch support-automation/config.ts
touch support-automation/README.md

Create .claude/skills/support/skill.md if they want it as a Claude skill (recommended).

Files to create:

  • config.ts - Environment variable loading and shared configuration
  • README.md - Human-readable documentation
  • skill.md - Claude skill definition (if using as skill)
  • scripts/ - All automation scripts
  • references/common-responses/ - Response templates

Step 3: Plan Integration Scripts

Based on their stack, plan the scripts they'll need.

For ANY Support Platform (Zendesk, Intercom, HelpScout, etc.)

Core Scripts:

  1. list-open-tickets.ts - List all open/pending tickets with automatic pagination
  2. get-ticket.ts <ticket_id> - Fetch complete ticket/conversation details
  3. reply-to-ticket.ts <ticket_id> "<message>" - Send response to customer
  4. close-ticket.ts <ticket_id> - Mark ticket as resolved
  5. get-customer-context.ts <customer_email> - Unified view across all platforms

Optional but useful:

  • reopen-ticket.ts - Reopen closed tickets
  • search-tickets.ts - Search ticket history
  • list-saved-replies.ts - Get canned responses from platform

For Billing (Stripe, Chargebee, etc.)

Core Scripts:

  1. search-billing.ts <email> - Look up customer by email
  2. issue-refund.ts <charge_id> <amount> - Process refunds
  3. cancel-subscription.ts <subscription_id> - Cancel subscriptions

Optional:

  • create-coupon.ts - Generate discount codes
  • update-subscription.ts - Modify subscription

For Database Access

Core Script:

  1. query-db.ts [query] - Run read-only SQL queries
    • Support --tables to list all tables
    • Support --schema <table> to show table structure
    • Only allow SELECT, WITH, SHOW, EXPLAIN (read-only)

Setup Validation

Always create:

  • check-setup.ts - Validates all required environment variables exist

Step 4: Write the Configuration File

Create config.ts that loads environment variables:

import dotenv from 'dotenv';
import path from 'path';

// Load .env.local from the repository root
dotenv.config({ path: path.resolve(__dirname, '../.env.local') });

// Validate required environment variables
export function validateEnv(required: string[]) {
  const missing = required.filter(key => !process.env[key]);
  if (missing.length > 0) {
    console.error('Missing required environment variables:', missing);
    process.exit(1);
  }
}

Step 5: Create Helper Libraries

Based on their stack, create helper libraries in lib/ directory:

Example: HelpScout Helper (lib/helpscout.ts)

  • Authentication (OAuth or API key)
  • List conversations with pagination
  • Get conversation details
  • Reply to conversations
  • Update conversation status
  • Search customers

Example: Stripe Helper (lib/stripe.ts)

  • Search customers
  • Get subscription details
  • Issue refunds
  • Cancel subscriptions
  • Create coupons

Key principle: Wrap the platform APIs with clean TypeScript functions that the scripts can use.

Step 6: Build Core Scripts

For each planned script:

  1. Import configuration - Load env vars at the top
  2. Parse arguments - Use process.argv for CLI args
  3. Call helper functions - Use the lib/ helpers
  4. Output JSON - Always output structured JSON for Claude to parse
  5. Error handling - Catch errors and output error JSON

Example structure:

#!/usr/bin/env tsx
import '../config';
import { getTicket } f
Полный SKILL.md на GitHub

Установить customer-support-builder в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

GETTING_STARTED.md

FAQ

Что делает скилл customer-support-builder?

Guide users through building a custom customer support automation skill for their company. Walks through planning integrations, writing scripts for their support stack (Zendesk, HelpScout, Intercom, etc.), creating response templates, and setting up an automated triage workflow. Use when users want to create their own support automation.

Как установить скилл customer-support-builder?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл customer-support-builder запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить customer-support-builder с