bug-clustering
Installation
SKILL.md
Bug Clustering
Exercise the repository's real normalization and clustering libraries on data the operator supplies. This skill does not fetch X posts, infer truth, or provide a packaged end-to-end runner.
Overview
parseCandidate() performs regex-based extraction, classification, redaction, and scoring.
deduplicateCandidates() groups similar text with trigram and token-Jaccard similarity.
clusterCandidates() writes cluster and cluster-post rows to SQLite. Read
the runtime contract before treating any score as evidence.
Prerequisites
- Work from this repository with Bun installed and dependencies available.
- Supply X-shaped post objects; do not pass secrets or unredacted private exports.
- Select a disposable or explicitly approved SQLite database. Initialize it with
bun run db:migrate. - Back up any non-disposable database before a clustering run.