AI Assisted Development

Using Claude Code


To write Alusus programs with the help of Claude Code you'll need to direct Claude Code to where it can find Alusus documentation. To do this, create a file in the root of your project named CLAUDE.md then add the below content to it.

It's worth nothing that Claude Code performs better with non-empty projects as it can learn from the existing code within the project itself, so expect mistakes from Claude with new projects even after feeding it with the write documentation; despite that it's still very useful to feed it with the documentation as that'll get him moving in the write direction and gives far better results. As you fix those mistakes and the project grows the performance of Claude will dramatically improve.

# Programming Language

Write all programs using the Alusus programming language.

# Documentation

Full explanations of the Alusus language and its core and external libraries can be found via this MCP service:
https://alusus.org/mcp

This MCP service provides these two tools:

alusus_docs_list_titles:
This command returns a list of the titles of every chapter of every article in the Alusus documentation. This command can be useful for discovering the libraries or elements available in Alusus. To call this command, send a POST request to the port mentioned above with the following body:
```
{
	"id": {{some numeric id}},
	"method": "tools/call",
	"params": {
		"name": "alusus_docs_list_titles",
		"arguments": {
			"lang": "{{language}}"
		}
	}
}
```

alusus_docs_retrieve:
This command is used to search the articles and return the content of the requested chapter. When searching for a phrase that matches one of the titles, or part of a title, it returns the chapters with matching titles. If no title matching the search is found, it performs a semantic search to try to find the closest possible results. Note that the semantic search process is slow compared to the simple search. To call this command, send a POST request to the port mentioned above with the following body:
```
{
	"id": {{some numeric id}},
	"method": "tools/call",
	"params": {
		"name": "alusus_docs_retrieve",
		"arguments": {
			"query": "{{query}}",
			"lang": "{{language}}"
		}
	}
}
```

# Guidelines

* Use 4 spaces for indentation.