Skip to content

Instantly share code, notes, and snippets.

@jai
jai / agents-md-generator-prompt.md
Created February 23, 2026 01:31
AGENTS.md Generator Prompt for FINN

AGENTS.md Generator Prompt for FINN (EWA-Services)

Instructions

You are generating a comprehensive, org-level AGENTS.md file for FINN (EWA-Services), a fintech startup with 83 active repositories. This file will be the root-level AI context document synced to all repositories via the existing EWA-Actions sync mechanism.

The AGENTS.md must be grounded in reality — derived from the actual configuration, policies, and conventions observed in the org, not aspirational or theoretical.

Input Context

WITH budget_comparison AS (
SELECT
ROUND(CAST(b1.amount AS FLOAT) / CAST(b2.amount AS FLOAT), 2) as budget_ratio
FROM
(SELECT amount FROM Budget b JOIN Event e ON b.link_to_event = e.event_id
WHERE e.event_name = 'Yearly Kickoff' AND b.category = 'Advertisement'
AND e.event_date = '2019-09-03T12:00:00') b1,
(SELECT amount FROM Budget b JOIN Event e ON b.link_to_event = e.event_id
WHERE e.event_name = 'October Meeting' AND b.category = 'Advertisement'
AND e.event_date = '2019-10-08T12:00:00') b2
WITH
-- Find the most recent fall semester's October Meeting and Yearly Kickoff events
fall_events AS (
SELECT event_id, event_name, event_date
FROM Event
WHERE event_name IN ('Yearly Kickoff', 'October Meeting')
AND CAST(strftime('%m', event_date) AS INTEGER) BETWEEN 8 AND 12
ORDER BY event_date DESC
),
@jai
jai / collect-finn-context.sh
Created February 23, 2026 01:31
FINN AI Context Collection Script
#!/usr/bin/env bash
# collect-finn-context.sh — Collect all AI context, CI config, and repo metadata
# from the EWA-Services GitHub org for AGENTS.md generation.
#
# Prerequisites: gh CLI authenticated with access to EWA-Services org
# Output: /tmp/finn-context/ directory with all collected data
#
# Usage: bash /tmp/collect-finn-context.sh [--repos N] [--output-dir DIR]
set -euo pipefail
@forkyau
forkyau / hourly_rainfall_data-2026-02-23|09-15.csv
Created February 23, 2026 01:31
GIST created by python code
id station stationid value unit obstime date
0 流浮山 RF001 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
1 湿地公园 RF002 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
2 水边围 N12 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
3 石岗 RF003 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
4 大美督 RF004 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
5 大埔墟 RF005 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
6 北潭涌 RF006 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
7 滘西洲 RF007 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
8 西贡 N15 0 mm 2026-02-23T09:15:00+08:00 2026-02-23
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 23, 2026 01:29
Rimworld output log published using HugsLib
Log uploaded on Monday, February 23, 2026, 9:28:59 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.4.2.0]: 0Harmony(2.4.1), HarmonyMod(2.4.2)
Core(Ludeon.RimWorld): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.4.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
[DHM]Preservation_Sarcophagus(drilledhead.preservationSarcophagus): Building_CorpseGrave(0.0.0)
[FSF] Growable Grass(FrozenSnowFox.GrowableGrass): (no assemblies)
@SakuraRinDev
SakuraRinDev / index.html
Created February 23, 2026 01:28
[javascript] ❍ Circular Animations Set N°1
<h1>CIRCLE ANIMATIONS COLLECTION</h1>
<div class="container">
<!-- 1 -->
<div class="animation-container">
<div class="animation-title">Pulsating Circles</div>
<div id="anim1" class="circle-container"></div>
</div>
<!-- 2 -->
<div class="animation-container">
<div class="animation-title">Rotating Orbits</div>
@Dannyhbrown 😭🤣
— @alexdolbun (@alexdolbun)
Feb 23, 2026
February 22, 2026 at 03:24PM
via X https://ift.tt/kSf3mWc
@Jonahbkerr
Jonahbkerr / types.ts
Created February 23, 2026 01:26
types.ts for Replit deploy
export interface User {
id: string;
email: string;
name: string;
avatar_url: string | null;
provider: 'github' | 'google' | 'okta' | 'apple' | 'internal';
provider_id: string;
organization_id: string | null;
created_at: Date;
last_login: Date | null;
@Jonahbkerr
Jonahbkerr / run-migrations.ts
Created February 23, 2026 01:25
run-migrations.ts for Replit deploy
import { query } from './db';
import { logger } from './logger';
/**
* Runs idempotent migrations on startup.
* Safe to execute on every boot — all statements use IF NOT EXISTS / IF EXISTS.
*/
export async function runStartupMigrations(): Promise<void> {
logger.info('Running startup migrations...');