From 46a0f7b9153ddd6f543892cbede13de5737ba5a0 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sat, 11 Jul 2026 23:45:35 -0400 Subject: [PATCH] feat(data): add intro heading and summary to llms.txt builders --- src/data/llms.ts | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/data/llms.ts b/src/data/llms.ts index 448be2b..f19ab76 100644 --- a/src/data/llms.ts +++ b/src/data/llms.ts @@ -3,7 +3,6 @@ import { getCollection } from "astro:content"; import { getAllExperience } from "@/data/experience"; import { getAllPosts } from "@/data/post"; import { getAllSpeaking } from "@/data/speaking"; -import { siteConfig } from "@/site.config"; /** Builders for /llms.txt (index) and /llms-full.txt (full content), per https://llmstxt.org */ @@ -11,6 +10,11 @@ const absUrl = (path: string) => new URL(path, import.meta.env.SITE).href; const isoDate = (date: Date) => date.toISOString().slice(0, 10); +const introHeading = "# Prad Nukala"; + +const introSummary = + "> Engineer & founder. Co-founder/CEO of Sonr ($4.7M raised). Built Layer-1 + full cryptography stack (ZKP/MPC), gasless onboarding, and led high-ownership teams. Optimized for autonomous, high-speed execution."; + const yearRange = (start: Date, end?: Date) => `${start.getFullYear()}–${end ? end.getFullYear() : "Present"}`; @@ -38,11 +42,9 @@ export async function buildLlmsIndex(): Promise { const { experience, projects, writing, speaking } = await getAllContent(); const lines: string[] = [ - `# ${siteConfig.title}`, + introHeading, "", - `> ${siteConfig.description}`, - "", - `Personal site of ${siteConfig.author} — engineer and founder building decentralized identity infrastructure; co-founder and CEO of Sonr; W3C and DIF working-group member.`, + introSummary, "", "## Experience", "", @@ -101,9 +103,9 @@ export async function buildLlmsFull(): Promise { const { experience, projects, writing, speaking } = await getAllContent(); const lines: string[] = [ - `# ${siteConfig.title} — full content`, + `${introHeading} — full content`, "", - `> ${siteConfig.description}`, + introSummary, "", ...section( "Experience",