Skip to content

About

Classify engineers into 16 archetypes from GitHub activity. Rule-based, zero dependencies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

dev-archetype

Classify engineers into 16 archetypes from their GitHub activity. Rule-based (no LLM), so the same input always gives the same type. Zero dependencies, one file.

16 types = 4 axes × 2 poles:

Axis Signal Poles
Rhythm Active months in the last 12 (8+ = steady) steady / sprint
Domain Share of the top language (60%+ = deep) deep / versatile
Style Share of original (non-fork) repos (70%+ = builder) builder / refiner
Clock Share of commits made 22:00–05:59 (40%+ = night) night / day

Every type is equal — no scores, no ranking, no "better" type.

Usage

Copy src/archetype.ts, then:

import { computeArchetype, type ActivityData } from "./archetype";

const data: ActivityData = {
  languages: { TypeScript: 3, Python: 1 },
  contributions: { monthly: [60,72,55,80,66,90,75,70,88,91,50,50], nightRatio: 0.55 },
  originalRatio: 1,
};

const a = computeArchetype(data);
// => { key: "steady-deep-builder-night", name: "深夜の職人", color: "#534AB7",
//      tagline: "ひとつの道具を深く、コツコツ作り続ける", axes: {...} }

ActivityData is easy to build from the GitHub GraphQL API (contributionsCollection) and the repository list.

Names and taglines are returned in Japanese. English equivalents of the 8 bodies: Craftsman (職人), Blacksmith (鍛冶屋), Polisher (研磨師), Mechanic (整備士), Inventor (発明家), Adventurer (冒険者), Gardener (庭師), Wandering Fixer (流しの修理屋); the prefix is Night (深夜の) or Day (白昼の).

Related

MIT License / AKIMA Inc.


日本語

GitHubの活動データから、エンジニアの働き方を16タイプに分類するルールベースのロジックです。LLMを使わないため、同じ入力からは必ず同じタイプが出ます。依存ゼロの単一ファイル。

16タイプ = 4軸 × 2極:

軸 判定材料 2極
リズム 直近12ヶ月のうち活動した月数(8ヶ月以上=コツコツ型) steady / sprint
領域 最も使う言語の占有率(60%以上=深掘り) deep / versatile
スタイル 自作リポジトリ比率(70%以上=作る人) builder / refiner
時間帯 夜間(22時〜6時)コミット比率(40%以上=夜型) night / day

すべてのタイプは対等です。優劣・点数・順位は存在しません。

使い方

src/archetype.ts をコピーして:

import { computeArchetype, type ActivityData } from "./archetype";

const data: ActivityData = {
  languages: { TypeScript: 3, Python: 1 },
  contributions: { monthly: [60,72,55,80,66,90,75,70,88,91,50,50], nightRatio: 0.55 },
  originalRatio: 1,
};

const a = computeArchetype(data);
// => { key: "steady-deep-builder-night", name: "深夜の職人", color: "#534AB7",
//      tagline: "ひとつの道具を深く、コツコツ作り続ける", axes: {...} }

ActivityData はGitHub GraphQL APIの contributionsCollection とリポジトリ一覧から簡単に作れます。

関連

  • タイプ別のドット絵キャラ: pixel-folks
  • 実際に動いているサービス: Folio — GitHubユーザー名を入れると、タイプ判定つきの営業ページを自動生成します(無料)

About

Classify engineers into 16 archetypes from GitHub activity. Rule-based, zero dependencies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages