SuperAPI AI Directory

lov-xbti-gallery

Testing & quality

View repository

Updated 10-16 06:24

About this skill

xbti-gallery — Browse Community BTI Tests

Open the XBTI Gallery and list all community-created BTI personality tests.

When to Use

  • User wants to browse existing BTI personality tests
  • User says "Open XBTI Gallery" or "show me BTI cases"
  • User wants to see what others have created before making their own

Workflow

Step 1: Open Gallery

If the user did not specify whether to open the web gallery or list repository cases, use AskUserQuestion to choose the mode. If they explicitly asked to open or list, proceed directly.

open https://example.com/community

Step 2: List Available Cases

Fetch and display all BTI variants from the repository:

gh api repos/skill-publisher/XBTI/contents/cases 2>/dev/null | python3 -c "
import json, sys
try:
    items = json.load(sys.stdin)
    if isinstance(items, list):
        for item in items:
            if item.get('type') == 'dir':
                print(f'  - {item[\"name\"]}')
    else:
        print('  (no cases yet)')
except:
    print('  (unable to fetch)')
"

If no cases exist, tell the user: "The Gallery has no cases yet, use /lov-xbti-creator to create one and submit it!"

Runtime context (shared)

Before running, read this Skill package's skill.yaml, with the host providing the skill-runtime/v1 context. The field resolution order is: current request, project context, personal Preferences, brand Profile, general defaults.

  • Use only the fields declared in the Manifest; Profile stores public brand facts, Preferences stores personal work preferences.
  • required: true When a field is missing, ask the user one focused question according to the Manifest's question configuration; save the answer only after the user explicitly agrees.
  • Errors provide a copyable context_id, field path, and source; diagnostic content avoids secrets, full private paths, and raw configuration.