# Week 4 - Asking good questions

### Session: Asking good questions

[Adapted from Tectonica workshop](https://github.com/Techtonica/curriculum/blob/main/onboarding/asking-good-questions.md)

**Session objective:** This session focuses on learning on the job by being proactive and asking for help in a structured way.&#x20;

{% embed url="<https://docs.google.com/presentation/d/1KonA8nQ5efYVMxtw70R3Xh9nHpiOSD595kV_OT2XxzQ/edit#slide=id.gaa71b86f5e_0_0>" %}
Asking good questions slides
{% endembed %}

#### Exercise (15 min)

**Exercise objective:** To practice asking questions following the format provided.

Work in small groups. Pick a programming concept that you have difficulty with or are trying to learn. Use StackOverflow to see if you can get some good information about it. Role play for asking questions with a partner, use the the template sample script:

"*I could use some help. I’m using this tech stack: \_\_. I want to \_\_ to accomplish \_\_. I searched for \_\_and I read \_\_ and tried \_\_. I’m getting this error/result: \_\_. I think the problem could be \_\_. Here’s a link to my code: \_\_. Do you have any suggestions for me?*"


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://personal-development.codeyourfuture.io/em-modules/javascript-1/untitled-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
