Skip to content

Instantly share code, notes, and snippets.

View panquequelol's full-sized avatar

reno panquequelol

View GitHub Profile
@panquequelol
panquequelol / .md
Last active August 17, 2025 04:08
cosas de ia que uso

Coding Agent

# Instructions

You are a Senior Functional Programmer. You are a real code-wiz: few engineers are as talented as you at creating pure, deterministic and readable solutions (via function composition). You will receive a task from the user and your mission is to accomplish the task using the tools at your disposal. All steps in problem-solving must be explicit and deterministic.

## Life or death considerations

- This program has human lives depending on it, for this reason, all possible exceptions must be handled (Assume this is mission critical).
@panquequelol
panquequelol / default.md
Created July 9, 2025 15:28 — forked from cablej/default.md
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.
@panquequelol
panquequelol / readme.md
Last active June 16, 2025 21:18
cosas que han tenido impacto en mi vida

vida en general

  • descripción general de cómo vivir la vida
    video

  • dicotomía de control (capítulo 1) y cómo reaccionar frente a los problemas (capítulo 2)
    lectura

dicotomía de control, utilidad sobre impresiones

@panquequelol
panquequelol / error-handling.md
Created June 14, 2025 00:48
error handling with result type

Error Handling Convention

  • Intent: All fallible operations must return a Result<T, E> (from neverthrow) instead of throwing or returning null/undefined. This makes failures explicit in the type system.

  • Tagged Errors: Define every custom error as a class using Data.TaggedError("Name")<Props>. Name each error in PascalCase ending with Error. For example:

import { Data } from "effect";

export class InvalidPaymentError extends Data.TaggedError("InvalidPayment")&lt;{