Command Palette

Search for a command to run...

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

lov-xbti-creator

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

Create a complete custom BTI personality test (like LBTI, FBTI, etc.) based on the XBTI architecture. User provides a theme name and preferences, AI generates…

lovstudioот lovstudio★ 72 звезды на GitHub

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

XBTI 工坊 · XBTI Studio

Generate a complete, deployable BTI personality test website from a theme and preferences. Based on the proven XBTI architecture (React + Vite), with AI-generated content.

When to Use

  • User wants to create a themed personality test (e.g., LBTI for lobsters, FBTI for founders)
  • User says "创建一个XX人格测试" or "make a custom BTI"

Workflow (MANDATORY)

Step 1: Collect Theme Info

Use AskUserQuestion to gather:

Field Example Required
BTI名称 LBTI Yes
主题 龙虾的人格分析 Yes
风格偏好 幽默毒舌 / 温暖治愈 / 学术严肃 Yes
人格数量 16-25(默认20) No
特殊彩蛋人格 有/无(默认有) No
项目目录 默认 ~/projects/{NAME} No
提交到 Gallery 是/否(默认否)— 提交到 xbti.example.com 供他人体验 No

Step 2: Environment Setup

After collecting user input, silently check and auto-fix the environment:

# 1. Node.js (required)
node --version  # Need 18+

# 2. Detect package manager
command -v pnpm && echo "USE_PM=pnpm" || command -v bun && echo "USE_PM=bun" || echo "USE_PM=npm"

# 3. git
git --version

# 4. image-creator skill
npx lovstudio skills add image-creator -g -y

# 5. Zenmux API key
[ -n "$ZENMUX_API_KEY" ] && echo "OK" || echo "MISSING"

# 6. Python deps
python3 -c "import google.genai; from PIL import Image" 2>/dev/null && echo "OK" || echo "MISSING"

Auto-fix (no user interaction needed for these):

  • lov-image-creator missing →
    npx lovstudio skills add image-creator -g -y
    
  • Python deps missing →
    pip install google-genai Pillow --break-system-packages 2>/dev/null || pip3 install google-genai Pillow
    

Require user input only if truly blocked:

Do NOT proceed to Step 3 until environment is fully ready.

Step 3: Design Dimension System

Based on the theme, design 5 维度模型, each with 3 子维度 = 15 dimensions total.

Rules:

  • Dimension names must be thematic (e.g., for lobster BTI: "钳力模型", "深海适应模型")
  • Each sub-dimension measures a distinct aspect on a L/M/H scale
  • Keep dimension IDs short: D1-D15 or thematic prefixes (C1, C2, C3, S1, S2, S3...)
  • Write L/M/H explanations for each dimension (one-line, matching the BTI's tone)

Output: src/data/dimensions.js — see references/xbti-data-format.md for exact format.

Step 4: Generate Questions

Generate 30 questions (2 per dimension), each with 3 options (value 1, 2, 3).

Rules:

  • Questions must match the theme and tone
  • Option values: 1 = low on that dimension, 2 = medium, 3 = high
  • Mix question styles: direct statements, scenarios, hypotheticals
  • Include 1-2 memorable/funny questions per model for engagement
  • Optionally: add 1-2 special trigger questions for a hidden personality type

Output: src/data/questions.js

Step 5: Design Personality Types

Generate 16-25 personality types, each with:

Field Description
code 4-6 char English code (creative, memorable)
cn 2-3 char Chinese name
pattern 15-char L/M/H pattern matching the dimension system
intro One-line tagline (catchy, in-character)
desc 200-400 char personality description (match chosen tone)

Rules:

  • Codes should be thematic and creative (not generic like TYPE-A)
  • Patterns must cover the L/M/H space well — avoid clustering
  • Include 1 fallback type (for < 60% match) and optionally 1 hidden type
  • Descriptions should be entertaining and shareable — this is what goes viral

Output: src/data/types.js

Step 6: Scaffold the Project

Clone the XBTI template from GitHub and clean up:

git clone https://example.com/skills/XBTI.git {TARGET_DIR}
cd {TARGET_DIR}

# Remove origin-specific files, keep the engine
rm -rf .git .vercel image/* CHANGELOG.md docs/
mkdir -p image
git init

# Fix packageManager field for user's environment
# If user uses npm: remove the packageManager field entirely
# If user uses bun: change to bun
# If user uses pnpm: keep as-is

packageManager handling (important for portability):

  • The cloned package.json has "packageManager": "[email protected]"
  • If user doesn't use pnpm, remove this field to avoid errors
  • Then run {PM} install with whatever package manager the user has

Then overwrite the data files with generated content:

  • src/data/dimensions.js
  • src/data/questions.js
  • src/data/types.js

Update branding in:

  • index.html — title, meta tags
  • src/components/IntroScreen.jsx — hero title, subtitle, attribution
  • src/index.css — theme colors (optional, ask user)
  • package.json — name, description, remove packageManager if needed

Keep src/logic/scoring.js as-is — the algorithm is universal. Only update import paths if dimension IDs changed.

S

Полный SKILL.md на GitHub

Установить lov-xbti-creator в Claude Code и Claude Desktop

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

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

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

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

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

Bash
Read
Write
Edit
Glob
Grep
AskUserQuestion

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

CHANGELOG.mdREADME.mdreferences/xbti-data-format.mdskill.yaml

FAQ

Что делает скилл lov-xbti-creator?

Create a complete custom BTI personality test (like LBTI, FBTI, etc.) based on the XBTI architecture. User provides a theme name and preferences, AI generates all content: dimensions, questions, personality types, descriptions, and avatar images via lov-image-creator. Trigger when user says "创建BTI", "自定义人格测试", "make a BTI", "custom personality test", "XBTI变体", "xbti-creator", or mentions creating something like LBTI/FBTI/etc.

Как установить скилл lov-xbti-creator?

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

Скилл lov-xbti-creator запускает скрипты?

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

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

Сравнить lov-xbti-creator с