RepoPilot

davidhdev / react-bits

Search davidhdev/react-bits

GitHub

Code

How davidhdev/react-bits is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely start-up file
  5. Likely start-up file
  6. Suggested starting pointAI
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add a new animated component

  • Add entry to src/constants/Components.js with metadata, category, and export paths

Add a new documentation page

  • Add route definition to src/routes/DocsRoutes.jsx mapping URL path and metadata

Add AI export capability for a component

  • Ensure component entry in src/constants/Components.js includes all variant paths
  • Add AI prompt template in src/utils/aiPrompt.js describing component behavior and props
  • Component code generation uses src/utils/aiExport.js to bundle variants for export
  • Verify exports via hook src/hooks/useAIExportActions.js in CodeExample component

Add a new framework variant (TypeScript, Tailwind)

  • Register variant path in src/constants/Components.js under the component's variants array
  • Run 'npm run check:prop-docs' to validate variant exports and prop definitions

Change the public API

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.

Code quality and hotspots

Largest source files

  • Branch points152 per file on average
  • Code issues0 errors, 72 warnings
  • Largest file2,968 lines
  • Hotspot load0 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CINot detected
  • Tests5 test filesJest/Vitest · 0.00 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: scripts · src/tools/shape-magic/engine · src/utils

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.