Skip to content

Instantly share code, notes, and snippets.

# PRD and Task Generation Rules
## Triggers
- `/prd [feature-name]` - Creates PRD document
- `/create-to-dos [feature-name]` - Creates implementation to-dos breakdown document
- `/process-to-do [feature-name] [phase]` - Process specific to-dos from a feature
- `/wrap-to-do [feature-name]` - Create implementation notes for completed work
## Goals
- **PRD**: Guide the AI assistant in creating detailed Product Requirements Documents (PRDs) in Markdown format based on user prompts. PRDs should be clear, actionable, and suitable for junior developers to understand and implement.
@vic
vic / README.md
Last active July 1, 2025 21:35
fx-rs

Composable Effectful Computations in Rust: Integrating Algebraic Effects, Lenses, and Contextual Adaptation

fx-rs: An algebraic effects system for Rust.

Abstract

Effect systems have become a powerful tool for structuring modular, composable, and type-safe effectful computations. While algebraic effects and handlers have seen widespread adoption in languages like Haskell and OCaml, their integration in Rust remains limited. We present Fx, a novel effect system for Rust that unifies algebraic effects, lenses, and contextual adaptation in a single, extensible abstraction. Fx enables ergonomic composition of effectful computations, modular interpretation via handlers, and fine-grained state manipulation using lenses. We demonstrate how Fx supports advanced patterns such as context adaptation and effectful accumulation, and evaluate its expressiveness and ergonomics through practical examples. Our work shows that Rust’s type system and ownership model can support advance

@Jalalx
Jalalx / DeleteAllClaudeAiChats.md
Last active September 1, 2025 19:29
Script to delete Claude AI conversations history without any dependency or using external tool.

What is this?

You want to delete all your conversations with Claude AI, but there is no button to clean them by one click (Like what ChatGPT has). Using this instructions, you can clean all conversations. No dependency or external tool is needed (except your Google Chrome browser!)

To delete all chats with the Claude AI:

  1. Open Google Chrome and go to https://claude.ai
  2. Login to your account and start a new chat conversation
  3. Open DevTools and go to the Network tab
  4. You need to find the origanization id. Paste the https://claude.ai/api/bootstrap in the Filter input to find the calls to that URL. If you could not find it, reload the page. Also make sure you are selecting the "All" type. You will see calls that contain a uuid in the url which is your organization id.
  5. Now move to the Console tab and then paste the following two functions:

function deleteConversation(organizationID, uuid) {

@VictorTaelin
VictorTaelin / hoc_historical_overview.md
Last active April 26, 2025 15:08
Higher Order Company: Complete Historical Overview - WIP

Higher-Order Company: Complete Historical Overview

This document is a complete historical overview of the Higher Order Company. If you want to learn anything about our background, a good way to do so is to feed this Gist into an AI (like Sonnet-3.5) and ask it any question!

My Search for a Perfect Language

It all started around 2015. I was an ambitious 21-year-old CS student who, somehow, had been programming for the last 10 years, and I had a clear goal:

I want to become the greatest programmer alive

@VictorTaelin
VictorTaelin / towards_an_optimal_computer.md
Last active August 11, 2025 12:54
Higher-Order Company: Towards an Optimal Computer

Higher-Order Company: Towards an Optimal Computer

What is the true nature of computation?

A hundred years ago, humanity answered that very question, twice. In 1936, Alan invented the Turing Machine, which, highly inspired by the mechanical trend of the 20th century, distillated the common components of early computers into a single universal machine that, despite its simplicity, was capable of performing every computation conceivable. From simple numerical calculations to entire

@veekaybee
veekaybee / normcore-llm.md
Last active September 3, 2025 21:15
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

@IanColdwater
IanColdwater / twittermute.txt
Last active August 18, 2025 07:02
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
@absk1317
absk1317 / clear_gitlab_artifacts.rb
Created September 16, 2019 09:40
delete old gitlab artifacts
require 'httparty'
token = 'YOUR_TOKEN'
project_id = 'PROJECT_ID'
query = { per_page: 100 }
headers = { "PRIVATE-TOKEN" => token }
server = "https://gitlab.com/api/v4/projects/#{project_id}/jobs"
response = HTTParty.get(server, query: query, headers: headers)
@vic
vic / README.md
Last active December 9, 2016 21:22
Display elixir exceptions / mix test / credo as iTerm2 notifications.

Open your iTerm2 preferences, then under Profiles / Advanced / Triggers add some regular expressions for the errors you want to notify. On Action select Post Notification, if the regex has group captures, you can use them as parameters.

FunTip: Under Action select Run Command with parameters: say "\1"

ProTip: mix test --listen-on-stdin will re-run tests when you hit enter. Others like to use the mix_test_watch package, but I prefer not to add another dependency.

@oinopion
oinopion / read-access.sql
Created October 5, 2016 13:00
How to create read only user in PostgreSQL
-- Create a group
CREATE ROLE readaccess;
-- Grant access to existing tables
GRANT USAGE ON SCHEMA public TO readaccess;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO readaccess;
-- Grant access to future tables
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO readaccess;