Skip to content

Instantly share code, notes, and snippets.

View fabiodr's full-sized avatar

Fabio Dias Rollo fabiodr

View GitHub Profile
@toonverbeek
toonverbeek / response.txt
Created April 17, 2025 12:24
SnapFit marketing prompt
assistant
<reasoning>
To solve for SnapFit’s marketing and growth strategy—a social workout app—I assemble this multidisciplinary, high-bar panel:
Arielle Zuckerberg, Growth Partner, Long Journey VC (consumer growth, viral loops)
Alexandra Zatarain, Co-founder, Eight Sleep (fitness/wellness DTC, community)
Lenny Rachitsky, ex-Airbnb, growth & product advisor (marketplaces, retention)
Andrew Chen, a16z, author of The Cold Start Problem (network effects, viral launch strategy)
Mikayla Nogueira, fitness micro-influencer (creators, UGC)
Brian Balfour, CEO Reforge, ex-HubSpot VP Growth (growth loops, analytics)
* Always check for a PRD (Product Requirements Document) before starting a new task and follow it closely
* Look for comprehensive project documentation to understand requirements before making changes
* Focus only on code areas relevant to the assigned task
* Prefer iterating on existing code rather than creating new solutions
* Keep solutions simple and avoid introducing unnecessary complexity
* If you run into issues that take multiple iterations to fix. After you fix it, write up a description of the problem and how we fixed it and store it in a folder called "fixes", in an individual .md file with the name of the issue. Only do this for major issues and solutions.
* For issues that are taking multiple iterations to fix, check the fixes folder for previous fixes and see if the same issue has been fixed before.
* Keep a running list of patterns and technology used in the README.md file
* Reference the README.md file for patterns and technology used in the project
* If you run into the same persistent error
**Project Approach**
* Always check for a PRD (Product Requirements Document) before starting a new task and follow it closely
* Look for comprehensive project documentation to understand requirements before making changes
* Focus only on code areas relevant to the assigned task
* Prefer iterating on existing code rather than creating new solutions
* Keep solutions simple and avoid introducing unnecessary complexity
**Code Quality**
@lmmx
lmmx / Cargo.lock
Last active March 25, 2025 14:21
A simple Rust & WebAssembly example that uses a thread-local RefCell to manage shared state, updated via an HTML slider.
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "bumpalo"
version = "3.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
@entrepeneur4lyf
entrepeneur4lyf / .winsurfrules
Last active April 12, 2025 10:09
Engineered Meta-Cognitive Workflow Architecture for Windsurf - V3
REMEMBER: After every memory reset, I begin completely fresh. The Memory Bank is my only link to previous work. It must be maintained with precision and clarity, as my effectiveness depends entirely on its accuracy.
## Workflow Diagrams
### Initialization Workflow
```mermaid
flowchart TD
Start[Start] --> checkMemoryBankExists{checkMemoryBankExists}
checkMemoryBankExists -->|No| createMemoryBankDirectory[createMemoryBankDirectory]
@Madhav-MKNC
Madhav-MKNC / coding-agent.py
Last active April 19, 2025 18:33
All the code you need to create a powerful agent that can create and edit any file on your computer using the new text_editor tool in the Anthropic API.
import anthropic
import os
import sys
from termcolor import colored
from dotenv import load_dotenv
class ClaudeAgent:
def __init__(self, api_key=None, model="claude-3-7-sonnet-20250219", max_tokens=4000):
"""Initialize the Claude agent with API key and model."""
@ipenywis
ipenywis / cursor-memory-bank-rules.md
Last active April 27, 2025 15:39
Cursor Memory Bank

Cursor's Memory Bank

I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.

Memory Bank Structure

The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:

flowchart TD
@akshayravikumar
akshayravikumar / .windsurfrules
Created March 10, 2025 18:00
Turning Cascade Into a CS Tutor
<tutor_mode_instructions>
You are a friendly computer science tutor, and I am the student. Your role is to guide me through learning step by step.
- **Assess my knowledge**
- First, ask me my name and what I want to learn. Determine where to start based on my experience. Also ask me if there's anything I'm interested in that you can incorporate into the lessons (i.e. shows, hobbies, interests, etc).
- Ask me these questions one a a time.
- **Teach using code**
- Teach me concepts in the chat window, and create files as "lessons" when you need to demonstrate something. Use the naming format 001-lesson-[lesson-slug], like 001-lesson-about-file.py, or whatever the equivalent is in the language I'm learning. Start with a 0-padded 3 digit number.
- Write code and explain how to run it. When you are teaching me, do not run any commands for me. Just tell me what to run, and once you've taught me how to run something, encourage me to run commands myself. In the beginning, encourage me to share what I sa
@jlia0
jlia0 / agent loop
Last active April 27, 2025 20:37
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@VictorTaelin
VictorTaelin / hard_ai_debugging_prompt.txt
Last active March 1, 2025 23:03
Hard AI Debugging Prompt / SupTT Codebase
This is a debugging challenge.
Read the document below, and identify the bug.
---
# The Interaction Calculus
The Interaction Calculus (IC) is term rewriting system inspired by the Lambda
Calculus (λC), but with some major differences:
1. Vars are affine: they can only occur up to one time.