System Design¶
AI Dev Coach is a client-side Chrome extension. All behavior analysis runs locally in the browser.
High-Level Flow¶
flowchart LR
User[Developer] --> AI[AI Chat Platform]
AI --> CS[Content Scripts]
CS --> Engine[Coaching Engine]
Engine --> Overlay[Overlay Feedback]
Popup[Popup + Options] --> Storage[(Chrome Storage)]
CS --> Storage
Core Components¶
content/monitor.js: prompt event capture and quality analysiscontent/interactionTracker.js: copy-paste risk detectioncontent/aiOverlay.js: in-page warning and coaching messagespopup/*: profile onboarding and prompt generation templatesoptions/*: thresholds and strict mode controlsbackground.js: initial default state setup
Data Storage¶
The extension stores only local state in chrome.storage.local:
profile: role, level, habit goalsettings: strict mode and warning thresholdsstats: AI requests, manual attempts, large paste count