Skip to content

Commit a1b3cd2

Browse files
committed
Add prompts.md
0 parents  commit a1b3cd2

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

prompts.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# 🧠 Idea
2+
3+
People today are easily distracted while trying to focus on tasks. This constant interruption reduces productivity and attention span.
4+
5+
---
6+
7+
# 💡 Proposed Solution
8+
9+
Develop a Chrome extension that helps users stay mindful and aware whenever they become distracted.
10+
11+
---
12+
13+
# 🔍 Solution Details
14+
15+
## 🎯 User Input for Contextual Awareness
16+
17+
- Upon activation, the extension prompts the user to enter a brief description of what they are focusing on.
18+
- This input will help determine which websites are considered “safe” vs. “distracting.”
19+
- If no input is given, the extension remains in **inactive** mode (does nothing).
20+
21+
## 🧠 Distraction Detection via AI
22+
23+
- Use OpenAI API to analyze browser activity and detect distractions.
24+
- Behavior data is collected locally from the user's browser session.
25+
26+
## 🚨 Alert System with Warning Levels
27+
28+
- Multiple warning levels: *mild*, *moderate*, and *severe*.
29+
- A short distraction (e.g., a quick notification check) is ignored.
30+
- Extended or frequent distractions trigger alerts.
31+
32+
## 🔔 Smart Notification Handling
33+
34+
- Do not alert for small, infrequent deviations.
35+
- Alert when time spent on irrelevant content surpasses a threshold.
36+
37+
## 🖼️ User Interface
38+
39+
- UI should be sleek, intuitive, and non-intrusive.
40+
- Designed to enhance focus without being a distraction itself.
41+
42+
## ⚙️ Settings Page
43+
44+
- Input field for OpenAI API key.
45+
- Configurable options:
46+
- Distraction threshold
47+
- Alert type/style
48+
- Whitelisted websites
49+
50+
---
51+
52+
# ⚙️ Technical Requirements
53+
54+
## 🔄 CI/CD Integration
55+
56+
- Set up CI/CD using GitHub Actions or similar tools.
57+
- Use existing GitHub Action templates where applicable.
58+
59+
## 🧱 Code Quality
60+
61+
- Follow best practices for clean, modular, maintainable code.
62+
- Use proper code architecture and folder structure.
63+
64+
## 🧩 Development Notes
65+
66+
- Continuously suggest improvements as you develop.
67+
- Propose feature enhancements or UX ideas.
68+
- Flag any possible optimizations or better alternatives.
69+
70+
---
71+
72+
# 🧭 Future Ideas (Optional)
73+
74+
- Analytics dashboard to review distraction patterns
75+
- Adaptive AI model that learns from user focus behavior
76+
- Pomodoro mode with auto-adjusting alerts

0 commit comments

Comments
 (0)