Working with the assistant
The assistant is a GenAI tool that allows you to ask questions or request help on most of your daily workflow tasks, such as onboarding or getting repository states, creating new workflows, exploring PRs, and more.
Using the editor
The side editor is a powerful tool for working with scripts generated by the Assistant. Whenever the Assistant creates a script, it automatically loads into the editor, allowing you to quickly review, modify, or execute it as needed.
By default, the editor loads content from the assistant, so you can immediately work with any generated scripts.
⚡ Describe, generate, edit, and improve!
What does “Not indexed yet” mean?
Not indexed yet
indicates that the repository data has not been indexed. Indexing (or re-indexing) is updating and synchronizing the repository’s metadata, including file structure, commit history, branch status, and other details, so all changes are fully captured and searchable within Warestack.
What is the last index of your repository?
The Assistant always has access to the latest re-indexed version of your repository. To re-index your repository, go to the Repositories section and select Reindex your repository from the side menu. Re-indexing is especially beneficial after significant updates, branch merges, or codebase restructuring.
Re-indexing only after significant changes, such as new content, updated files, or modifications, is recommended to ensure your repository is fully synchronized and searchable.
⚡ Your last re-index date shows the latest state of your repository.
Assistant supported actions
Here’s a list of the actions you can take with the GitHub tools integrated into our assistant.
Issue management
Action name | Description |
---|---|
Create issue | Creates a new issue with a specified title and body. Assignees and labels are added separately. |
Get assignees and labels | Retrieves available assignees and labels for the repository. |
Edit issue | Updates the title, body, assignees, and labels of an issue using the issue number. |
Close issue | Closes an issue by specifying the issue number and closure reason (“completed” or “not planned”). |
Pull request management
Action name | Description |
---|---|
List pull requests | Fetches a list of open or closed pull requests. |
Get pull request | Fetches details of a specific pull request, including title, body, comments, commits, assignees, labels, and reviewers. |
Create pull request | Creates a new pull request with a specified title, body, and optional issue references. |
Edit pull request | Updates the title and body of an existing pull request. |
Close pull request | Closes a pull request with an optional comment explaining the reason. |
Merge pull request | Merges a pull request using a specified method (merge, squash, or rebase) and optional commit message. |
Comment on pull request | Adds a comment to a specified pull request. |
Get pull request checks | Retrieves status checks and failed checks for a specific pull request. |
Assign PR and labels | Assigns users and/or labels to a pull request. |
Get available reviewers | Retrieves available reviewers for a specific pull request. |
Create review request | Requests a review from a specific user on a pull request. |
Remove reviewer | Removes a reviewer from a pull request. |
Repository navigation
Action name | Description |
---|---|
List files in main branch | Provides an overview of files in the main branch. |
List files in branch | Provides an overview of files in a specified branch. |
Get files from directory | Lists files within a specific directory in a specified branch. |
List branches in repo | Retrieves a list of all branches in the repository. |
File operations
Action name | Description |
---|---|
Create file | Creates a file in a specified branch with given content. |
Read file | Reads and returns the content or summary of a file, handling large files differently. |
Update file | Updates the content of an existing file, supporting both full and partial updates. |
Delete file | Deletes a specified file from a given branch. |
Branch management
Action name | Description |
---|---|
Set active branch | Sets the active branch for subsequent operations. |
Create branch | Creates a new branch in the repository. |
Search and analysis
Action name | Description |
---|---|
Search issues and PRs | Searches for issues and pull requests based on a query. |
Query repo codebase | Performs a vector search on the repository using PGVector. |
Search code | Searches for code snippets or patterns within the repository. |
Get recent workflow failures | Retrieves recent workflow run failures for a specific branch. |
Repository information
Action name | Description |
---|---|
Repo onboarding | Provides a comprehensive overview of the repository, including structure, primary languages, contributors, and documentation status. Recommends improvements if applicable. |
Get tech stack | Retrieves the tech stack from the repository by analyzing dependency files. |
Workflow suggestions
Action name | Description |
---|---|
Suggest workflow | Suggests GitHub Actions or retrieves action details based on workflow queries. |