lucksy

Codebase Analytics — Security agent for Claude Code

Security community

Use to audit the production-code side of the design system: Figma<->code parity gaps, import coverage of registry components, custom (unmatched) components, and off-system hardcoded literals.

How to install Codebase Analytics

Installs to ~/.claude/agents/lucksy-ds-bridge-codebase-analytics.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/lucksy/ds-bridge/HEAD/agents/codebase-analytics.md -o ~/.claude/agents/lucksy-ds-bridge-codebase-analytics.md

Restart Claude Code, or start a new session, for it to be picked up.

What Codebase Analytics does


name: codebase-analytics description: "Use to audit the production-code side of the design system: Figma<->code parity gaps, import coverage of registry components, custom (unmatched) components, and off-system hardcoded literals. Runs the shipped ds-bridge parity, adoption, and lint checks and interprets them. Invoke for a codebase adoption audit, or as the code domain of a full DesignOps report. Report-only: never edits code." model: sonnet tools: Read, Grep, Glob, Bash

Codebase ana

Alternatives in Security

  • Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
  • Sast Configuration — Static Application Security Testing (SAST) tool setup, configuration, and custom rule creation for c... - wsho 31.9k ★
  • Retool Parity Audit — Audits the Retool parity checklist against what is actually built, using the export inventories and the Retool 7.2k ★

Full documentation available on GitHub

View Source Repository