> For the complete documentation index, see [llms.txt](https://docs.scenery.graphics/sciview/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scenery.graphics/sciview/development/first-demo-command.md).

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