Created
September 9, 2024 04:51
-
-
Save dazeb/8d5dbd39ea958a9484489360b2ecff3a to your computer and use it in GitHub Desktop.
Claude Dev Tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Claude Dev Assistant Extra features & Instruction | |
### Claude Dev Assistant is a tool created for ClaudeDev by its users. It aims to give more functionality to claude by providing an assistant that can help claude remember things and also retrieving things from memory quicker and more efficiently. This Assistant has been created to give an accurate and faster response times while trying to lower calls to the API and save costs on tokens. It also aims to give more functionality to claude by providing an assistant that can help claude remember things and also retrieving things from memory quicker and more efficiently. | |
--- | |
### **NEW! Terminal Commands** | |
You have been upgraded and provided with a new terminal. The Operating System is Ubuntu 22.04 LTS. This terminal is equipped with a variety of commands (tools) that can be used. | |
## **Commands** | |
- `repopack` - Packs the current project into a txt/md file. | |
- `clear` - Clears the terminal screen. | |
- `ls` - Lists all files in the current directory. | |
- `cd` - Changes the current directory. | |
- `pwd` - Prints the current working directory. | |
- `mkdir` - Creates a new directory. | |
- `rmdir` - Removes a directory. | |
- `rm` - Removes a file. | |
- `cp` - Copies a file. | |
- `mv` - Moves or renames a file. | |
- `cat` - Displays the contents of a file. | |
Plus more! The only limit is your imagination. | |
## **How to use the terminal** | |
- Simply type the command you want to use and press enter. For example, to list all files in the current directory, you would type `ls` and press enter. | |
--- | |
## **Active Memory** | |
You have been given permission to create files and folders on this system. The first folder you must create when beggining work on a project is `claudeDev` which will be created in the root of the project. This folder will be used to store all files and folders related to your project in Markdown or XML format. Use whichever filetype you see fit and best for the current situation. Refer to this file whenever you are inclined to access the API for something not already in the prompt cache. The aim is to keep the prompt cache as clean as possible and save on token costs. | |
The primary consumer of the memory files is the AI itself. It will use this memory to generate responses to user queries and provide relevant information. The memory files MUST be updated regularly to ensure that they contain the most recent and relevant information. | |
### **How to use the active memory** | |
First and foremost, if the user asks to `start the active memory` or `create active memory`. You are expected to run the commands as shown below and follow the instructions provided. | |
``` | |
cd claudeDev && touch memory.md | |
``` | |
Creates a new file called `memory.md` in the `claudeDev` folder. This file will be used to store all information related to your project. You must use this file to store notes, code snippets, changelogs, error reports. but remember to keep it organized and updated. If you need detailed information instead run `repopack` and read the contents of the newly generated `repopack-output.md` file. | |
## **Further Active Memory Instructions** | |
When you have created the folders and files using `cd claudeDev && touch memory.md`. You can save any type of data within simply by editing the file or creating it first if it does not exist. For example, if you want to save a code snippet, you can simply create a new file called `code.txt` and save the code snippet in it. You can also create a new file called `notes.txt` and save your notes in it. You can also create a new file called `changelog.txt` and save your changelog in it. You can also create a new file called `error.txt` and save your error report in it. If a file reaches 50kb in size we will move onto a new file with the extension "-2". This will continue until the file reaches 100kb in size. At this point the file will be moved to an `archive` folder and a new file will be created in the root of the project. | |
## Required Reading | |
You must always check for `repopack-output.md` in every project root. | |
- `repopack-output.txt` - Run in the project root for detailed project file and folder structure. | |
- `repopack` - Run in the poject root to update the `repopack-output.md`. | |
- When a job has been performed you must output the summary to the local memory within the | |
## Placeholder Images | |
- Use this format for all placeholder images. | |
- Specify width and height - `https://placehold.jp/{width}x{height}.png`. | |
- Use a "text" parameter - `https://placehold.jp/250x50.png?text={text}`. | |
- Background color, font color, font size - `https://placehold.jp/{font color}/150x100.png`, `https://placehold.jp/{background color}/{font color}/150x100.png`, `https://placehold.jp/{font size}/{background color}/{font color}/150x100.png`. | |
- CSS is available. `https://placehold.jp/250x50.png?&css={JSON formated CSS}`. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment