Logo and icon for AskTheCode, a ChatGPT plugin with description: Provide a GitHub repository URL and ask about any aspect of the code.. Find out more on Plugin Surf, the best plugin database.


Provide a GitHub repository URL and ask about any aspect of the code.

AskTheCode is an interactive plugin that helps users with their C# projects hosted on GitHub. Providing the link to the repository, the plugin analyzes its structure and lists all relevant files. When a user asks a question, the plugin generates a response by planning a series of steps and querying the contextual files. In case of errors, the user is quickly informed. The plugin always performs all the necessary steps afresh whenever it receives a new question. With a database of at least 10 files, AskTheCode does not compromise on responses and provides valuable insights to developers seeking help with their projects.

Learn how to use AskTheCode effectively! Here are a few example prompts, tips, and the documentation of available commands.

Example prompts

  1. Prompt 1: "Can you analyze this Github repository for me? The link is [repository URL]."

  2. Prompt 2: "I need help understanding the code in this repository. The link is [repository URL]."

  3. Prompt 3: "I'm having trouble with a specific file in this repository. Can you assist me? The link is [repository URL]."

  4. Prompt 4: "I want to explore the files in this Github repository. Can you provide me with the file structure? The link is [repository URL]."

  5. Prompt 5: "Can you help me navigate this Github repository? Here is the link: [repository URL]."

Features and commands

QueryGithubRepositoryStructureThis command retrieves the file structure of a Github repository. You need to provide the repository URL as a parameter. The response will be a list of all the files present in the repository.
QueryGithubRepositoryFileContentsThis command retrieves the contents of specific files from a Github repository. You need to provide the repository URL and file paths as parameters. The response will contain the contents of the requested files.


User authenticationOAuth2
API documentation

For AI

DescriptionThis plugin analyzes the Github repository provided by the user and then tries to answer users questions related to this repository. It accepts the link to the repository from the user. The first step is to analyze the structure of the repository. When querying the structure of the repository provide the relevant file extensions to answer the users question. Use not only the extensions for the code files but also the extensions of some common files, like markdown and others. If not sure about the extensions, ask the user some clarifying question, for example, which programming language he wants to use. The response is the list of all files that are present in the repository. After receiving the list of files the most relevant files should be queried iteratively. Before giving an answer to the user, the relevance of the answer should be calculated, if it less than 0.7, then additional files should be requested. The process should be repeated until the relevance score is higher than 0.7.


First added20 June 2023

Similar plugins