Skip to content

Instantly share code, notes, and snippets.

View pscordeiro's full-sized avatar

Paulo Cordeiro pscordeiro

View GitHub Profile

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@thiagochirana
thiagochirana / prompt.md
Last active November 11, 2025 02:11
Exemplo de saída de prompt que foi gerado para gerar landing Page no Lovable

Aqui está a versão mais detalhada do prompt/script que você pode usar para gerar uma landing page completa e responsiva, similar à da tal — ideal para o Lovable.


🧠 Prompt completo (detalhado, nível profissional)

Crie uma landing page moderna, responsiva e otimizada para conversão, inspirada na estrutura visual e de UX do site https://site.com.

A página deve seguir o padrão de uma empresa de dedetização e sanitização profissional, com linguagem clara, foco confiança, limpeza e agilidade no atendimento.

@IgorHalfeld
IgorHalfeld / addSibs.js
Last active April 25, 2024 14:24
add sibelius to any website
function addSibs () {
const div = document.createElement('div')
const img = document.createElement('img')
div.style.position = 'fixed'
div.style.zIndex = '99999999'
div.style.right = '100px'
div.style.bottom = '0px'
div.appendChild(img)
@jasdeepkhalsa
jasdeepkhalsa / cookie.js
Created January 28, 2013 09:26
A complete cookies reader/writer framework with full unicode support by Mozilla