Original prompt Engineering

Generate Boilerplate Code

The prompt

Generate a minimal module for [purpose] using [conventions]. Define inputs, outputs and errors, and include a small runnable usage example without speculative abstractions.

Copyable text only. No model runs here, and no source material is uploaded.

When to use it

Start a small module with explicit interfaces and real failure handling.

Prepare the source material

  1. Runtime
  2. Module purpose
  3. Project conventions

Review before using the result

Verify dependencies and run the example before adopting the code.