$askskill.ai
← Back
$ ~/registry/skill/microsoft-rapp-ai-claude-skills-generate-demo
SKILL

generate-demo

Stars
★ 10
Source
GitHub
Updated
2026-11-22
// securityLow risk
  • Prompt only, no code
  • Open source
Static rule checks from public metadata; run an AI deep audit on demand.
// install

Copy the install command and let the AI configure it · recommended for beginners

Please install the "generate-demo" skill from askskill:
1. Download https://raw.githubusercontent.com/microsoft/aibast-agents-library/main/rapp_ai/.claude/skills/generate-demo/SKILL.md
2. Save it as ~/.claude/skills/generate-demo/SKILL.md
3. Reload skills and tell me it's ready
// download

// docs

Generate Demo Skill

Generate realistic static demo endpoints for simulating APIs like CRM, support tickets, etc.

Usage

/generate-demo <scenario> [description]

Examples:

/generate-demo crm
/generate-demo crm "enterprise software sales with 5 active deals"
/generate-demo support "IT helpdesk with mixed priority tickets"
/generate-demo inventory "warehouse with low stock alerts"

Supported Scenarios

ScenarioDescription
crmSales CRM with deals, contacts, pipeline stages
supportHelp desk with tickets, priorities, agents
inventoryProduct inventory with stock levels
calendarMeeting scheduler with appointments
customDescribe your own scenario

Execution

Step 1: Parse Input

scenario = first argument (crm, support, inventory, calendar, custom)
description = remaining text (optional context for generation)

Step 2: Generate Demo Data

Based on scenario type, generate realistic JSON data:

CRM Schema:

{
  "assistant_response": "## Your Sales Pipeline\n\n| Deal | Company | Value | Stage | Close Date |\n|------|---------|-------|-------|------------|\n...",
  "voice_response": "You have X active deals worth $Y total.",
  "agent_logs": "[Demo Mode] CRM Agent - Retrieved pipeline data",
  "user_guid": "demo-user-crm",
  "mode": "demo",
  "data": {
    "deals": [
      {
        "id": "deal_001",
        "name": "Enterprise License",
        "company": "Acme Corp",
        "value": 50000,
        "stage": "negotiation",
        "probability": 75,
        "close_date": "2025-02-15",
        "contact": "Jane Smith",
        "notes": "Final pricing review scheduled"
      }
    ],
    "summary": {
      "total_deals": 5,
      "total_value": 185000,
      "weighted_value": 125000,
      "stages": {
        "prospecting": 1,
        "qualification": 1,
        "proposal": 1,
        "negotiation": 2
      }
    }
  }
}

Support Schema:

{
  "assistant_response": "## Open Tickets\n\n| ID | Subject | Priority | Status | Assigned |\n|----|---------|----------|--------|----------|\n...",
  "voice_response": "You have X open tickets, Y are high priority.",
  "agent_logs": "[Demo Mode] Support Agent - Retrieved ticket queue",
  "user_guid": "demo-user-support",
  "mode": "demo",
  "data": {
    "tickets": [
      {
        "id": "TKT-1234",
        "subject": "Login issue after password reset",
        "priority": "high",
        "status": "open",
        "created": "2025-01-30T10:30:00Z",
        "customer": "john.doe@company.com",
        "assigned_to": "Agent Sarah",
        "category": "authentication"
      }
    ],
    "summary": {
      "total_open": 12,
      "high_priority": 3,
      "avg_response_time": "2.5 hours"
    }
  }
}

Inventory Schema:

{
  "assistant_response": "## Inventory Status\n\n| SKU | Product | Stock | Status | Reorder |\n|-----|---------|-------|--------|----------|\n...",
  "voice_response": "X items are low on stock and need reordering.",
  "agent_logs": "[Demo Mode] Inventory Agent - Retrieved stock levels",
  "user_guid": "demo-user-inventory",
  "mode": "demo",
  "data": {
    "products": [
      {
        "sku": "WIDGET-001",
        "name": "Premium Widget",
        "stock": 15,
        "min_stock": 50,
        "status": "low",
        "reorder_qty": 100,
        "supplier": "WidgetCo",
        "last_restock": "2025-01-15"
      }
    ],
    "summary": {
      "total_products": 150,
      "low_stock": 8,
      "out_of_stock": 2
    }
  }
}

Step 3: Create Response Files

Generate multiple response files for the scenario:

api-demo/scenarios/<scenario>/
├── overview.json      # Dashboard/summary view
├── list.json          # List all items
├── detail.json        # Single item detail
├── create.json        # Response after creating item
├── update.json        # Response after updating item
└── search.json        # Search results

…

View full docs ↗

// from the same source