> For the complete documentation index, see [llms.txt](https://sharinghub.kittenbot.hk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sharinghub.kittenbot.hk/functional_modules/pwmodules/pwextension.md).

# PowerBrick模組在MakeCode上編程(Armourbit)

![](https://kittenbothk.readthedocs.io/en/latest/_images/mcbanner13.png)

首先進入MakeCode，建立新專案。

![](https://kittenbothk.readthedocs.io/en/latest/_images/02_011.png)

### 加載Powerbrick插件

編程之前我們需要先載入PowerBrick的插件。

![](https://kittenbothk.readthedocs.io/en/latest/_images/editor13.png)

在搜尋欄中填入powerbrick，然後按Enter。

![](https://kittenbothk.readthedocs.io/en/latest/_images/powerbrick_search.png)

點擊加載，加載成功後會新增PowerBrick的積木塊。

![](https://kittenbothk.readthedocs.io/en/latest/_images/02_031.png)

### 插件版本與更新

插件可能會不定時推出更新，改進功能。亦有時候我們可能需要轉用舊版插件才可使用某些功能。

詳情請參考: [Makecode插件版本更換](/programmingplatforms/makecode/makecodeextupdate.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://sharinghub.kittenbot.hk/functional_modules/pwmodules/pwextension.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
