Логотип Hotmess

Hotmess

Організація
asynkron
hotmess

Find and explain churn hotspots and unstable code clusters in a git repo. Goes beyond a flat "most-edited files" list — auto-detects clusters by directory, by filename stem (foo.go + foo_test.go), and by co-change (files that change together) — then classifies each cluster (unstable / under-development / buggy / tightly-coupled / spec-shifting) and explains *why* it's a problem. Trigger whenever the user asks about churn, hotspots, unstable code, files that change a lot, refactoring candidates, technical debt hotspots, "what's a mess", "/hotmess", or any combination of folder + time window where they want insight rather than just numbers. Auto-detects code files when no extension is given.

Огляд

Видавецьasynkron
Репозиторійasynkron-skills
Назва навичкиhotmess
Зірки
32
Форки
3
Файли в пакеті
1
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: asynkron. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Hotmess у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/asynkron/asynkron-skills/tree/main/skills/hotmess
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/asynkron/asynkron-skills.git /tmp/asynkron-skills
mkdir -p .claude/skills
cp -r /tmp/asynkron-skills/skills/hotmess .claude/skills/hotmess
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Hotmess в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Hotmess, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Hotmess не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

hotmess

Identifies clusters of high-churn code and explains why they're problematic — not just a ranked file list. The user wants insight: which areas of the codebase are unstable, why, and what to do.

When to use

Trigger phrases: "hotmess", "hotspots", "what's churning", "unstable code", "where's the technical debt", "what's a mess in X", "/hotmess ". Always invoke for these — even if the user gives no time window or extension, fall back to sensible defaults (30 days, auto code detection).

How to run

Always invoke this skill's bundled analyzer (scripts/analyze.py, in this skill's base directory), which emits structured JSON with four signal sets. Do not reimplement git log parsing inline.

bash
"<SKILL_DIR>/scripts/analyze.py" <path> --since "<expr>" [--ext .go,.ts] [--top N] [--html /tmp/hotmess.html] [--quiet]

<SKILL_DIR> is the "Base directory for this skill" path provided when the skill is invoked. Run from inside the target git repo (or pass an absolute path; git resolves it).

Defaults: --since "30 days ago", --top 30, auto-detected code extensions.

If the user asks for a visualization, diagram, picture, "show me", chart, or graph — also pass --html /tmp/hotmess.html and then open /tmp/hotmess.html. Use --quiet together with --html if you don't need the JSON in the same call. The HTML page contains a Mermaid module map (modules colored by classification, edges = cross-directory co-change), plus collapsible tables for stems and co-change pairs.

Requires Python 3.8+ (stdlib only) and git on PATH.

Period shorthand to translate before passing to --since:

  • 7d → "7 days ago", 2w → "2 weeks ago", 1m → "1 month ago"
  • ISO date (2026-04-01) → pass through unchanged

What the JSON contains

scope        { path, since, ext, recent_window_days }
totals       { commits, files, add, del }
files[]      per file: commits, add, del, last, authors, recent_commits_7d, is_test
directories[]  aggregated per parent dir (depth 1..3): commits, add, del, files
stems[]      basename groups (foo.go + foo_test.go): members, commits, add, del, test_ratio
cochange[]   pairs of files often changed together: a, b, together, a_total, b_total, jaccard

recent_commits_7d lets you see if churn is concentrated now vs. spread across the window. test_ratio is the share of stem-group commits that hit test files. jaccard is overlap (1.0 = always change together).

How to analyze

Read the JSON and identify clusters. A cluster is a coherent group of files — usually a directory, a stem, or a co-change pair/triangle. For each meaningful cluster, classify it using the heuristics below, and explain why it matters.

Classification heuristics

Signal patternLikely classificationWhat it means
High commits, balanced add/del, multiple authors, sustained over windowInstabil / dåligt kravställdKoden skrivs om i cykler — kraven eller designen är inte stabila
High commits, mostly + lines, recent burst, 1-2 authorsUnder aktiv utvecklingPågående feature-arbete, förväntat — flagga bara om det varat länge
High commits, small commits (low avg lines), same author repeatedlyBuggigMånga små fixar — symptom på instabil logik eller dålig täckning
Stem-grupp där test_ratio > 0.45Specifikation flyttar sigTesterna ändras nästan lika mycket som koden — kraven är inte fastlagda
Co-change-par med jaccard > 0.6Tät logisk kopplingTvå filer som "alltid" ändras ihop — kanske dålig separation eller borde slås ihop
Hela mappen het (>30% av totala commits)Hotspot-modulArkitekturproblem snarare än enskilda filer — hela ansvarsområdet är instabilt
Recent burst (recent_commits_7d är majoriteten) i fil som inte är nyAkut instabilitetNågot hände nyligen — incident, refaktor, eller problem

Multiple signals stack — a cluster can be both "spec shifting" and "tightly coupled". Say so.

Output format

Don't dump the JSON. Don't list every file. Produce a short narrative report:

# Hotmess: <path> (<since>, <ext>)

<one-line summary: total commits, files, period — and the headline finding>

## Cluster 1: <name>  —  <classification>
**Files:** `a.go`, `b.go`, `c.go`  (X commits combined)
**Signal:** <the specific numbers that triggered the classification — e.g. "test_ratio 0.51, jaccard with state.go 0.75">
**Why it's a problem:** <one or two sentences explaining the consequence>
**Suggested action:** <concrete next step — split, stabilise spec, add tests, refactor coupling, etc.>

## Cluster 2: ...

## Notable individual files
(only if a single file stands out and doesn't belong to a cluster — keep to 2-3 max)

## Co-change couplings worth knowing
(only the top 3-5 jaccard pairs that aren't already covered by clusters above)

Keep it concise — aim for 4-6 clusters max. Skip anything that's clearly normal activity. The goal is signal, not exhaustiveness.

What not to do

  • Do not just print the JSON. The user asked for analysis.
  • Do not list every file. Group into clusters first.
  • Do not classify everything as "active development". That's the trivial answer — only use it when other signals don't apply.
  • Do not invent root causes you can't see. If you don't know why a file is churning, say "look at git log for context" — don't speculate about specific bugs.
  • Do not over-warn. A small new feature folder with a recent burst is fine; a long-stable file suddenly churning is not.

Why this design

  • JSON over table: the LLM needs structured signals it can correlate (test_ratio + jaccard + recent burst) — a flat table forces re-extraction.
  • Multiple signal sets: directory aggregation catches modular hotspots; stem grouping catches test/code drift; co-change catches hidden coupling. No single view sees all three.
  • Heuristics in the skill, not the script: classification is judgment — keep it in the prompt so it can adapt and combine signals, instead of hardcoding rules in code.
  • Excludes merges: merge commits inflate churn without representing real work.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Hotmess?

Find and explain churn hotspots and unstable code clusters in a git repo. Goes beyond a flat "most-edited files" list — auto-detects clusters by directory, by filename stem (foo.go + foo_test.go), and by co-change (files that change together) — then classifies each cluster (unstable / under-development / buggy / tightly-coupled / spec-shifting) and explains *why* it's a problem. Trigger whenever the user asks about churn, hotspots, unstable code, files that change a lot, refactoring candidates, technical debt hotspots, "what's a mess", "/hotmess", or any combination of folder + time window...

Навіщо використовувати Hotmess у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Hotmess — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Hotmess у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/asynkron/asynkron-skills/tree/main/skills/hotmess. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Hotmess?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Hotmess?

Зі скількома забажаєте. У TypingMind ви можете використовувати Hotmess із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Hotmess?

На GitHub цю навичку публікує asynkron. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇