Skip to content

Using Cosine

Cosine works best with clear, specific instructions. To get the most out of Cosine:

  • Keep your prompts clear and detailed.
  • Mention specific files or tasks when possible.
  • Break complex requests into simpler steps.

For detailed tips, check out Prompting Cosine.

A simple yet clear prompt might look like this:

You can also attach relevant files to your prompt to give Cosine additional context.

Once Cosine receives your instructions, it’ll:

  1. Generate a Pull Request (PR) with detailed explanations of its changes.
  2. Allow you to review and provide feedback directly.
  • Click “View PR” to open Cosine’s PR directly in GitHub if you prefer reviewing there.
  • Alternatively, you don’t need to leave Cosine - just click on the task status dropdown (initially showing Open) and select “Mark as Completed”.
  • If you decide the changes aren’t needed, choose “Close” to close both the task and PR or “Delete” to remove the task entirely.
  • If Cosine’s initial changes need adjustments, keep the chat going by providing additional instructions. Cosine will continue refining its changes.
  • For small adjustments, feel free to directly edit Cosine’s proposed changes yourself using Cosine’s built-in editor.
  • After making your edits, you can merge them directly within Cosine.

When you’re happy with the results:

  • Merge the PR in GitHub or your preferred way of doing so.
  • Mark the task as “Completed” within Cosine.
  • Your project is now updated, and you’re ready to tackle the next task!

Remember that marking a task as “Completed” in Cosine does not automatically merge the PR; you’ll need to merge it in GitHub as usual unless your workflow is configured otherwise.


With Cosine, the process is seamless, collaborative, and flexible - allowing you to manage development tasks efficiently.