Skip to content

Instantly share code, notes, and snippets.

@sharkey11
sharkey11 / whop-sales-onboarding-plan.md
Last active April 5, 2026 22:00
Whop Sales Onboarding App - Plan for Cursor Agent

Whop Sales Onboarding App

The Goal

Every new Whop sales rep should be dangerous within 2 weeks. They should deeply understand how Whop makes money, be able to articulate the payments value prop for their specific customer type, handle objections with real numbers, and write cold outreach that gets replies.

This app is the structured program that gets them there. It replaces a static slide deck with an interactive, AI-powered learning experience that quizzes reps, lets them practice sales calls against an AI prospect, and grades their outreach messages — all tailored to the type of customer they'll be selling to.

Tracks

@sharkey11
sharkey11 / wadmin-roles.md
Last active April 4, 2026 14:17
Wadmin users by role - 2026-04-04

Checkout Page Load Investigation — Why the iframe takes 15 seconds

Context

Jonathan flagged that a checkout config setup took 15 seconds to complete — that's 15 seconds of a user staring at a loading iframe before they can pay. The request ID provided was 5f5e5747-938a-443f-8799-8a6c9e481262, a create_checkout_configuration call from JVZoo.

What we found

The backend API is not the problem

Deployment Health

Owner: Diego | Due: March 23, 2026

Goals

  1. Speed up backend deploy time
  2. Add instant rollback to whop.engineering — one-click rollback to a previous backend deploy
  3. Reduce flaky backend deploys — find out why they fail, fix false positives
@sharkey11
sharkey11 / RailsAdminDashboard.md
Last active September 23, 2024 23:06
This is context for an LLM to make a rails admin dashboard

Building an admin dashboard

Our ruby on rails app contains an admin dashboard that lives on /admin. The admin dashboard allows users to interact with our database or features. Often times, when a feature is built, an admin dashboard will be made. The admin dashboard will often allow a user to read the data and/or write data back to the database.

The practice of building an admin dashboard is very repeatable. I will list out the example steps for a process for a feature known as the wheel.

Procedure

Your job is to understand this pattern and build an admin dashboard pull request. I will provide some inputs such as:

  • Database table name:
  • Tab category:
@sharkey11
sharkey11 / missing_fks.rb
Last active November 29, 2023 00:07
This script will look through your Schema and find any "foreign key" columns that are missing actual DB foreign keys. This could lead to orphaned rows and dirty data.
# Parse and identify potential foreign key issues in a Rails schema.rb file.
# TO USE THIS, SAVE THE FILE AND RUN IT USING RAILS RUNNER. EXAMPLE:
# `rails runner missing_fks.rb`
def extract_table_names(schema_lines)
schema_lines.select { |line| line.strip.start_with?('create_table') }
.map { |line| line.split('"')[1] }
end