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!

assistant

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.

re-index


Assistant supported actions

Here’s a list of the actions you can take with the GitHub tools integrated into our assistant.

Issue management
Action nameDescription
Create issueCreates a new issue with a specified title and body. Assignees and labels are added separately.
Get assignees and labelsRetrieves available assignees and labels for the repository.
Edit issueUpdates the title, body, assignees, and labels of an issue using the issue number.
Close issueCloses an issue by specifying the issue number and closure reason (“completed” or “not planned”).
Pull request management
Action nameDescription
List pull requestsFetches a list of open or closed pull requests.
Get pull requestFetches details of a specific pull request, including title, body, comments, commits, assignees, labels, and reviewers.
Create pull requestCreates a new pull request with a specified title, body, and optional issue references.
Edit pull requestUpdates the title and body of an existing pull request.
Close pull requestCloses a pull request with an optional comment explaining the reason.
Merge pull requestMerges a pull request using a specified method (merge, squash, or rebase) and optional commit message.
Comment on pull requestAdds a comment to a specified pull request.
Get pull request checksRetrieves status checks and failed checks for a specific pull request.
Assign PR and labelsAssigns users and/or labels to a pull request.
Get available reviewersRetrieves available reviewers for a specific pull request.
Create review requestRequests a review from a specific user on a pull request.
Remove reviewerRemoves a reviewer from a pull request.
Repository navigation
Action nameDescription
List files in main branchProvides an overview of files in the main branch.
List files in branchProvides an overview of files in a specified branch.
Get files from directoryLists files within a specific directory in a specified branch.
List branches in repoRetrieves a list of all branches in the repository.
File operations
Action nameDescription
Create fileCreates a file in a specified branch with given content.
Read fileReads and returns the content or summary of a file, handling large files differently.
Update fileUpdates the content of an existing file, supporting both full and partial updates.
Delete fileDeletes a specified file from a given branch.
Branch management
Action nameDescription
Set active branchSets the active branch for subsequent operations.
Create branchCreates a new branch in the repository.
Search and analysis
Action nameDescription
Search issues and PRsSearches for issues and pull requests based on a query.
Query repo codebasePerforms a vector search on the repository using PGVector.
Search codeSearches for code snippets or patterns within the repository.
Get recent workflow failuresRetrieves recent workflow run failures for a specific branch.
Repository information
Action nameDescription
Repo onboardingProvides a comprehensive overview of the repository, including structure, primary languages, contributors, and documentation status. Recommends improvements if applicable.
Get tech stackRetrieves the tech stack from the repository by analyzing dependency files.
Workflow suggestions
Action nameDescription
Suggest workflowSuggests GitHub Actions or retrieves action details based on workflow queries.

© 2024, Warestack