Skip to content

Sample code for: AI Engineering Skills: Prompt, Context, Harness, Loop - #913

Open
lpozo wants to merge 1 commit into
masterfrom
ai-engineering-layers
Open

lpozo wants to merge 1 commit into
masterfrom
ai-engineering-layers

Conversation

@lpozo

@lpozo lpozo commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Where to put new files:

  • New files should go into a top-level subfolder, named after the article slug. For example: my-awesome-article

How to merge your changes:

  1. Make sure the CI code style tests all pass (+ run the automatic code formatter if necessary).
  2. Find an RP Team member on Slack and ask them to review & approve your PR.
  3. Once the PR has one positive ("approved") review, GitHub lets you merge the PR.
  4. 🎉

Code examples for the AI Engineering Skills: Prompt, Context, Harness, Loop tutorial. Files live in the ai-engineering-layers/ top-level folder, named after the article slug.

The project is a small Flask checkout API that's broken on purpose (four bugs, five failing tests), plus loop.py, which hands the failures to Claude Code one test at a time. Verified locally with Python 3.12.3, flask==3.1.3, and pytest==9.1.1: python -m pytest -q gives 5 failed, and loop.py with a stand-in claude reaches all tests passing after 4 runs. Running it for real needs a logged-in Claude Code (flags match 2.1.308).

Please don't fix the app's bugs in review: they're the demo.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant