Skip to main content

Best Practices

Follow these guidelines to maximize your success with emma.

Be Specific

The more specific your instructions, the better emma can help you.
“Create a Python function that validates email addresses using regex, returns True for valid emails and False otherwise, and include docstrings.”

Provide Context

Help emma understand your project by providing relevant context.
1

Describe the goal

Explain what you’re trying to achieve at a high level.
2

Share relevant files

Reference existing code or documentation that emma should consider.
3

Specify constraints

Mention any requirements, limitations, or preferences.

Break Down Complex Tasks

For large tasks, break them into smaller, manageable steps.

Plan First

Outline the steps before diving into implementation.

Iterate

Review and refine as you go rather than trying to get everything perfect at once.

Use Feedback Loops

emma learns from your feedback. Let emma know when something works well or needs adjustment.
  • Review emma’s output carefully
  • Provide corrections when needed
  • Build on successful patterns

Common Pitfalls to Avoid

Avoid these common mistakes when working with emma.
PitfallSolution
Vague instructionsBe specific about what you want
Missing contextProvide relevant background information
Skipping verificationAlways review and test the output
Overloading requestsBreak large tasks into smaller pieces