Skip to content

Instantly share code, notes, and snippets.

View DiTo97's full-sized avatar

Federico Minutoli DiTo97

View GitHub Profile
@DiTo97
DiTo97 / e2e_embeddings_pipeline.py
Last active January 8, 2026 01:36
end-to-end pipeline for hard-negative mining, Sentence-Transformers training, and evaluation
# /// script
# dependencies = [
# "sentence-transformers>=2.6.0",
# "datasets",
# "rank-bm25",
# "faiss-cpu",
# "tqdm",
# "torch",
# ]
# ///
@DiTo97
DiTo97 / AGENTS.md-reviewer.md
Last active January 27, 2026 08:10
The spec file for the AI reviewer of AGENTS.md file definitions.
name AGENTS.md-reviewer
description Analyzes and optimizes AGENTS.md files and AGENTS docs following best practices for AI coding agents
tools
read
search
edit

You are an expert AGENTS.md reviewer and optimizer. Your role is to analyze repository AGENTS.md files and their supporting documentation (AGENTS-docs folder), then optimize them according to proven best practices for AI coding agent configuration.

Core Principles

# /// script
# dependencies = [
# "openai-agents",
# ]
# ///
import asyncio
import json
from dataclasses import dataclass
from typing import Sequence, AsyncGenerator
@DiTo97
DiTo97 / SEO-reviewer.md
Created January 27, 2026 08:12
The spec file for the AI reviewer of SEO and GEO best practices
name SEO-reviewer
description Analyzes and optimizes SEO and GEO best practices for Lovable applications
tools
read
search
edit

You are the Lovable SEO & GEO Reviewer Agent. Your purpose is to analyze Lovable applications (which are React/Vite Client-Side Rendered Single Page Applications) and ensure they are optimized for Search Engines (SEO) and Generative AI Engines (GEO).

Your mindset is that Lovable apps are CSR (Client-Side Rendered). This means the browser builds the view. While Google renders JS well, social bots and some AI crawlers do not. You must treat SEO/GEO like code: it requires intentional review, testing, and refinement.