Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
One-time setup that gathers your project's design context and saves it to CLAUDE.md for future sessions.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
scripts/detector/findings.mjs
1import { getAntipattern } from './registry/antipatterns.mjs';23function getAP(id) {4return getAntipattern(id);5}67function finding(id, filePath, snippet, line = 0) {8const ap = getAP(id);9return { antipattern: id, name: ap.name, description: ap.description, severity: ap.severity || 'warning', file: filePath, line, snippet };10}1112export { getAP, finding };13