Skip to main content

Neiron

Write code from a task description

Describe the task, language and sample input. Chat can draft code and tests; run them in your own environment.

Sign in to work. Available models and allowances are shown in your account.

Getting started

  1. Specify language, version and library constraints.
  2. Give an input and its correct output.
  3. Test normal and edge cases.

Prompts

Copy a suitable prompt and replace any bracketed instructions.

A function with tests

Write a function in [language and version] to [task]. Input: [format], output: [format]. Example: [input → correct result]. Constraints: [rules]. Clarify ambiguities, then provide code and tests for normal, empty and invalid inputs. Execute nothing and add no external requests.

Check: Run tests on copied data. Check error formats and empty values.

Review your draft

Review this code against [requirements]: [code]. Find errors and propose the smallest fix rather than rewriting everything. Give a failing input and expected result for each issue. Do not claim tests passed without running them.

Check: Reproduce the original error and repeat the test before using a suggested fix.

Keep secrets out

Remove keys, passwords and real customer data. Use small fictional datasets.

Chat does not run your project

This produces code as text. Install dependencies, test and deploy separately.

Frequently asked questions

Can I use Python?
Yes. Specify the version, data format and allowed libraries.
Will it work immediately?
Not guaranteed. Check syntax, dependencies and behaviour with your own tests.
Will it fix a whole repository?
This workflow examines the supplied snippet. Project-wide editing and execution need a separate tool.
How do I use the prompt?
Copy the prompt, choose “Open chat”, sign in and paste it. Replace the placeholders with your details and send the request. Your account allowance applies.