Skip to content

Instantly share code, notes, and snippets.

View milstan's full-sized avatar
🌍
Working from anywhere

Milan Stankovic milstan

🌍
Working from anywhere
View GitHub Profile

Prompt Learning

Given examples of desired output, automatically discover the best system prompt for any LLM task.

The Problem

Any codebase that uses LLMs has prompts — for text generation, data transformation, classification, summarization. These prompts are hand-written, manually iterated, and frozen. When requirements shift or quality degrades, a developer tweaks the prompt by hand again. There's no systematic way for agents to self-optimize their own prompts given examples of what good output looks like.

The Idea

@milstan
milstan / final-variant-A.html
Last active April 4, 2026 17:28
Custom Fields Frontend Wireframes (#2935)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1200">
<title>Custom Fields — Admin Config + Import Mapping</title>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
@milstan
milstan / mockup-sections.html
Created February 27, 2026 01:32
Leadbay — Individual section mockups (use ?s=1 through ?s=4)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background: #f5f6f8;
color: #1a1a2e;
@milstan
milstan / contact-table-mockups.html
Created February 27, 2026 01:32
Leadbay — Contact table column mockups for #3052
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Leadbay — Contact Column Mockups</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

Keybase proof

I hereby claim:

  • I am milstan on github.
  • I am milstan (https://keybase.io/milstan) on keybase.
  • I have a public key ASDUGjWJv9gM5snf24RjSg4xdbGdZMmOLRAbHYZ-M20iZgo

To claim this, I am signing this object: