# First Demo Command

Let's start by creating a new repository on Github. In this case we suggest using an existing repository as a template:

Go to: `https://github.com/scenerygraphics/minimal-sciview-example-project`

And click "Use this template" (shown as a green button in the image below)

![](/files/-MNJY8xAWxFwmnAmDIUP)

Now give your repository a name

![](/files/-MNJY8xBZyt3lghmPFIC)

Once you click "Create repository from template" and wait for it to complete, you will have a page like this

![](/files/-MNJY8xC7IDq-KLi4LB-)

Now open up IntelliJ and create your new project

![](/files/-MNJY8xD3OhBo6SG5UBQ)

Click on "Get from Version Control" (or "Open or Import" if you have already downloaded/cloned the repository)

![](/files/-MNJY8xGHMPK409sqgLs)

You can find this URL in your browser from the Github page of your repository

![](/files/-MNJY8xHT18Ml5eou_iN)

Almost there! Now expand the directories with your code inside IntelliJ

![](/files/-MNJY8xIVUBBw22hPqyH)

Open "MyDemo" and you will see the code for this command

![](/files/-MNJY8xJwbJ6hyFXtiJ8)

## Tips for making your command

IntelliJ provides many additional features that can speed up your coding process, such as autocompletion of commands. Try typing `sciView.` and see the menu that shows up:

![](/files/-MNJZ4gad67SL2SVrarM)


---

# 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://docs.scenery.graphics/sciview/development/first-demo-command.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.
