Effective Prompts

Giving Your Coding Agent the Right Inputs

Whether you provide a detailed list of validations or simply say “test it,” your coding agent can ask Kaimo to generate meaningful tests.

You can be as specific or as high-level as you like when asking your coding agent to have Kaimo test a feature. Some teams outline exactly what to validate, while others let the coding agent decide. Both approaches work.

Share the feature’s intent

Describe what the feature should do from a user’s perspective.

Example (detailed): The checkout page should allow a logged-in user to apply a discount code before payment. The total should update immediately, and the discount code should be marked as used.

Example (brief): Test the new discount code feature.

Provide any special context

Include relevant rules, edge cases, or variations.

Example: Only one discount code can be applied per order.

Why this matters

More context helps your coding agent prompt Kaimo to generate meaningful tests. Even with minimal input, your coding agent can use what it knows about the feature to produce valuable coverage.