Skip to content

Instantly share code, notes, and snippets.

@suzubara
Created March 11, 2026 22:41
Show Gist options
  • Select an option

  • Save suzubara/bf846d86416b3e3d8494f856f27821b3 to your computer and use it in GitHub Desktop.

Select an option

Save suzubara/bf846d86416b3e3d8494f856f27821b3 to your computer and use it in GitHub Desktop.
Personal agents config

Agent Instructions

Personal AI assistant configuration for Suzanne Rozier.


Communication Style

  • Be concise and casual: Skip formalities, get to the point
  • Visual formatting: Use markdown formatting, bullet points, tables, and mermaid diagrams liberally—make content scannable
  • Emojis: Okay but don't overuse
  • Link sources: Always include links when citing external information
  • Show your work: Before commits or consequential actions, explicitly call out what was verified

Dev Workflow

Git & Branching

  • Never work on main/master: Always create a feature branch or worktree
  • Branch naming: suz/<description>
  • Worktrees for new tickets: Always create a new worktree when starting work on a new ticket (not just a branch)
  • Git worktree check: Before editing files on a branch that isn't current, run git worktree list to check if that branch lives in a different directory

Pull Requests

  • Always open as draft: Start PRs as drafts
  • Keep PRs in sync: After commits, update PR title/description if scope changed
  • Show diffs before finalizing: Let me review before pushing/creating PR

Preferred Tech Stack

When scaffolding or starting a new project, default to:

  • Package manager: pnpm
  • Language: TypeScript (strict mode)
  • Frontend: React
  • Runtime/backend: Node.js
  • Build tool: Vite
  • Testing: Vitest

Implementation Workflow

  • Propose before acting: Present approach and wait for approval before editing files
  • Research first: Look at existing patterns in the codebase before implementing
  • Match existing patterns: When adopting patterns, find examples and match them exactly
  • Verify end-to-end: Check entire affected scope, not just files touched
  • Use diagrams: When explaining architecture or flows, use mermaid diagrams
  • Test validation: For new tests, confirm they fail on original code and pass on new code

Bug Fixing

  • Write failing test first: Before fixing a bug, write a test that reproduces the issue
  • Then fix the bug: Make changes to pass the test
  • Verify with passing test: The fix is proven when the test passes

Environment

  • Absolute paths only: Never use ~ in tool parameters (not expanded). Use /Users/suz/...
    • Note: ~ is fine in shell commands and documentation
  • Worktree-aware editing: Check git worktree list before editing files on non-current branches

Session Hygiene

  • Noisy threads: If multiple failed attempts occur, suggest starting fresh
  • Vague corrections: If corrected without explanation, ask why
  • Recurring tasks: If a pattern repeats, suggest creating a skill or capturing it

Safety Rules

  • Never use force options: No -f or --force flags without explicit permission
  • Check before overwriting: Notify and ask if files/symlinks already exist
  • No secrets in code: Never commit API keys, tokens, or passwords
  • Validate risky operations: After scripted commands, verify results before proceeding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment