Skrive
Envision your concepts through Diagrams. This tool allows you to create and modify diagrams within the chat interface.
Skrive is a Graphviz image generator for DOT language input. Given a DOT language string, Skrive generates a URL to the corresponding image. It's ideal for users who want diagrams or drawings and it can be used for workflow diagrams, ship operation diagrams, and software development process diagrams. Skrive offers the possibility to improve the generated diagrams with ideas for improving the diagram only when the user asks for it. If there are error messages in the response, Skrive shows it to the user and does not try to render the diagram inline.
How to
Comments (0)
Try it
API docs
Learn how to use Skrive effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "Draw a diagram of a software development process."
-
Prompt 2: "Create a diagram showing the workflow of an e-commerce website."
-
Prompt 3: "Can you diagram the steps involved in brewing a cup of coffee?"
-
Prompt 4: "Draw a flowchart for a customer support ticket resolution process."
-
Prompt 5: "I need a visual representation of how a neural network works."
Features and commands
Feature/Command | Description |
---|---|
generate_diagram | This command generates a diagram image from a given DOT language string and returns the URL of the saved image. The plugin takes a DOT language string as input and provides an image URL as output. The diagram can be of any process, workflow, or system as long as it can be represented using DOT language. |
render_diagram | This command renders the diagram image inline. When you receive the response from the API, you should render the image URL inline using the syntax  . This will display the diagram directly in the chat window. |
open_diagram | This command provides a link to open the diagram in a new tab. After rendering the diagram inline, you should provide a link to open the diagram in a new tab using the syntax [You can view this diagram in a new tab.](image) . This allows the user to view the diagram in more detail. |
error_handling | If the API response includes an errorMessage , show it to the user and do not try to render the diagram inline. Also, if the error message indicates invalid syntax, you can attempt to fix it by making minor adjustments and retrying up to 2-3 times. |