docs: Quick Tips Fix & Bullet list update (#421)
Co-authored-by: Tania Chakraborty <tchakraborty@BLKG9TC7C9CQ1.local>
This commit is contained in:
+13
-14
@@ -1,20 +1,19 @@
|
|||||||
## Tips for working with Goose:
|
## Tips for working with Goose:
|
||||||
|
|
||||||
Here are some collected tips we have for working efficiently with Goose
|
Here is our collection of tips we have for getting started & working efficiently with Goose!
|
||||||
|
|
||||||
- **Goose can and will edit files**. Use a git strategy to avoid losing anything - such as staging your
|
- **Goose can and will edit files**. Use a git strategy to avoid losing anything - such as staging your
|
||||||
personal edits and leaving Goose edits unstaged until reviewed. Or consider using individual commits which can be reverted.
|
personal edits and leaving Goose edits unstaged until reviewed. Or consider using individual commits which can be reverted.
|
||||||
- **Goose can and will run commands**. You can ask it to check with you first if you are concerned. It will check commands for safety as well.
|
- **Goose can and will run commands**. You can ask it to check with you first if you are concerned. It will check commands for safety as well.
|
||||||
- You can interrupt Goose with `CTRL+C` to correct it or give it more info.
|
- **You can interrupt Goose with `CTRL+C`.** Use this command to correct Goose or give it more info.
|
||||||
- Goose works best when solving concrete problems - experiment with how far you need to break that problem
|
- **Goose works best when solving concrete problems.** Experiment with how far you need to break that problem down to get Goose to solve it. Be specific! E.g. it will likely fail to `"create a banking app"`, but probably does a good job if prompted with `"create a Fastapi app with an endpoint for deposit and withdrawal and with account balances stored in mysql keyed by id"`
|
||||||
down to get Goose to solve it. Be specific! E.g. it will likely fail to `"create a banking app"`,
|
- **Goose can troubleshoot.** If something goes wrong, Goose can help troubleshoot issues by examining logs, analyzing error messages, and suggesting possible resolutions.
|
||||||
but probably does a good job if prompted with `"create a Fastapi app with an endpoint for deposit and withdrawal and with account balances stored in mysql keyed by id"`
|
- **Leverage Goose to learn.** Use Goose to learn new technologies or frameworks by asking it to explain things like code snippets, concepts, or for best practices relevant to your project.
|
||||||
- If Goose doesn't have enough context to start with, it might go down the wrong direction. Tell it
|
- **Goose needs context.** If Goose doesn't have enough context to start with, it might go down the wrong direction. Tell it to read files that you are referring to or search for objects in code. Even better, ask it to summarize them for you, which will help it set up its own next steps. You can create a [Goosehints](https://block.github.io/goose/guidance/using-goosehints.html) files to do this.
|
||||||
to read files that you are referring to or search for objects in code. Even better, ask it to summarize
|
- **Use easy search terms.** Refer to any objects in files with something that is easy for Goose to search for, such as `"the MyExample class"
|
||||||
them for you, which will help it set up its own next steps.
|
- **Teach Goose how you test.** Goose *loves* to know how to run tests to get a feedback loop going, just like you do. If you tell it how you test things locally and quickly, it can make use of that when working on your project
|
||||||
- Refer to any objects in files with something that is easy to search for, such as `"the MyExample class"
|
- **Goose can do scripting tasks.** You can use Goose for tasks that would require scripting at times, even looking at your screen and correcting designs/helping you fix bugs, try asking it to help you in a way you would ask a person.
|
||||||
- Goose *loves* to know how to run tests to get a feedback loop going, just like you do. If you tell it how you test things locally and quickly, it can make use of that when working on your project
|
- **Goose will make mistakes.** Sometimes Goose will go in the wrong direction. Feel free to correct it, or start over again.
|
||||||
- You can use Goose for tasks that would require scripting at times, even looking at your screen and correcting designs/helping you fix bugs, try asking it to help you in a way you would ask a person.
|
- **Goose can run tasks continuously if asked.** You can tell Goose to run things for you continuously (and it will iterate, try, retry) but you can also tell it to check with you before doing things (and then later on tell it to go off on its own and do its best to solve).
|
||||||
- Goose will make mistakes, and go in the wrong direction from times, feel free to correct it, or start again.
|
- **Goose can run anywhere.** Doesn't have to be in a repo, just ask Goose!
|
||||||
- You can tell Goose to run things for you continuously (and it will iterate, try, retry) but you can also tell it to check with you before doing things (and then later on tell it to go off on its own and do its best to solve).
|
- **Keep Goose updated.** Regularly update Goose to benefit from our latest features, bug fixes, and performance improvements.
|
||||||
- Goose can run anywhere, doesn't have to be in a repo, just ask it!
|
|
||||||
Reference in New Issue
Block a user