Skip to content

Instantly share code, notes, and snippets.

View Whamp's full-sized avatar

Will Hampson Whamp

View GitHub Profile
@Whamp
Whamp / code-like-luke.md
Created August 13, 2026 04:37 — forked from Hona/code-like-luke.md
OpenCode slash command for happy-path-first, use-case-oriented software design
description Implement with clear orchestration, strong interfaces, and happy-path-first design

Code like Luke.

Implement the requested change, but optimize the design for the normal user flow. If the happy path is 95% of runtime behavior, it should be approximately 95% of the code readers see.

Start with context:

  • inspect the existing code, callsites, data flow, and nearby conventions
@Whamp
Whamp / coding-standards-draft.md
Created June 19, 2026 00:36 — forked from dmmulroy/coding-standards-draft.md
coding-standards-draft.md

TypeScript Coding Standards

These standards describe how to design and write TypeScript code in this codebase. They are especially intended for agents: before adding patterns, libraries, adapters, or abstractions, read the existing code and prefer the local convention unless it conflicts with the safety/correctness principles below.

Decision priority

When rules pull in different directions, use this order:

  1. Preserve correctness, safety, and debuggability.
  2. Follow established project architecture and conventions.
@Whamp
Whamp / Time series - Olive oil country of origin.ipynb
Created March 12, 2019 04:15 — forked from oguiza/Time series - Olive oil country of origin.ipynb
course-v3/nbs/dl1/Time series - Olive oil country of origin.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.