# Using Cosine

## Providing Instructions

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](https://docs.cosine.sh/~/revisions/wUQVvs5u0KynB9oyorc7/using-cosine/prompting-cosine).

#### Example Prompt:

A simple yet clear prompt might look like this:

<figure><img src="https://2537874235-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJjYsV6DXCvFPeCUEBwo5%2Fuploads%2FLi3aBPLiF46tlSIumFE3%2FSCR-20250415-oobd.png?alt=media&#x26;token=9a765361-e08d-41e3-b40b-b42d14c7204a" alt=""><figcaption></figcaption></figure>

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

## Reviewing Cosine's Work

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.

## Reviewing and Managing Tasks

* 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.

## Continuing the Conversation

* 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.

## Merging Changes

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.
