Skip to content

Instantly share code, notes, and snippets.

View mattleibow's full-sized avatar
🏠
Working from home

Matthew Leibowitz mattleibow

🏠
Working from home
View GitHub Profile
@mattleibow
mattleibow / index.html
Last active July 8, 2026 21:20
Garden AI — XAML→Markdown UI Indexer teleprompter
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Garden AI — How Sage guides you through the app</title>
<style>
:root {
--bg: #0f1512;
--bg2: #16211b;
@mattleibow
mattleibow / README.md
Last active June 30, 2026 15:44
SkiaSharp 4.0 blog assets: .NET 10 single-file app rendering two looping animated WebPs (variable-font weight morph + color-font palette cycle) with SkiaSharp 4.148.0

SkiaSharp 4.0 — animated font screenshots

A self-contained .NET 10 file-based app that renders two looping animated WebPs for the "SkiaSharp 4.0 is here" blog post, using the 4.148.0 NuGet packages. Each image showcases a new v4 capability, and the act of encoding them exercises a third (the animated WebP encoder).

Output Shows v4 features
skiasharp-variable.webp The word SkiaSharp in Inter Variable, its wght axis morphing 100 → 900 → 100 Variable-font axes via SKTypeface.Clone(font variations) + animated WebP
skiasharp-color.webp v4 in the Nabla COLR/CPAL color font, cycling all 7 palettes Color-font palettes via SKTypeface.Clone(paletteIndex) + animated WebP
@mattleibow
mattleibow / nav2-abstractions-all.cs
Created May 13, 2026 16:38
Navigation v2 abstractions — all 14 interface/class files concatenated
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Maui.Navigation
{
/// <summary>
/// Test double for INavigationService. Ships in the abstractions package
/// so unit tests don't need platform references.
@mattleibow
mattleibow / perfect-nav-spec.md
Created May 7, 2026 17:25
The Perfect Navigation System for .NET MAUI — cross-platform comparison and ground-up design

The Perfect Navigation System for .NET MAUI

What Would It Look Like If We Started From Scratch?

This document compares navigation systems across platforms and frameworks, identifies what each gets right and wrong, and proposes what a ground-up replacement for MAUI navigation would look like. The goal is to design the ideal system first, then layer backward compatibility on top — not the other way around.


Part 1: The Landscape Today

@mattleibow
mattleibow / navigation-v2.md
Last active May 13, 2026 16:38
Shell v2: Incremental Navigation Redesign — spec for discussion

The Perfect Navigation System for .NET MAUI

What Would It Look Like If We Started From Scratch?

This document compares navigation systems across platforms and frameworks, identifies what each gets right and wrong, and proposes what a ground-up replacement for MAUI navigation would look like. The goal is to design the ideal system first, then layer backward compatibility on top — not the other way around.

Relationship to Other Proposals

Document Scope Relationship
@mattleibow
mattleibow / deps-diagram.md
Last active May 6, 2026 19:04
SkiaSharp Build Dependency Graph

SkiaSharp Pipeline Stage Flow

Actual ADO Pipeline Execution

graph TD
    P[prepare] --> NM[native_macos<br>10 jobs]
    P --> NW[native_windows<br>19 jobs]
    P --> NL[native_linux<br>25 jobs]
 P --&gt; NWASM[native_wasm16 jobs]
@mattleibow
mattleibow / native-build-deps.md
Last active May 2, 2026 02:02
SkiaSharp Native Build Dependency Graph

Build Dependency Graph

Auto-generated by python3 scripts/infra/caching/generate-dep-graph.py Explore: paste the mermaid block into mermaid.live

Pipeline Stages

flowchart TB
@mattleibow
mattleibow / skiasharp-api-decoupling-analysis.md
Created April 30, 2026 15:38
Deep Research: Decoupling SkiaSharp's Public API From Skia — agreements, disagreements, and creative alternatives

Deep Research: Decoupling SkiaSharp's Public API From Skia

Context: This is a research-driven response to a thought experiment proposing that SkiaSharp should evolve from a 1:1 Skia mirror into a "Skia-inspired but independently versioned" API. Five parallel research agents investigated the actual codebase, tooling, consumer impact, and creative alternatives.


✅ What I AGREE With

1. "Churn is concentrated, not pervasive" — Verified, mostly.

@mattleibow
mattleibow / skia-analyst-issue.md
Last active April 29, 2026 17:11
SkiaSharp API Gap Analysis — 50 actionable items from full Skia m88-m148 scan

Skia Analyst Report

50 actionable items · 16 already bound · 29 no action needed
m147 (full scan) · Generated 2026-04-29

Legend

Status (squares)

@mattleibow
mattleibow / skia-analyst-2026-04-29.html
Created April 29, 2026 07:54
Skia Analyst: Full scan m147 — 95 findings, both changelog and gap analysis
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Skia Analyst — m147 (full, 2026-04-29)</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
:root{--bg:#f6f8fa;--border:#d8dee4;--row-hover:#f0f4f8;--muted:#656d76;}
body{background:var(--bg);color:#1f2328;font-size:14px;}