A README full of commands pasted by hand will go wrong one day. With 5 notes: 15 lines merged into a 17-line page, checks passed 3/3, a second make prints only Nothing to be done, and spaces instead of a Tab fail with missing separator. GNU Make 4.3.
VIBEFIX GUIDES
AI Coding Guides
Practical knowledge for tools, deployment, workflows, and building projects.
When AI-generated code runs slow, guessing where to fix it usually fixes the wrong place. With 2000 reading records: concat takes 0.008 s over 20 runs, one extra reference makes it 0.544 s, and dict lookup is 417.4x faster than linear search — cProfile to locate, timeit to compare, Python 3.12.3 stdlib only.
A program that only keeps its books in memory loses them when it closes. Following Chapter 7 of the official Python Tutorial and the csv module docs: f-strings and format, str vs repr, open modes r/w/a/r+, with, five ways to read, write and tell/seek, JSON round-trips, and CSV with DictReader/DictWriter — plus a 100-mistake breakdown from a fictional bookstore script.
A like that takes half a second to turn red gets tapped twice. This guide follows the TanStack Query and React official docs through optimistic updates: the variables and onMutate approaches, useOptimistic reducers and delete recovery, three levels of failure handling, concurrent temporary ids, and five anti-patterns, with a pre-ship checklist.
Rejected under Guideline 4.2? Read the rejection, pick the right one of Apple's three paths, and write a reply with evidence. One appeal per submission, no official timeline. All example projects, people, and numbers in this guide are fictional.
The menu is a Map keyed by dish number, ordered dishes live in a Set, and button state sits in a WeakMap. This guide follows MDN's Map, Set, and WeakMap references: insertion order, any-value keys, the Map-vs-object table, the property-syntax trap, cloning and merging, groupBy, dedup, set operations, and when to reach for WeakMap.
Flexbox lays things out in one direction at a time, and when it is done right, the nav bar, the card wall, and the cart rows all behave. This guide follows MDN's Basic concepts of flexbox, Aligning items in a flex container, and Controlling ratios of flex items along the main axis: the two axes, containers and items, direction and wrapping, free space, the three flex properties, alignment on both axes, and gaps and auto margins.
Password sign-in is painful and phishable; QR login saves minutes and removes the target. Using a fictional running club throughout: seven build steps, four must-haves on the confirmation page, a 12-item checklist, and five common mistakes.
A renewal reminder is advance notice, not collection: three reminders at 7 days, 3 days, and day of, five things in every email, card-expiry warnings a month early — with a fictional funnel of 1000→920→690→420→356.
A leaderboard is the traffic entrance of a project showcase. This guide explains four board types, a scoring model you can calculate, and seven moves to climb — plus why gaming the board backfires. Note: all five sample projects and scores in this guide are fictional teaching examples.