RepoPilot

abi / screenshot-to-code

Search abi/screenshot-to-code

GitHub

Code

How abi/screenshot-to-code is laid out, and where to start for common changes.

A
Architecture grade
score 99/100
0
Import cycles
lower is better
246
Files mapped
223 imports between them
98%
Layering
of imports point one way

From the map of which files import which, built when the code was last read in full. It shows what depends on what, not a reading order.

Module map

Shade by
Entry points and orchestratorsShared coreFoundationStandalonetypes1 file · 0 commitscomponents84 files · 5 commitslib7 files · 3 commitsconfig1 file · 0 commitshooks4 files · 0 commitsstore2 files · 0 commitsconstants1 file · 0 commitsApp1 file · 0 commitsgenerateCode1 file · 0 commitsindex1 file · 0 commitsurls1 file · 0 commitsmain1 file · 1 commitsetupTests1 file · 0 commitsvite-env.d1 file · 0 commits

14 modules, 28 links. A link means one module imports another; thicker lines mean more imports. Select a module to trace it: blue lines go to what it uses, orange lines come from what uses it.

types1610Shared core
components84465Orchestrator
lib7433Shared core
config1400Foundation
hooks4220Shared core
store2220Shared core
constants1200Foundation
App1180Orchestrator
generateCode1130Orchestrator
index1100Foundation
urls1100Foundation
main1031Entry or leaf
setupTests1000Standalone
vite-env.d1000Standalone

Where to start reading

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

Find files for a task

AI

Add a new LLM provider

  • Register provider in factory's instantiation logic
  • Add provider-specific configuration and API keys to environment
  • Test with existing evaluation suite

Add a new supported code stack (e.g., new CSS framework)

  • Add stack template and output format rules
  • Update code generation pipeline with stack-specific formatting
  • Add stack option to frontend UI component
  • Test with evaluation benchmark

Add a new API endpoint for screenshot processing

  • Wire route into pipeline via agent engine or direct code generation
  • Add WebSocket event constants if real-time updates needed

Improve code generation quality via prompt engineering

  • Examine and modify the message building logic
  • Refine design system prompt injections
  • Run evaluation suite to measure improvement
  • Document changes in design docs if architectural

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 points68 per file on average
  • Code issues0 errors, 22 warnings
  • Largest file1,124 lines
  • Hotspot load4 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CINot detected
  • Tests53 test filesPytest · 0.26 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: backend/tests · backend/codegen

Hotspots

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