Luigi's picture

Luigi PRO

luigi12345

AI & ML interests

None yet

Recent Activity

Articles

Organizations

None yet

luigi12345's activity

posted an update 2 days ago
view post
Post
516
DEBUGGING PROMPT TEMPLATE (Python)
Please reply one by one without assumptions and fix code accordingly.
1. Core Functionality Check:
For each main function/view:
- What is the entry point?
- What state management is required?
- What database interactions occur?
- What UI elements should be visible?
- What user interactions are possible?

2. Data Flow Analysis:
For each data operation:
- Where is data initialized?
- How is it transformed?
- Where is it stored?
- How is it displayed?
- Are there any state updates?

3. UI/UX Verification:
For each interface element:
- Is it properly initialized?
- Are all buttons clickable?
- Are containers visible?
- Do updates reflect in real-time?
- Is feedback provided to user?

4. Error Handling:
For each critical operation:
- Are exceptions caught?
- Is error feedback shown?
- Does the state remain consistent?
- Can the user recover?
- Are errors logged?

5. State Management:
For each state change:
- Is initialization complete?
- Are updates atomic?
- Is persistence handled?
- Are race conditions prevented?
- Is cleanup performed?

6. Component Dependencies:
For each component:
- Required imports present?
- Database connections active?
- External services available?
- Proper sequencing maintained?
- Resource cleanup handled?
posted an update 7 days ago
view post
Post
1538
Prompt yourself In a way that will make you detect fatal bugs and crashes of the script and fix each of them in the most optimized and comprehensive way. Don't talk.
reacted to their post with ๐Ÿ‘€ 8 days ago
view post
Post
2604
PERFECT FINAL PROMPT for Coding and Debugging.
Step 1: Generate the prompt that if sent to you will make you adjust the script so it meets each and every of the criteria it needs to meet to be 100% bug free and perfect.

Step 2: adjust the script following the steps and instructions in the prompt created in Step 1.

  • 1 reply
ยท
updated a Space 8 days ago