Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Sbti Personality Test

ASecurity

> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.

81 stars
0 votes
0 copies
0 views
Added 9/19/2026
developmentjavascriptpythongojavabashnodegitbackend

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add reason-machines/trending-skills --skill sbti-personality-test --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sbti Personality Test?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Sbti Personality Test
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/reason-machines-sbti-personality-test/badge)](https://www.skillsdirectory.com/skills/reason-machines-sbti-personality-test)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
```markdown
---
name: sbti-personality-test
description: A single-page HTML personality/quiz test web app (SBTI Test mirror) with split image and HTML assets, deployable as a static site.
triggers:
  - "set up sbti test"
  - "deploy personality quiz html"
  - "mirror sbti test page"
  - "customize sbti quiz"
  - "host static quiz site"
  - "modify sbti test questions"
  - "add sbti test to my site"
  - "embed personality test html"
---

# SBTI Personality Test (Mirror)

> Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection.

## What This Project Does

SBTI Test is a **single-page static web application** that presents a personality/type quiz (SBTI-style) to users. The entire app is self-contained HTML with associated image assets — no backend, no build step, no dependencies to install. The HTML file itself is the full source code.

- **Live demo**: https://sbti.unun.dev  
- **Original author**: Bilibili @蛆肉儿串儿  
- **License**: None declared — use at your own discretion, do not trouble the original author.

The repo splits images and HTML into separate files for easier hosting/mirroring.

---

## Project Structure

```
SBTI-test/
├── index.html          # Main quiz page (entire app logic + UI)
├── images/             # Quiz result images, type illustrations, etc.
│   ├── *.png / *.jpg
└── README.md
```

---

## How to Deploy

### Option 1: GitHub Pages (recommended)

1. Fork or clone the repo.
2. Push to your GitHub repository.
3. Go to **Settings → Pages → Source**: set branch to `main`, folder to `/ (root)`.
4. Your site will be live at `https://<username>.github.io/<repo-name>/`.

### Option 2: Netlify / Vercel (drag & drop)

1. Download/clone the repo locally.
2. Drag the project folder into [Netlify Drop](https://app.netlify.com/drop) or import via Vercel dashboard.
3. No build command needed — output directory is the root `.`.

**Netlify config (optional `netlify.toml`):**
```toml
[build]
  publish = "."
  command = ""

[[headers]]
  for = "/*"
  [headers.values]
    Cache-Control = "public, max-age=3600"
```

### Option 3: Local Development

```bash
# Clone the repo
git clone https://github.com/UnluckyNinja/SBTI-test.git
cd SBTI-test

# Serve locally (Python 3)
python3 -m http.server 8080
# Then open http://localhost:8080

# OR with Node.js npx
npx serve .
# Then open http://localhost:3000
```

---

## Key Files & How to Modify

### `index.html` — The Entire App

Since the whole app is one HTML file, all customization happens here.

**Typical structure inside `index.html`:**

```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>SBTI 测试</title>
  <style>
    /* All CSS is inline */
    body { font-family: sans-serif; ... }
    .question { ... }
    .result { ... }
  </style>
</head>
<body>
  <div id="app">
    <!-- Quiz questions rendered here -->
  </div>
  <script>
    // All quiz logic is inline JavaScript
    const questions = [ ... ];
    const results = { ... };
    // Scoring, rendering, navigation logic
  </script>
</body>
</html>
```

---

## Common Customization Patterns

### 1. Change the Page Title / Language

```html
<!-- In <head> -->
<title>My Custom Personality Test</title>
<html lang="en">  <!-- change from zh-CN -->
```

### 2. Add / Edit Questions

Locate the `questions` array in the `<script>` block:

```javascript
const questions = [
  {
    id: 1,
    text: "你更喜欢...",          // Question text
    options: [
      { text: "选项A", scores: { E: 1, I: 0 } },
      { text: "选项B", scores: { E: 0, I: 1 } }
    ]
  },
  // Add more question objects here
];
```

### 3. Modify Result Images

Result images are referenced relative to the `images/` directory:

```javascript
const results = {
  "ENFP": {
    label: "活动家",
    image: "images/ENFP.png",   // <-- update path if you rename/move images
    description: "..."
  },
  // ...
};
```

To replace an image:
```bash
# Replace an image file (keep same filename)
cp my-new-ENFP.png images/ENFP.png

# OR update the path in index.html results object
```

### 4. Embed in an Existing Site (iframe)

```html
<!-- Embed the quiz in any page -->
<iframe
  src="https://sbti.unun.dev"
  width="100%"
  height="800px"
  frameborder="0"
  style="border-radius: 12px;"
  title="SBTI Personality Test">
</iframe>
```

### 5. Share Results via URL Hash

If you want to add deep-linking for results, add this to the script:

```javascript
// Save result to URL hash
function showResult(type) {
  window.location.hash = type;  // e.g. #ENFP
  // ... render result UI
}

// On page load, check for hash
window.addEventListener('load', () => {
  const hash = window.location.hash.slice(1);  // e.g. "ENFP"
  if (hash && results[hash]) {
    showResult(hash);
  }
});
```

---

## Hosting on a Custom Domain

### Cloudflare Pages

```bash
# Connect GitHub repo in Cloudflare Pages dashboard
# Build settings:
#   Framework preset: None
#   Build command: (leave empty)
#   Build output directory: /
#   Root directory: /
```

### Custom domain with GitHub Pages

1. Add a `CNAME` file to the repo root:
```
sbti.yourdomain.com
```
2. Point your DNS CNAME record to `<username>.github.io`.

---

## Troubleshooting

### Images not loading
- Verify `images/` folder is present and filenames match exactly (case-sensitive on Linux servers).
- Check browser console for 404 errors on image paths.
- Ensure paths in `index.html` are relative, not absolute: `images/X.png` not `/images/X.png` (unless hosted at root).

### Page shows blank / broken layout
- Open browser DevTools → Console for JS errors.
- Make sure you're serving via HTTP(S), not opening `file://` directly (some browsers block relative paths).
- Use `python3 -m http.server` or `npx serve .` locally.

### Quiz logic not working after edits
- Validate your JSON/JS syntax — a missing comma in `questions` array breaks everything.
- Use browser DevTools → Sources to set breakpoints in the inline script.

### Mobile layout issues
- Ensure `<meta name="viewport" content="width=device-width, initial-scale=1.0">` is present in `<head>`.
- Add CSS media queries in the `<style>` block:
```css
@media (max-width: 600px) {
  .question { font-size: 16px; padding: 10px; }
  .options { flex-direction: column; }
}
```

---

## Quick Reference

| Task | Where |
|------|-------|
| Edit questions | `<script>` block → `questions` array |
| Edit results/types | `<script>` block → `results` object |
| Change images | `images/` folder + update paths in `results` |
| Change styles | `<style>` block in `<head>` |
| Deploy static | GitHub Pages / Netlify / Vercel / `npx serve .` |
| Local preview | `python3 -m http.server 8080` |

---

## Credits

- **Mirror repo**: [UnluckyNinja/SBTI-test](https://github.com/UnluckyNinja/SBTI-test)  
- **Original creator**: Bilibili @蛆肉儿串儿  
- **No license declared** — respect the original author's work.
```

Attribution

reason-machinesreason-machines
View sourceMore from reason-machines →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →