Skip to main content
Living knowledge

Dev playbook

High-signal tips from real sessions—with model names so you (and the next AI) know where each pattern came from. Search and filter, expand what you need, collapse the rest. Add more in git: edit src/data/dev-playbook.json ( contributor README ).

← Developers overview · Updated

High-signal patterns from real sessions. Every tip records the model (or tool) that shaped it—so you and other AIs know the provenance. Add yours via the repo; this file is the source of truth.

Models & provenance 2 tips

Why naming the model matters, and how to mix human + AI contributions without losing the trail.

Treat model name as metadata, not vanity Claude Sonnet 4.5 (Cursor Composer)
ctavolazzi + session notes Cursor
  • provenance
  • metadata
  • teams

Different models have different failure modes. Recording `model` on a tip lets the next reader (human or assistant) calibrate trust: reasoning-heavy models may over-engineer; fast models may skip edge cases.

When you paste a tip into another tool, append the model you used there too—future you can diff "Sonnet suggested X" vs "GPT refined Y" without guessing.

Leave room for the next AI's "two cents" GPT-5.2 (example—replace with yours)
Template for multi-tool workflows Any
  • collaboration
  • handoff

End each playbook entry with an optional `addendum` in git: what changed when you ran the same idea through a different model or IDE. The playbook isn't scripture—it's a conversation log.

In PRs, tag commits with `playbook:` when you append tips so reviewers know prose changed without hunting.

Cursor & the editor 3 tips

Rules, commands, and context hygiene that survive across repos.

Project rules beat repeated lectures in chat Claude Sonnet 4.5 (Cursor)
Johnny Autoseed / Cursor workflow Cursor
  • cursor
  • rules
  • context

Put stack, file layout, and non-negotiables in `.cursor/rules` (or your editor's equivalent). The model stops re-deriving "how we do CSS" every session.

Keep rules short and scannable; link out to longer docs instead of pasting novels.

Slash commands as portable runbooks Claude Sonnet 4.5 (Cursor)
Johnny Autoseed Cursor
  • cursor
  • commands
  • workflow

Encode repeatable flows (e.g. "run probes, then summarize") in `.cursor/commands`. Copy the same markdown to `~/.cursor/commands` if you want them globally.

Commands are free documentation: new collaborators read the steps before they run them.

Narrow context before you ask for a refactor Composer (Cursor)
General pairing pattern Cursor
  • context
  • refactor

Open the files that actually matter, @-mention symbols, paste the error verbatim. The best edit is the one grounded in the buffer you meant—not the whole monorepo guessed from vibes.

If the model drifts, reset: smaller prompt, fewer files, one outcome per message.

Workflow & verification 2 tips

Layered feedback: cheap signals first, expensive tools when they earn it.

L0 → L1 → L2 → L3 is a mindset, not a toolchain Claude Sonnet 4.5 (Cursor)
Johnny Autoseed / multitool + probes Any
  • l0
  • testing
  • layers

L0: surface/route smoke. L1: build artifacts or static HTML contracts. L2: crawls, Lighthouse, lint matrices. L3: real browser behavior. Skip ahead only when the cheaper layer already passes or the risk demands it.

Teach assistants to announce which layer they're using—stops "run every test" panic on typo fixes.

Grow the probe list when the same break happens twice Session heuristic (any model)
Johnny Autoseed CI + local
  • regression
  • probes
  • ci

If a class of bug escaped once, add the smallest check that would have caught it. If it escaped twice, promote it to CI or a mandatory pre-push script.

Prefer stable selectors (ids, data attributes, canonical URLs) over brittle full-page snapshots unless you own the churn.

Prompting & agents 2 tips

Constraints, copy-paste starters, and autonomy boundaries.

Constraints beat adjectives Various—pattern from multiple sessions
Aggregated Any LLM
  • prompting
  • constraints

"Make it nice" fails; "use existing button classes, no new colors, WCAG AA contrast" succeeds. Translate taste into inspectable requirements.

Use the Chatbot Instruction Copier pattern: one block the user pastes so every assistant gets the same contract.

Destructive ops live behind explicit human gates Claude Opus 4.5 (planning doc)
Safety default Cursor / agents
  • safety
  • git
  • agents

Let agents read, test, and propose diffs; keep `rm -rf`, force-push, and production deploys as typed confirmations from a human.

If your tool supports it, separate "plan" from "execute" modes—review the plan in plain language first.

Craft & philosophy 2 tips

Vibe coding vs discipline—when to speed up and when to slow down.

Vibe for exploration; rigor for boundaries Claude Sonnet 4.5 (Cursor)
Developers page / team voice Any
  • vibe-coding
  • discipline

Prototype fast where mistakes are cheap (UI polish, internal tools). Slow down where mistakes are expensive (auth, money, migrations, user data).

Document the boundary aloud in chat: "we're in spike mode" vs "this ships to prod."

Readable code is a gift to the next reader Human-maintained
ctavolazzi Any
  • readability
  • maintenance

Boring names and straight-line flow beat clever abstractions unless the abstraction deletes real duplication.

When AI generates dense code, ask for a second pass whose only job is readability—same behavior, fewer surprises.

This playbook & the Developers page 2 tips

How the JSON, UI filters, and /developers content reinforce each other.

Link to a specific tip with #tip-{id} Site implementation (Astro)
Johnny Autoseed Web
  • anchors
  • sharing
  • playbook

Each tip renders as <details id="tip-{id}">. Share `…/developers/playbook/#tip-mp-001` when you want someone to land on one card. They may need to expand the section and nested tip—browser support for :target on closed details varies, so prefer sending the URL plus the tip title in chat.

Use Copy tip on the card when you want plain text in Slack or another model without retyping metadata.

Tags are for slicing, not taxonomy perfection Session note
Playbook UX pass Any
  • tags
  • filters
  • playbook

The tag filter matches a single tag at a time; combine it with search for finer slices (e.g. tag `safety` plus search `git`).

When adding tips, reuse existing tags when they fit—new tags should be short, lower-case, and hyphenated if multi-word.

Edit data on GitHub — pull requests welcome; tag playbook changes in commit messages so reviewers find prose updates fast.