Skip to content

Instantly share code, notes, and snippets.

View primaprashant's full-sized avatar

Prashant Anand primaprashant

View GitHub Profile
@primaprashant
primaprashant / polish-pr-skill.md
Last active January 26, 2026 07:15
Agent Skill to polish implementation before PR submission. Invoke after completing a task to clean comments, run formatting/linting, and ensure tests pass.
name description
polish-pr
Polish implementation before PR submission. Invoke after completing a task to clean comments, run formatting/linting, and ensure tests pass.

PR Polish Workflow

Execute the following steps in order. Do not proceed to the next step until the current step completes successfully.

Step 1: Identify Changed Files

@primaprashant
primaprashant / gpt-5.1-hn-summary-gemini-3-post.md
Created November 19, 2025 06:32
gpt-5.1-high generated summary of comments from Hacker News Gemini 3 post, about 15 hours after it had been posted and had 814 comments.

Hacker News Discussion Summary (gpt-5.1-high)

Post ID: 45967211 Title: Gemini 3 Points: 1312 Total Comments: 814 Model: openai/gpt-5.1 Generated: 2025-11-19 15:22:22 JST

Token Usage

@primaprashant
primaprashant / gemini-3-pro-hn-summary-gemini-3-post.md
Created November 19, 2025 06:30
gemini-3-pro-high generated summary of comments from Hacker News Gemini 3 post, about 15 hours after it had been posted and had 814 comments.

Hacker News Discussion Summary (gemini-3-pro-high)

Post ID: 45967211 Title: Gemini 3 Points: 1312 Total Comments: 814 Model: google/gemini-3-pro-preview Generated: 2025-11-19 15:23:34 JST

Token Usage

@primaprashant
primaprashant / gemini-2.5-pro-hn-summary-gpt-5-post.md
Created August 8, 2025 09:07
gemini-2.5-pro generated summary of comments from Hacker News GPT-5 post, about 15 hours after it had been posted and had 1983 comments.

Hacker News Discussion Summary

Post ID: 44826997 Title: GPT-5 Points: 1700 Total Comments: 1983 Model: vertex_ai/gemini-2.5-pro Generated: 2025-08-08 17:30:46

Token Usage

@primaprashant
primaprashant / gpt-5-high-hn-summary-gpt-5-post.md
Created August 8, 2025 09:06
gpt-5-high generated summary of comments from Hacker News GPT-5 post, about 15 hours after it had been posted and had 1983 comments.

Hacker News Discussion Summary

Post ID: 44826997 Title: GPT-5 Points: 1700 Total Comments: 1983 Model: gpt-5 Generated: 2025-08-08 17:32:41

Token Usage

@primaprashant
primaprashant / hn_post_summary.py
Created August 8, 2025 08:52
Python script to generate the summary of a Hacker News using one or more LLMs by calling OpenAI API compatible endpoints.
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "openai==1.99.3",
# "python-dotenv==1.1.1",
# ]
# ///
import argparse
import json
@primaprashant
primaprashant / vm-setup.sh
Created April 13, 2025 07:16
Quickly setup the new VM instances just the way I like it!
#!/bin/bash
sudo apt-get update & sudo apt-get install -y git vim tmux htop curl wget ncdu locales locales-all
# for debian systems
# https://serverfault.com/a/894545
sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen
sudo locale-gen
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
@primaprashant
primaprashant / textarea.html
Created February 5, 2025 13:41
A browser-based text drafting space that saves to localStorage, offering consistent behavior across devices and platforms while avoiding the quirks of various text input tools.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Full-Page Notes</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
html, body {
height: 100%;
@primaprashant
primaprashant / aerospace.toml
Created October 29, 2024 03:04
My Aerospace Configuration
start-at-login = true
enable-normalization-flatten-containers = false
enable-normalization-opposite-orientation-for-nested-containers = false
[workspace-to-monitor-force-assignment]
1 = 'main'
2 = 'main'
3 = 'main'
4 = 'main'