### Create New Branch and HTML File for 2048 Game Source: https://github.com/askthecode/documentation/blob/main/docs/features/files/file-creation.md This example demonstrates creating a new branch and then generating an initial HTML file for the 2048 game, saving it to a specified directory within the new branch. ```prompt https://github.com/askthecode/test-repo Please do the following: 1. Create new branch 2048-game 2. In this newly created branch create html file with simple board for the 2048 game 3. Save this html to the "2048-game" directory ``` -------------------------------- ### List Pull Requests Example Source: https://github.com/askthecode/documentation/blob/main/docs/features/pull-requests/pullrequests-list.md This prompt requests a list of all open pull requests for a given GitHub repository and specifies the desired output format. ```prompt Please list pull requests in https://github.com/huggingface/pytorch-image-models Respond with the pull request name and URL ``` -------------------------------- ### Mermaid Flowchart Example Source: https://github.com/askthecode/documentation/blob/main/docs/usage/iterative.md A sample Mermaid flowchart visualizing the 'GET api/catalog-items' endpoint and its dependencies, including subgraphs for different components and styled database nodes. ```mermaid flowchart TB subgraph Client Request["Request (GET api/catalog-items)"] end subgraph API["eShopOnWeb API"] Handler["CatalogItemListPagedEndpoint.HandleAsync()"] RequestModel["ListPagedCatalogItemRequest"] end subgraph ApplicationCore Specifications["Specifications"] CatalogFilterSpec["CatalogFilterSpecification"] CatalogFilterPaginatedSpec["CatalogFilterPaginatedSpecification"] end subgraph Infrastructure Repository["EfRepository"] DbContext["CatalogContext (EF Core)"] UriComposerService["UriComposer"] CatalogSettingsConfig["CatalogSettings"] end subgraph ExternalLibraries AutoMapper["AutoMapper"] SpecificationLib["Ardalis.Specification"] end subgraph Database db[("(Database)")] end Client -->|HTTP GET| Handler Handler -->|Uses| RequestModel Handler -->|Maps with| AutoMapper Handler -->|Composes URIs with| UriComposerService Handler -->|Reads BaseUrl| CatalogSettingsConfig Handler -->|Executes| Repository Repository -->|Uses| DbContext DbContext -->|Interacts with| db Repository -->|Applies| Specifications Specifications --> CatalogFilterSpec Specifications --> CatalogFilterPaginatedSpec AutoMapper -.->|Mapping Configurations| ApplicationCore SpecificationLib -.->|Specification Patterns| ApplicationCore %% Styling classDef database fill:#f96,stroke:#333,stroke-width:2px; class db database; ``` -------------------------------- ### Langchain and ChatGPT Plugins Integration Prompt Source: https://github.com/askthecode/documentation/blob/main/docs/samples.md This prompt is used to find details about integrating ChatGPT plugins into the Langchain pipeline. It specifies the repository path and asks for an example of using the integration tool. ```text https://github.com/langchain-ai/langchain/tree/master/docs Langchain is capable of integrating ChatGPT Plugins into the pipeline. For this it uses the specific tool. Please give me an example of using this tool ``` -------------------------------- ### Prompt for Small Commit Analysis Source: https://github.com/askthecode/documentation/blob/main/docs/features/commits/commit-details.md This prompt guides ChatGPT to analyze a specific GitHub commit, providing a detailed breakdown of changes, line counts, and a review of the modifications. It's suitable for commits with a manageable number of file changes. ```markdown https://github.com/dotnet/runtime/commit/b09e18e8b6092e35611c2567bd55e8909ea78d7d Act as a proficient C# .NET developer. Please give me an overview of the commit and then iterate over the changes in this commit, analyze files one by one. For each file output: 1. How many lines were added, updated, and deleted (in one line) 2. Describe what have been changed. Do not use some general reviews like code cleanup etc but describe the actual change. If code is added, say what new code does. If updated, analyze what was before and how the new code improves the previous one. If deleted, say what has been deleted and try to elaborate why. 3. Map changes to the commit description and how it correlates. 4. Please make a review of the changes and say if some fixes are required. Pay attention both to coding style and the meaning of changes. Especially this goes to removal - highlight which code has been removed and why. Respond only with "passed the review" or "failed." 5. Highlight areas that should be reviewed by a human. Do that only when you spot some issues with the changes or when you cannot be sure that the change is needed and solves any issue. Otherwise, say that no review is needed. ``` -------------------------------- ### Iterative Prompt for Endpoint Analysis Source: https://github.com/askthecode/documentation/blob/main/docs/usage/iterative.md This prompt guides the AskTheCode plugin through a multi-step process to analyze a specific API endpoint within a GitHub repository. It includes steps for locating handlers, analyzing code, fetching dependencies, and describing component interactions. ```prompt You are a technical documentation writer for the eShopOnWeb repository. Your task is to provide a clear and detailed description of the full handling flow for the endpoint 'GET api/catalog-items' in the given GitHub repository: https://github.com/dotnet-architecture/eShopOnWeb Follow these steps: 1. Locate the file that handles the specified endpoint in the repository. Make sure that it is the correct file and it indeed contains the logic for the endpoint handling. 2. Analyze the code of the handler to understand its functionality. 3. Fetch the code of all dependencies related to the route handler and data retrieval logic. 4. Analyze the dependencies, including their code and further dependencies if needed. 5. Describe the main components involved in handling the 'GET api/catalog-items' endpoint and explain their interaction. Ensure your description includes any abstract classes or interface implementations as well as explanations of any external library usage. Make sure to provide a structured and easy-to-understand response that demonstrates a deep understanding of the codebase. ``` -------------------------------- ### Find Qdrant Vectorstore and its Classes/Functions Source: https://github.com/askthecode/documentation/blob/main/docs/usage/large-files.md Prompt AskTheCode to locate the Qdrant vectorstore file in a repository and then find all defined classes and functions within that file. ```prompt https://github.com/langchain-ai/langchain/ Please find path to the file that defines the qdrant vectorstore. Once you know the file path, search for all defined classes and functions in this file. ``` -------------------------------- ### Prompt for Dependency Analysis Source: https://github.com/askthecode/documentation/blob/main/docs/usage/iterative.md Use this prompt to initiate the dependency analysis phase with the plugin. ```prompt Please continue with the dependencies analysis ``` -------------------------------- ### Provide Repository URL and Ask a Question Source: https://github.com/askthecode/documentation/blob/main/docs/usage/basic-usage.md Use this prompt format to provide a GitHub repository URL and ask a question about it. The AskTheCode plugin will then analyze the repository to answer your query. ```prompt https://github.com/langchain-ai/langchain What is LangChain? ``` -------------------------------- ### Prompt for Summarization and Continued Analysis Source: https://github.com/askthecode/documentation/blob/main/docs/usage/iterative.md This prompt instructs the plugin to summarize previous findings before continuing the dependency analysis, ensuring knowledge retention. ```prompt Please summarize what you've learned so far and then continue with the dependencies analysis ``` -------------------------------- ### Request Pull Request Overview Source: https://github.com/askthecode/documentation/blob/main/docs/features/pull-requests/pullrequest-overview.md Provide the GitHub pull request URL and ask for an overview, changes, and conversation summary. ```prompt https://github.com/huggingface/pytorch-image-models/pull/2048 Please give me an overview of the pull request, describe each change and summarize the conversation ``` -------------------------------- ### List Branches in a Repository Source: https://github.com/askthecode/documentation/blob/main/docs/features/branches/list-branches.md Use this prompt to request a list of all branches for a given GitHub repository URL. ```prompt Please list all branches in https://github.com/huggingface/pytorch-image-models ``` -------------------------------- ### Query Default Branch Source: https://github.com/askthecode/documentation/blob/main/docs/usage/custom-branches.md Use this prompt format to query the default branch of a repository. ```prompt https://github.com/langchain-ai/langchainjs please give me an example of how it can be used ``` -------------------------------- ### Request Pull Request Comments Summary Source: https://github.com/askthecode/documentation/blob/main/docs/features/pull-requests/pullrequest-comments.md Use this prompt to request a summary of comments and discussions for a given GitHub pull request. This is particularly useful for large pull requests with extensive conversations. ```prompt https://github.com/dotnet/efcore/pull/10264 Please iterate over the conversation and provide me a summary of each comment and the discussion under it. ``` -------------------------------- ### Request Pull Request File Changes Source: https://github.com/askthecode/documentation/blob/main/docs/features/pull-requests/pullrequest-changes.md Provide a GitHub pull request URL and request a detailed, file-by-file analysis of changes, specifying the desired output format. ```prompt https://github.com/dotnet/efcore/pull/33302 Please iterate over all changes and respond in the format: - ``` -------------------------------- ### Query Specific Commit Source: https://github.com/askthecode/documentation/blob/main/docs/usage/custom-branches.md Append the commit SHA to the repository URL after /tree/ to query a specific commit. ```prompt https://github.com/langchain-ai/langchainjs/tree/98f0df29d75141fd5ff53b14f17f113314122d72 please give me an example of how it can be used ``` -------------------------------- ### Prompt for Mermaid Flowchart Generation Source: https://github.com/askthecode/documentation/blob/main/docs/usage/iterative.md Use this prompt to generate a Mermaid flowchart diagram from the plugin's research, visualizing component interactions and data flow. ```prompt Please build a detailed mermaid flowchart diagram based on this research. Group related entities into subgraphs, use cylindrical shaped nodes only for the database ``` -------------------------------- ### Create a New Branch from a Specific Source Branch Source: https://github.com/askthecode/documentation/blob/main/docs/features/branches/create-branch.md Use this prompt to create a new branch from a specified source branch in a GitHub repository. Ensure you provide the repository URL and the desired new branch name. ```prompt Please create a new branch named "feature-x" in https://github.com/username/repository from the "development" branch. ``` -------------------------------- ### Query Specific Branch Source: https://github.com/askthecode/documentation/blob/main/docs/usage/custom-branches.md Append the branch name to the repository URL after /tree/ to query a specific branch. ```prompt https://github.com/langchain-ai/langchainjs/tree/gh-pages please give me an example of how it can be used ``` -------------------------------- ### Extract Specific Function Body Source: https://github.com/askthecode/documentation/blob/main/docs/usage/large-files.md Prompt AskTheCode to search for a specific function within a file and retrieve a specified number of lines from its body for analysis. ```prompt Please search for the definition of the _asearch_with_score_by_vector function. Grab first 300 lines. Respond with the body of this function. ``` -------------------------------- ### Delete a File from a GitHub Repository Source: https://github.com/askthecode/documentation/blob/main/docs/features/files/file-deletion.md Use this prompt to delete a specific file from a specified branch in a GitHub repository. Ensure you have the correct repository URL, branch name, and file path. ```prompt Please delete the file named "old_version.txt" in the branch "feature/update" of the repository https://github.com/username/repository. ``` -------------------------------- ### Delete a Specific Branch Source: https://github.com/askthecode/documentation/blob/main/docs/features/branches/delete-branch.md Use this prompt to delete a specified branch from a GitHub repository. Ensure the branch is not protected or in active use. ```prompt Please delete the "feature-x" branch in https://github.com/username/repository. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.