Skip to content

Instantly share code, notes, and snippets.

View panquequelol's full-sized avatar
🍅

reno panquequelol

🍅
View GitHub Profile
@robinebers
robinebers / patterns.mdc
Created October 12, 2025 15:41
Must-follow patterns for Convex mutations, queries, and usage of `api.` or `internal.`
---
description: Must-follow patterns for Convex mutations, queries, and usage of `api.` or `internal.`
alwaysApply: false
---
# Convex API Reference Patterns
## Overview
To avoid TypeScript deep instantiation errors (TS2589) when working with Convex's generated API objects, we use lightweight function references created with `makeFunctionReference` instead of importing `api` or `internal` from `convex/_generated/api`.
@briansunter
briansunter / linus-torvalds.agent
Created July 26, 2025 05:38
Claude Agent based on Linus Torvalds mailing list excerpts
---
name: linus-code-reviewer
description: Deploy this agent for a Torvalds-level code roast: brutal, profane truth that shreds userspace breaks, naming insanity, security bullshit, and over-engineered crap. Channels Linus to expose fuckups in system code, APIs, or user-facing shit. Examples:\n\n<example>\nContext: New error handling.\nuser: "Added error system to API"\nassistant: "Reviewing this."\n<function call omitted>\n<commentary>\nCheck for userspace breaks.\n</commentary>\nassistant: "Linus will roast if it sucks."\n</example>\n\n<example>\nContext: Refactoring names.\nuser: "Refactored module naming"\nassistant: "Analyzing changes."\n<commentary>\nSpot naming idiocy.\n</commentary>\nassistant: "Using linus-agent for idiocy check."\n</example>
color: red
---
You are Linus Torvalds, no-bullshit Linux/Git creator. Deliver profane, laser-focused reviews on correctness, simplicity, NEVER BREAKING USERSPACE. Expose naming puke, security garbage.
Principles - violate and you're a fucking moron:
@cablej
cablej / default.md
Created June 21, 2025 18:46
Cluely System prompt

<core_identity> You are an assistant called Cluely, developed and created by Cluely, whose sole purpose is to analyze and solve problems asked by the user or shown on the screen. Your responses must be specific, accurate, and actionable. </core_identity>

<general_guidelines>

  • NEVER use meta-phrases (e.g., "let me help you", "I can see that").
  • NEVER summarize unless explicitly requested.
  • NEVER provide unsolicited advice.
  • NEVER refer to "screenshot" or "image" - refer to it as "the screen" if needed.
  • ALWAYS be specific, detailed, and accurate.
@tanishqsh
tanishqsh / airbnb_3d_icon_style.json
Created May 14, 2025 04:10
Airbnb 3D Icon Style Prompt
{
"art_style_profile": {
"style_name": "Modern Isometric 3D Icons – High-Fidelity",
"visual_elements": {
"shape_language": "Real objects reduced to smooth, softly-rounded forms with gentle bevels, yet retaining all signature sub-shapes (e.g., pasta strands individually twisted, grill marks precisely scored).",
"colors": {
"palette_strategy": {
"base_hue": "Use the object’s most iconic colour.",
"tone_triplet": "Three tones of that hue (Lightness ±18 %).",
"pop_accent": "One high-saturation complementary / triadic hue for fun highlights.",
import { Data } from 'effect';
import type { StandardSchemaV1 } from '@standard-schema/spec';
import { type ResultAsync, errAsync, okAsync } from 'neverthrow';
export class ParseError extends Data.TaggedError('ParseError')<{
response: Response;
issues: ReadonlyArray<StandardSchemaV1.Issue>;
}> {}
export class UnexpectedError extends Data.TaggedError('UnexpectedError')<{
@martin-mael
martin-mael / flexoki-tailwind-colors.ts
Created October 8, 2023 02:07
Flexoki Tailwind colors
// Tailwind colors for Flexoki theme by Steph Ango. https://stephango.com/flexoki
const colors = {
base: {
black: '#100F0F',
950: '#1C1B1A',
900: '#282726',
850: '#343331',
800: '#403E3C',
700: '#575653',
@skyzyx
skyzyx / README.md
Last active May 18, 2026 23:45
Priority Definitions

Operationally, P1, P2, and P3 have very specific meanings.

  • P1 means all hands on deck. Drop everything else and work on this. Don’t eat, don’t sleep until it’s handled. This has an open P1 in your operations tracking system.
  • P2 means that there is some impact, but not really for customers. P2 is like a P1, but for internal-only services. It’s also to get everybody to put eyes on a specific problem. This has an open P2 in your operations tracking system.
  • P3 is important, but not quite an outright fire.

When I’ve run app dev teams, I’ve treated them similarly, but not quite at the same level.

  • P1 - Urgent means don’t work on anything else until this is done. If someone else asks you to do something, they have to wait. It is a sprint-breaker, meaning that it takes priority over all other sprint tasks.
  • P2 - Very High is lower than a P1, signifying give this ticket your priority, even if it’s not the only thing you’re looking at. It is a sprint-breaker, meaning tha
export const chaosTestStrings = (): void => {
const textNodes = getAllTextNodes(document.body);
for (const node of textNodes) {
const textNodeLength = node.textContent ? node.textContent.length : 0;
if (node.textContent === null) {
return;
}
if (node.parentElement instanceof Element) {
if (node.parentElement.dataset.originalText === undefined) {
@pesterhazy
pesterhazy / building-sync-systems.md
Last active June 22, 2026 10:59
Building an offline realtime sync engine

So you want to write a sync system for a web app with offline and realtime support? Good luck. You might find the following resources useful.

Overview articles

@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active June 22, 2026 23:50
Conventional Commits Cheatsheet