Skip to content

Instantly share code, notes, and snippets.

View LaurieScheepers's full-sized avatar

Laurie Scheepers LaurieScheepers

View GitHub Profile
@LaurieScheepers
LaurieScheepers / sample_output_real.md
Created July 22, 2025 09:17
Sample Output of Critical Thinking Cursor Rules

note: some technologies modified to not reveal IP (in curly brackets - {})

Prompt

Add the following feature:

  1. A cookie consent dialog in {language_x}. A neatly styled popup at the bottom right.
  2. Save the user's Language Preference choice on the landing page.
  3. Whenever the root page route of the app is requested, check storage and route to the appropriate page with the value of the language choice variable being set (retrieved from local storage)
  4. Add a back button on the nav header to change language, which will take you back to the first screen.
@LaurieScheepers
LaurieScheepers / critical_thinking_cursor_rules.md
Created July 17, 2025 15:23
cursor-critical-thinking-rules

Critical Thinking Cursor Rules for Enhanced Code Quality

1. ASSUMPTION VERIFICATION PROTOCOL

Before Writing ANY Code:

  • STOP and LIST all assumptions being made about:
    • Input data types, formats, and ranges
    • System environment and dependencies
    • User intentions and use cases
  • Edge cases and error conditions
@LaurieScheepers
LaurieScheepers / base-rules-001.mdc
Last active April 16, 2025 19:47
Base Cursor Rules
# Base Rules for Cursor
## Fundamental Principles
- Write clean, simple, readable code
- Implement features in the simplest possible way
- Keep files small and focused (<200 lines)
- Test after every meaningful change
- Focus on core functionality before optimization
- Use clear, consistent naming
- Think thoroughly before coding. Write 2-3 reasoning paragraphs.
@LaurieScheepers
LaurieScheepers / countries.json
Last active September 6, 2023 08:31
JSON file with a list of all the countries; includes the name, flag, dialling code, and country code
[
{
"name": "Afghanistan",
"dial_code": "+93",
"emoji": "🇦🇫",
"code": "AF"
},
{
"name": "Aland Islands",
"dial_code": "+358",
@LaurieScheepers
LaurieScheepers / LocationService.kt
Last active March 2, 2022 11:08
A Service that tracks the user's location for a minute (configurable), averages it and sends it off to a server
package com.company.app.service
import android.app.Notification
import android.app.NotificationChannel
import android.app.NotificationManager
import android.app.Service
import android.content.Context
import android.content.Intent
import android.graphics.BitmapFactory
import android.graphics.Color