test-generator

Generate TypeScript test data files and related code artifacts from parsed research data.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/dayoumin/mbti --skill test-generator-dayoumin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-generator
Source: https://github.com/dayoumin/mbti/tree/main/.claude/skills/test-generator
Command: npx skills add https://github.com/dayoumin/mbti --skill test-generator-dayoumin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires node, and includes scripts (resource) components.

What problem does it solve?

이 스킬은 리서치 파서가 추출한 데이터를 실제 TypeScript 테스트 데이터 파일로 변환하여 테스트 인프라를 빠르게 확장합니다.

Core Features & Use Cases

  • 7개 파일 및 구성을 자동으로 생성: 테스트 데이터 파일, 타입 정의 확장, 설정 추가, 인덱스 수정, 아이콘 매핑, 대시보드 매핑, 검증 스크립트 수정.
  • 데이터 구조 템플릿에 따라 Subject 데이터 파일 및 관련 코드들을 일관되게 생성합니다.
  • 코드베이스에 새 테스트를 쉽게 추가하고, subjects/*.ts 파일 생성을 자동화합니다.

Quick Start

주어진 subject에 대한 테스트 데이터를 생성합니다: 예시로 src/data/subjects/{subject}.ts를 생성합니다.

Frequently Asked Questions about test-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate TypeScript test data files from parsed research data?

This Skill generates TypeScript test data files by converting parsed research data into structured subject files. It automatically creates a subject data file, extends type definitions, updates configuration, adds imports and exports, generates icon mappings, modifies dashboard components, and creates validation scripts—all following a consistent SubjectData template.

What files does the test generator create or modify?

The Skill produces eight artifacts: a subject data file at src/data/subjects/{subject}.ts, updates to the SubjectKey union in types.ts, additions to config.ts, import and export statements in index.ts, a new SubjectIcon in Icons.js, TEST_ICONS mapping in dashboard/page.tsx, a validation script array, and tag mappings in insight/test-tag-mappings.ts.

Can I automate adding new test subjects to my TypeScript codebase?

Yes. This Skill automates subject addition by generating all required files and configurations at once—subject data, type unions, config entries, icons, dashboard mappings, and validation scripts—eliminating manual file creation and reducing inconsistencies across your test infrastructure.

Do I need Node.js to run the test generator?

Yes. Node.js is the only runtime dependency required to execute this Skill and generate your TypeScript test files and configurations.

How does this Skill maintain consistency across generated test configurations?

The Skill applies a provided SubjectData template structure to all generated artifacts, ensuring consistent naming, type definitions, icon references, and validation rules across subject data files, configuration updates, and dashboard mappings.