feat(components): add performance-auditor agent and pr-summary command
VJ
9h ago+283+283+012345678901234567890123456789-0-0-0123456789
Summary of Changes
This pull request introduces two new high-value components to the Claude Code templates catalog:
-
performance-auditor(Domain Expert Agent):- Path:
cli-tool/components/agents/domain-experts/performance-auditor.md - Purpose: Specialist agent configured with Claude 3.5 Sonnet for diagnosing and resolving runtime latency, memory retention/closures leaks, frontend bundle bloat, and database query bottlenecks (N+1 queries, missing indexes, connection starvation).
- Tools enabled:
search/codebase,changes,edit/editFiles,fetch,findTestFiles,runCommands,runTests,usages. - Features: Structured profiling workflows, empirical measurement templates, Node.js heapdump patterns, DataLoader batching patterns, and comprehensive audit report formatting.
- Path:
-
pr-summary(Code Generation Slash Command):- Path:
cli-tool/components/commands/code-generation/pr-summary.md - Purpose: Slash command
/pr-summaryto inspect git workspace diffs and synthesize comprehensive, production-ready GitHub/GitLab pull request descriptions, categorized changelogs (Conventional Commits), and file-by-file impact matrices. - Features: Supports arguments (
main,HEAD~N,--detailed,--changelog,--json), extracts commit history, highlights breaking changes, and includes test verification checklists.
- Path:
-
Dashboard Content Payloads:
- Generated corresponding static payloads under
dashboard/public/component-content/(agents/domain-experts/performance-auditor.jsonandcommands/code-generation/pr-summary.json) for web UI rendering and on-demand delivery.
- Generated corresponding static payloads under
Verification
- Validated YAML frontmatters for both components.
- Generated and verified component-content JSON payloads via catalog build tooling.
- Verified working tree cleanliness without unrelated catalog churn.
Summary by cubic
Adds a performance-auditor domain-expert agent and a /pr-summary slash command to the cli-tool/components/ catalog. The periodic merges from main introduce no behavior changes beyond the two new components.
- New components live in
cli-tool/components/, sodocs/components.jsonand thedashboard/public/content indexes were regenerated. performance-auditorprofiles latency, memory/closures, bundle bloat, and DB query bottlenecks, emitting structured before/after audit reports; heap deltas require--expose-gcfor consistent Node.js measurements./pr-summarygenerates PR descriptions, Conventional Commits changelogs, and file-by-file impact matrices; it rejects unknown flags, never passes mode flags to Git, defaults toorigin/main...HEAD, and supportsmain/HEAD~Nwith--detailed,--changelog,--json, and--breaking-only.- No new environment variables or secrets are required.