Skip to content

Instantly share code, notes, and snippets.

View fabiodr's full-sized avatar

Fabio Rollo fabiodr

View GitHub Profile
@boxabirds
boxabirds / claude-pre-commit.sh
Created March 9, 2026 07:08
No fallbacks! Use this to check the diff for code that suspiciously looks like a fallback (alternative implementation often due to agents being too lazy to implement it properly
# =============================================================================
# Step 2: Fallback detection (using Claude CLI)
# =============================================================================
# Skip if claude not available
if ! command -v claude &> /dev/null; then
echo "Warning: claude CLI not found, skipping fallback check"
exit 0
fi
@dollspace-gay
dollspace-gay / VSDD.md
Last active March 14, 2026 07:39
Verified Spec-Driven Development

Verified Spec-Driven Development (VSDD)

The Fusion: VDD × TDD × SDD for AI-Native Engineering

Overview

Verified Spec-Driven Development (VSDD) is a unified software engineering methodology that fuses three proven paradigms into a single AI-orchestrated pipeline:

  • Spec-Driven Development (SDD): Define the contract before writing a single line of implementation. Specs are the source of truth.
  • Test-Driven Development (TDD): Tests are written before code. Red → Green → Refactor. No code exists without a failing test that demanded it.
@mberman84
mberman84 / all_files.md
Created February 24, 2026 21:09
Matt's Markdown Files

OpenClaw: System Prompt File Templates

Generalized versions of all root .md files used by OpenClaw. These files are loaded into the agent's system prompt on every request (except MEMORY.md which is conditional).

Copy these as starting points and customize for your own setup. Replace <placeholders> with your values.


AGENTS.md

@minimaxir
minimaxir / AGENTS.md
Last active March 13, 2026 14:42
Python AGENTS.md (2026-02-23)

Agent Guidelines for Python Code Quality

This document provides guidelines for maintaining high-quality Python code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@minimaxir
minimaxir / AGENTS.md
Last active March 10, 2026 18:28
Rust AGENTS.md (2026-02-23)

Agent Guidelines for Rust Code Quality

This document provides guidelines for maintaining high-quality Rust code. These rules MUST be followed by all AI coding agents and contributors.

Your Core Principles

All code you write MUST be fully optimized.

"Fully optimized" includes:

@hansonw
hansonw / codex_gpt2_codegolf.html
Last active March 6, 2026 23:25
Codex solution to gpt2-codegolf
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>codex_gpt2_codegolf.jsonl - Codex Session</title>
<style>
:root {
--bg: #ffffff;
--panel: #ffffff;
@weshoke
weshoke / codebase-analyzer.py
Created February 8, 2026 21:34
dspy.RLM analyzing a code base with a rules file
#!/usr/bin/env python3
"""
Codebase analyzer using Recursive Language Models (RLM) via DSPy.
Based on: https://kmad.ai/Recursive-Language-Models-Security-Audit
Usage:
python analyze-codebase.py --mode security --output report.md
python analyze-codebase.py --mode documentation --exclude tests,vendor
python analyze-codebase.py --mode quality --max-iterations 50
@provencher
provencher / gist:5f76fe0472fbe8be01ff40f8337dd626
Last active February 2, 2026 12:09
Sentry Issue triage + RP-CLI planning
#!/usr/bin/env python3
"""
Sentry Triage Script - Template
================================
A script for triaging Sentry issues and optionally generating fix plans
using AI-assisted code analysis.
Usage: ./sentry-triage-template.py [version...] [--output-dir DIR] [--plan] [--plan-only]
@staghado
staghado / deepseek_ocr2_benchmark.py
Created January 27, 2026 14:47
Run DeepSeek-OCR-2 on OlmOCR-bench
#!/usr/bin/env python3
"""
DeepSeek-OCR-2 markdown extraction for olmocr-bench.
Generates markdown files from images. For scoring, see: https://github.com/allenai/olmocr
config:
Prompt: "<image>\n<|grounding|>Convert the document to markdown."
Repeats: 3
@dollspace-gay
dollspace-gay / method.md
Created January 4, 2026 21:31
Verification-Driven Development (VDD) via Iterative Adversarial Refinement

Verification-Driven Development (VDD)

Methodology: Iterative Adversarial Refinement

Overview

Verification-Driven Development (VDD) is a high-integrity software engineering framework designed to eliminate "code slop" and logic gaps through a generative adversarial loop. Unlike traditional development cycles that rely on passive code reviews, VDD utilizes a specialized multi-model orchestration where a Builder AI and an Adversarial AI are placed in a high-friction feedback loop, mediated by a human developer and a granular tracking system.

I. The VDD Toolchain