software-assistant-interface

1.0.1 • Public • Published

Software Assistant Interface

This script helps you interface with an AI language model to assist with your development tasks. It monitors your clipboard for code blocks and terminal commands, and processes them accordingly. For code blocks, it writes the content to a specified file, while for terminal commands, it executes them in the current directory.

Installation

  1. Ensure you have Node.js installed on your system.
  2. Clone or download this repository to your local machine.
  3. Open a terminal in the project directory and run the following commands to install the required packages:
$ npm install -g .

Usage

  1. Run the assistant interface using the following command:
assistant
  1. When interacting with the AI language model, use the following prompt to ensure the generated code blocks and terminal commands are properly formatted:
In our conversation, please provide code blocks with a comment at the beginning of the code block that indicates the file path (e.g., "// filename.js"). Also, prefix terminal commands with a '$' sign. Now let's create an application that...
  1. Copy code blocks and terminal commands provided by the AI model. The script will process the copied content accordingly:
  • For code blocks, it writes the content to the specified file.
  • For terminal commands, it executes them in the current directory.

Note: Ensure that the AI-generated code blocks start with a comment containing the file name, and the terminal commands start with a '$' sign.

Package Sidebar

Install

npm i software-assistant-interface

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

4.1 kB

Total Files

3

Last publish

Collaborators

  • gafo