Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Four rules to curb AI coding mistakes v1.0.0

Use this resource to guide a coding agent toward small, verifiable changes

New

  • 193 downloads
  • 225 likes
  • 169 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install llm-coding-behaviour-guidelines

First time: connect the CLI with

npx --yes palatekit@latest login

Drawn from Andrej Karpathy's observations on common coding-model mistakes, the prompt asks the agent to state assumptions, avoid over-engineering, touch only what the task needs and turn each task into a testable goal. It favours caution, so trivial tasks rely on judgement.

Mostly picked by

Updated November 2, 2026

Card for the “Four rules to curb AI coding mistakes” prompt

Details

Generates with
Your agent's model
Licence
CC0-1.0

Similar resources

View all

What you get

  • The full prompt, ready to paste
  • Four principles: think first, simplicity, surgical changes, verifiable goals
  • Examples of turning a task into a test

Good fit for

  • Supervising an agent that edits an existing repository
  • Reviewing an AI change before merging it

Not for

    Tags

    • agent
    • code
    • review
    • best practices

    About

    You say

    “Fix this validation bug: first write a test that reproduces it.”

    Card for the “Four rules to curb AI coding mistakes” prompt

    Prompt published by yazz4444 under the CC0-1.0 license, delivered in its original version.

    Show more

    How to use it

    1. Paste the prompt into your assistant or agent
    2. Ask it to guide a coding agent toward small, verifiable changes
    3. Review and adjust the result

    Content preview

    Files

    • LICENSE0.6 KB
    • llm-coding-behaviour-guidelines.md2.4 KB
    • NOTICE-PALATEKIT.md0.5 KB

    Origin and licence

    Listed unmodified

    Author
    yazz4444
    Source
    github.com/f/prompts.chat/blob/cecef6fc73c2c389770695a56252d331981727de/prompts.csv
    Licence
    CC0-1.0

    Notice

    « karpathy-guidelines » (yazz4444, CC0-1.0) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.