Our Claude Code Cheatsheet
A Neon engineer's working cheatsheet for Claude Code covers Plan Mode, parallel task agents for multi-lens code review, and context management with /clear, /compact, /context and @file references. It also covers MCP servers (Serena for symbol-level navigation, Context7 for docs, Playwright for UI checks), CLAUDE.md memory files, sub-agents with clean context, custom slash commands in .claude/commands, headless piping (e.g. npm audit into claude -p), session resume/rewind, and cost tracking. The recurring advice is to plan first, define types or schemas before implementation, and keep context lean and explicit.
Related posts
- Reusable Prompts: The Future of Starter Templates
Neon mediumAdept
Starter templates can be complemented by reusable, atomic setup "recipes": Markdown prompts that AI coding agents apply to existing codebases, modeled on shadcn/ui's copy-the-code philosophy. Recipes declare prerequisites, which lets them compose, and cookbooks bundle them into ordered sequences. They also encode stack-specific decisions agents would otherwise get wrong, such as using node-postgres instead of Neon's serverless driver on Vercel Fluid Compute with connection pooling. Recipes are served as MCP resources with slash-command prompts. Long-lived skills ship as small per-cookbook Claude Code plugins whose skill files are one-line pointers, which keeps them from bloating the agent's context.
- Getting Started with Claude Skills
Neon mediumAdept
Claude Skills are folders of markdown instructions (a SKILL.md entrypoint with name, description and steps) that Claude Code loads lazily: only each skill's name and description sit in global context, and the full workflow is pulled in when a request matches. Skills sit between deterministic custom commands and autonomous subagents. They share the main context window, run sequentially and suit template-driven multi-step workflows, while high-risk actions like deploys are better kept as manually triggered commands. Neon packaged four skills (neon-drizzle, neon-serverless, neon-toolkit, add-neon-knowledge) plus its MCP server into a Claude Code marketplace plugin installable with two /plugin commands.
- Context Engineering Is Just Writing Things Down
Fly.io mediumAdeptAgent output quality depends more on project and environment context than on model capability, and that context can be built from plain files on disk. OpenClaw's memory design (append-only daily logs, a curated MEMORY.md, hybrid BM25/vector recall weighted 70/30 with diversity re-ranking on SQLite) illustrates the idea. In a Fly.io Sprite, four mechanisms supply that context: CLAUDE.md for conventions, Skills for repeatable workflows like a preflight check, hooks that inject live service and git state, and checkpoints that persist the whole environment. A sample Bun + Hono + Postgres project shows Claude fixing a bug while following the test, logging and error conventions without being told.
- Beyond the Hype: How to Use AI to Actually Increase Your Productivity as a Dev
Docker mediumAdeptEffective AI-assisted coding comes from applying classic engineering discipline in a four-phase loop: prompting, planning, producing and refining. Strict context management matters most. That means clearing the agent's context between tasks, decomposing work into small prompts, chaining prompts through a separate LLM, and saving good prompts as reusable slash commands. Review the agent's plan before it writes code and treat its output like a teammate's code. Over time, keep refining steering files such as CLAUDE.md as compact indexes that link to more detailed docs.
- Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini
Render mediumAdept
Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website. Cursor scored highest overall (8/10 average), producing the most complete app, including Docker Compose and a SQL migration, and following codebase-specific patterns. Gemini CLI excelled at large-context refactors but struggled on the greenfield build. Codex's model produced accurate, idiomatic code but was held back by setup friction and a weaker CLI UX. All tools faltered on novel or obscure libraries without targeted guidance, so experienced engineers still need to audit the output.