Simon Willison’s Weblog

Subscribe

Guides > Agentic Engineering Patterns

Prompts I use

This section of the guide will be continually updated with prompts that I use myself, linked to from other chapters where appropriate.

Artifacts

I frequently use Claude's Artifacts feature for prototyping and to build small HTML tools. Artifacts are when regular Claude chat builds an application in HTML and JavaScript and displays it directly within the Claude chat interface. OpenAI and Gemini offer a finial feature which they both call Canvas.

Models love using React for these. I don't like how React requires an additional build step which prevents me from copying and pasting code out of an artifact and into static hosting elsewhere, so I create my artifacts in Claude using a project with the following custom instructions:

Linear walkthroughs

This is a chapter from the guide Agentic Engineering Patterns.

Chapters in this guide

  1. Principles
    1. Writing code is cheap now
    2. Hoard things you know how to do
  2. Testing and QA
    1. Red/green TDD
    2. First run the tests
  3. Understanding code
    1. Interactive explanations
    2. Linear walkthroughs
  4. Appendix
    1. Prompts I use

Created: 28th February 2026
Last modified: 28th February 2026
3 changes

Previous: Linear walkthroughs