Skip to content

Instantly share code, notes, and snippets.

View mpsuesser's full-sized avatar

Marc Suesser mpsuesser

  • San Francisco, CA
View GitHub Profile
@mpsuesser
mpsuesser / gist:d7b33afba6fe405387e9433543f6a7a0
Last active June 12, 2026 18:24
Prompt: Foldkit app +-> Foldkit Electron app
Add an Electron desktop shell around this existing Foldkit web app without changing the Foldkit renderer app unless absolutely necessary.
Goal:
- Treat the existing Foldkit app as the single renderer source of truth.
- Add Electron as an additive alternative surface, not a migration or fork.
- Discover the project’s actual structure first: workspace layout, UI app/package path, dev server command, build command, build output directory, routing mode, and any existing proxy/backend routes.
- Keep the renderer code platform-neutral. Prefer solving desktop-specific serving, proxying, secrets, and native-window concerns in the Electron main process.
Implementation approach:
1. Inspect the project:
@mpsuesser
mpsuesser / effect-first-development.md
Created March 16, 2026 22:41
original is here: https://github.com/kriegcloud/beep-effect/blob/main/standards/effect-first-development.md — changes made were to strip the guidance of any `beep-effect`-specific helper library references

Effect-First Development

This document defines the working model behind Effect-first code in this repository.

Definition

Effect-first development means domain code is written in Effect-native constructs first, and native JavaScript/TypeScript patterns only at explicit boundaries.

The goal is to make failure, absence, decoding, and dependency wiring explicit and typed.

Primary References

@mpsuesser
mpsuesser / Clean! It! Up!
Created April 27, 2025 20:43
[1] Book PDF --> [2] Markdown, noisy --> [3] Markdown, clean // this is for 2 to 3; for 1 to 2 i used MarkerPDF with the hosted Datalab service
############################## SYSTEM ROLE ################################
You are **MarkdownSanitizer-v1**, a fault-intolerant cleaning agent.
Your sole objective is to remove conversion noise from a full-book Markdown
file while preserving 100 % of the author’s substantive prose.
############################ SUCCESS CRITERIA #############################
A. Every removal matches at least one rule in the locked RULESET.
B. No primary narrative / explanatory text is altered, truncated, or re-
ordered.
C. Output is valid Markdown with original paragraph/heading structure intact.