topic-cluster
Usar cuando se agrupan retros, PBIs o incidentes en topics para detectar patrones transversales.
от gonzalezpazmonica★ 52 звезды на GitHub
Установить topic-cluster в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Skill: Topic Cluster
Descubre patrones que cruzan retros, PBIs, incidents, lessons. Ref: SE-033, docs/propuestas/SE-033-topic-cluster-skill.md.
Cuando usar
- Al cierre de sprint: agrupar retros de N proyectos para detectar temas compartidos
- Auditoria periodica de backlog/incidents: detectar duplicados semanticos
- Post-lesson-extract: agrupar lessons cross-project
- Cuando
retro-patterns,backlog-patterns,lesson-extractpierden senal
Cuando NO usar
- Menos de 6 documentos (HDBSCAN no encuentra clusters utiles)
- Documentos muy cortos (<20 palabras) — embeddings poco senal
- Hot-path <500ms — BERTopic tarda 10-30s en ~100 docs
Invocacion
# Input via stdin
cat retros.json | python3 scripts/topic-cluster.py --min-cluster-size 3
# Con JSON pretty
cat pbis.json | python3 scripts/topic-cluster.py --json
Input schema
{
"documents": [
{"id": "retro-2026-q1-alpha", "text": "Sprint planning took 3x expected time..."}
],
"min_cluster_size": 3,
"nr_topics": null
}
Output
{
"topics": [
{
"id": 0,
"label": "sprint planning time",
"keywords": ["sprint", "planning", "time", "overrun"],
"size": 7,
"documents": ["retro-1", "retro-3", "retro-5"]
}
],
"outliers": ["retro-8"],
"backend": "bertopic|fallback-keyword",
"model_info": {"sbert": "all-MiniLM-L6-v2", "docs": 15, "clusters": 3},
"latency_ms": 12000
}
Backends
| Backend | Cuando | Latencia | Calidad |
|---|---|---|---|
bertopic |
bertopic+sentence-transformers instalados | 10-30s / 100 docs | Alta — semantic clusters |
fallback-keyword |
Sin deps ML | <1s / 100 docs | Media — surface keywords |
Instalacion (opt-in)
pip install bertopic sentence-transformers
# Primera invocacion descarga all-MiniLM-L6-v2 (~80MB)
Zero-install default: script funciona con fallback keyword sin instalar nada.
Casos de uso
Sprint retro cluster
bash scripts/collect-retros.sh --sprint 42 --json | \
python3 scripts/topic-cluster.py --min-cluster-size 3
Backlog pattern detection
bash scripts/backlog-dump.sh --project alpha --json | \
python3 scripts/topic-cluster.py --nr-topics auto
Cross-project lessons
find output/lessons -name "*.json" -exec cat {} \; | \
jq -s '{documents: .}' | \
python3 scripts/topic-cluster.py --min-cluster-size 2
Interpretacion
clusters >= 3: patron claro, revisar labelsoutliers / total > 30%: corpus heterogeneo, subirmin_cluster_sizeo bajarnr_topicssizepequeno (2-3): puede ser noise o patron emergente
Costes
- Sin deps: 0 MB, <1s
- Con BERTopic: ~200MB sbert + deps, ~800MB RAM
- Egress: solo en primera invocacion (download modelo)
Referencias
- Spec:
docs/propuestas/SE-033-topic-cluster-skill.md - Script:
scripts/topic-cluster.py - Probe:
scripts/bertopic-probe.sh - Tests:
tests/test-topic-cluster.bats
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Bash - 03
Glob
Вложенные файлы
- DOMAIN.md
FAQ
Что делает скилл topic-cluster?
Usar cuando se agrupan retros, PBIs o incidentes en topics para detectar patrones transversales.
Как установить скилл topic-cluster?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл topic-cluster запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…