Skip to content

Instantly share code, notes, and snippets.

View cynthiateeters's full-sized avatar
🏠
Working

Cynthia Teeters cynthiateeters

🏠
Working
View GitHub Profile
@cynthiateeters
cynthiateeters / unicorn-hook-reflection.md
Last active August 11, 2026 10:14
The no-cheating guardrail — a reflection on deterministic enforcement with eslint-plugin-unicorn and Claude Code hooks

The no-cheating guardrail — when your AI agent tries to silence the linter

The problem

When an AI coding agent like GitHub Copilot or Claude Code hits an ESLint error, it has two options: fix the code, or silence the linter. Fixing the code is harder. Silencing the linter is one comment.

AI agents will sometimes choose the easy path. They can insert any of these to make an error disappear:

// eslint-disable-next-line

Important — Netlify Credit Limits and Your Deploy

Hi everyone,

TL;DR: Netlify now limits you to about 20 deploys per month. Every push to main costs credits. To push without using credits, add [skip netlify] to your commit message. Only leave it off when you want your live site to update.


What happened?

How weekly updates work

This project runs across multiple weeks in the same repo. Each week, your instructor delivers new instructions, checklists, and sometimes new tutorials or reference docs. These updates arrive as a GitHub Pull Request.

What happens each week

  1. Your instructor creates a GitHub Issue in your repo titled something like "Move to Week 2." The issue describes what is changing and why — read it first.

  2. A Pull Request appears linked to that issue. The PR contains updated files in the docs/ folder — new instructions, a new checklist, and any new tutorials for that week's concepts.

@cynthiateeters
cynthiateeters / planning-conversation-guide.md
Last active March 20, 2026 17:01
Planning conversation guide for My Advice assignment

Planning your "What should I...?" site

This guide walks you through a planning conversation with an AI agent. You should be reading this in your browser while your original "What Should I...?" repo is open in VS Code.

When you finish, you will have a BUILD-PROMPT.md file ready to take back to your my-advice repo.


Before you start — choose your model

@cynthiateeters
cynthiateeters / speed-up-claude-code-cli-tools.md
Created March 4, 2026 16:04
Speed up Claude Code with modern CLI tools (bun, ripgrep, fd, sd, jq, parallel)

Speed up Claude Code with modern CLI tools

Claude Code runs shell commands constantly — finding files, searching code, processing JSON, running scripts. The default Unix tools (find, grep, sed, node) work, but modern replacements written in Rust and Zig are significantly faster.

Installing these tools and telling Claude Code to prefer them can noticeably speed up your workflow.

The tools

Default tool Modern replacement Speedup Purpose
@cynthiateeters
cynthiateeters / claude-compact-tip.md
Last active March 5, 2026 00:14
Claude Code: /compact with targeted instructions

Claude Code: Faster /compact with Targeted Instructions

The bare /compact command compresses your conversation but reads everything first—tool output, file contents, web fetches, search results. That takes minutes and often loses important context.

The fix: tell it what to keep

Create ~/.claude/commands/compact-guide.md with one line:

/compact Focus on: current task, file paths modified, decisions made, user preferences stated. Drop: tool output, search results, web content, file contents already acted on.
@cynthiateeters
cynthiateeters / custom-cowsay-gist.md
Created February 25, 2026 19:33
Using custom cowsay files with configurable eyes

Custom cowsay files with configurable eyes

The npm cowsay package supports loading custom .cow files from any path, not just the built-in ones. This lets you create modified versions with configurable features like dynamic eyes.

The discovery

Looking at the cowsay source code in lib/cows.js:

Writing markdown files for AI assistants

Builds on concepts from Introduction to Markdown.

Markdown files serve a dual purpose when working with AI coding assistants: they're human-readable documentation AND machine-parseable instructions. This tutorial explores the design considerations most users overlook.

The invisible audience problem

When you write a README.md, you think about human readers. When you write a .github/copilot-instructions.md, you're writing for an AI that will interpret your instructions. But here's what many users miss: the AI reads your markdown differently than humans do.

@cynthiateeters
cynthiateeters / 2026-01-20_14-30-markdown-learning.md
Created January 22, 2026 15:25
Example SpecStory history file - HAP's Markdown learning session

Markdown learning (2026-01-20 14:30Z)

User (2026-01-20 14:30Z)

I need to know how to write markdown