Skip to content

Instantly share code, notes, and snippets.

View audreyfeldroy's full-sized avatar
💕

Audrey M. Roy Greenfeld audreyfeldroy

💕
View GitHub Profile
@audreyfeldroy
audreyfeldroy / create-agent-instructions.md
Created August 11, 2025 01:33
Ampcode's prompt for generating AGENT.md, copied from Amp VSCode extension

Please analyze this codebase and create an AGENT.md file containing:

  1. Build/lint/test commands - especially for running a single test
  2. Architecture and codebase structure information, including important subprojects, internal APIs, databases, etc.
  3. Code style guidelines, including imports, conventions, formatting, types, naming conventions, error handling, etc.

The file you create will be given to agentic coding tools (such as yourself) that operate in this repository. Make it about 20 lines long.

If there are Cursor rules (in .cursor/rules/ or .cursorrules), Claude rules (CLAUDE.md), Windsurf rules (.windsurfrules), Cline rules (.clinerules), Goose rules (.goosehints), or Copilot rules (in .github/copilot-instructions.md), make sure to include them. Also, first check if there is a AGENT.md file, and if so, update it instead of overwriting it.

@audreyfeldroy
audreyfeldroy / my_pypi_release_checklist_2025.md
Last active August 7, 2025 07:34
My PyPI Release Checklist 2025
@audreyfeldroy
audreyfeldroy / air-live-example.md
Created August 7, 2025 03:27
Example of air-live fenced code block from AirMarkdown

Hey

air.P("I get rendered by AirMarkdown(), yay!")

This is going to be fun to use :)

@audreyfeldroy
audreyfeldroy / vim_mappings_normal_mode_alphabetical.txt
Created September 6, 2024 08:52
Vim mappings, normal mode, alphabetical order
A - Append text at the end of the line
B - Move back to the beginning of a word
C - Change to the end of the line
D - Delete to the end of the line
E - Move to the end of a word
F - Find the next occurrence of a character
G - Go to the last line of the document
H - Move to the top of the screen
I - Insert text at the beginning of the line
J - Join the current line with the next line
@audreyfeldroy
audreyfeldroy / vim_cheat_sheet_for_beginners.md
Last active March 27, 2025 19:15
Vim Cheat Sheet for Beginners

Vim Cheat Sheet for Beginners

Modes

Key Mode
i Insert
Esc Normal
v Visual
: Command-line
@audreyfeldroy
audreyfeldroy / fasthtml_minidataapi_wip.md
Last active March 14, 2025 17:27
FastHTML MiniData API WIP

MiniDataAPI Spec

The MiniDataAPI is a persistence API specification that designed to be small and relatively easy to implement across a wide range of datastores. While early implementations have been SQL-based, the specification can be quickly implemented in key/value stores, document databases, and more.

Why?

TODO: Write why we're doing this, in a really interesting way! __

Work in Progress

@audreyfeldroy
audreyfeldroy / jupyter_nbclassic_shortcuts.md
Last active August 23, 2024 07:07
Jupyter nbclassic keyboard shortcuts (copied from nbclassic > H)

Command Mode (press Esc to enable)

F : find and replace

: enter edit mode

⌘⇧F : open the command palette

⌘⇧P : open the command palette

@audreyfeldroy
audreyfeldroy / htmx.md
Created August 19, 2024 00:25
htmx.md

#htmx in a Nutshell

htmx is a library that allows you to access modern browser features directly from HTML, rather than using javascript.

To understand htmx, first lets take a look at an anchor tag:

<a href="/blog">Blog</a>

@audreyfeldroy
audreyfeldroy / kotlin_for_devs_cheatsheet.md
Last active May 23, 2024 03:12
Audrey's Kotlin for Developers Cheatsheet

Variables

Declare var for a mutable variable:

var name = "Mommy"
name = "Uma"

Declare val for a read-only constant: