luke3000/docs-trainer-rag / generated /185a95c71fb9.json
luke3000's picture
download
raw
61.6 kB
[
{
"id": "6166fbf9fa41f7f493a3abd7",
"prompt": "How do I set up Git for the first time on GitHub?",
"reply": "First, install Git locally. Then, you can follow the 'Set up Git' guide in the GitHub Docs, which covers configuring your Git username, email, and connecting your local environment to GitHub. The guide is part of the 'Get started' section.",
"type": "how_to",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "044e0681330cb3e854aa28cd",
"prompt": "What is the purpose of pull requests in GitHub?",
"reply": "Pull requests allow you to propose changes to code in a repository, collaborate with others by reviewing the changes, and merge them into the target branch. They are a core part of the collaborative coding workflow on GitHub.",
"type": "concept_explanation",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "11190b29cf824ab6ec955a0d",
"prompt": "How can I migrate my project to GitHub?",
"reply": "The 'Migrations' section of the GitHub Docs provides guidance on importing your project from other version control systems or platforms. It covers options like importing a repository from Subversion, Mercurial, or another Git service, and details the steps needed to preserve history and metadata.",
"type": "migration",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "bac7b62aaf620534dd01c0f7",
"prompt": "What authentication methods does GitHub support to secure my account?",
"reply": "GitHub supports several authentication methods: passwords (with optional two-factor authentication), personal access tokens (classic and fine-grained), SSH keys for secure connections, and OAuth tokens for integrations. The 'Authentication' section of the docs covers each method in detail.",
"type": "security",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "902b44bea06cae8c2eb8819e",
"prompt": "Which API types does GitHub offer for developers to integrate with?",
"reply": "GitHub provides two main APIs for developers: the REST API and the GraphQL API. The REST API uses standard HTTP methods and is good for simple CRUD operations, while the GraphQL API allows you to query exactly the data you need in a single request. Both are documented in the 'Developers' section.",
"type": "api_reference",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "130427dbe45e8e36f81e2f96",
"prompt": "How do I get code suggestions from GitHub Copilot in my IDE?",
"reply": "To get code suggestions, install the GitHub Copilot extension in your supported IDE (like VS Code, JetBrains, or Neovim). After signing in with your GitHub account and enabling Copilot, you can start typing code and Copilot will suggest completions inline. The 'Getting code suggestions in your IDE with GitHub Copilot' guide in the Copilot section walks through the setup and usage.",
"type": "how_to",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "b8eaf40c9ab546ffbedffd66",
"prompt": "How can I search for files in a GitHub repository that have 'unit_tests' in their path?",
"reply": "You can use the `path:` qualifier. For example, `path:unit_tests` will match any file that contains `unit_tests` anywhere in its file path, such as `src/unit_tests/my_test.py` or `src/docs/unit_tests.md`.",
"type": "how_to",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "362a6dfd4351cc6e2fca3f07",
"prompt": "Explain the purpose and usage of the path qualifier in GitHub code search.",
"reply": "The `path:` qualifier in GitHub code search lets you narrow results to files whose paths contain a given term. For instance, `path:unit_tests` finds all files that have `unit_tests` somewhere in their path, including subdirectories. To match only a specific filename (not part of the path), you can use a regular expression with `path:` and surround the pattern with slashes, e.g., `path:/(^|\\/)README\\.md$/`. Make sure to escape special regex characters like `.` in the filename.",
"type": "concept_explanation",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "a8201ab67c1e7f83f353216a",
"prompt": "I want to find all files that are literally named 'README.md' (not 'readme.md' or other variations). How can I do this with GitHub code search?",
"reply": "Use a regular expression with the `path:` qualifier to match the exact filename. The query is:\n\n`path:/(^|\\/)README\\.md$/`\n\nThis pattern uses `(^|\\/)` to ensure the match starts at the beginning of the path or after a directory separator, `README` for the name, `\\.` to match the literal dot (since `.` has special meaning in regex), and `md$` to end the filename. The slashes around the pattern indicate a regular expression.",
"type": "code_generation",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "bde2b1db246fbbb867c16e80",
"prompt": "When searching for a term like 'http-push', why does it sometimes match filenames that don't contain the term in their content?",
"reply": "In GitHub code search, a bare term (without qualifiers) matches both the content of a file and its file path. So `http-push` will match a file named `docs/http-push.txt` even if the file does not contain the term `http-push` in its content. It will also match a file named `example.txt` if that file does contain the term `http-push` in its text.",
"type": "edge_cases",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "a4f95a1d0cceccbc9eca7042",
"prompt": "What is the difference in search behavior between entering 'sparse index' (space-separated) and '\"sparse index\"' (quoted) in GitHub code search?",
"reply": "When you enter `sparse index` (space‑separated), it performs an AND search: it finds files that contain both terms anywhere, in any order. For example, it would match a file containing `SparseIndexVector`, a file with the phrase `index for sparse trees`, or a file named `index.txt` that contains the term `sparse`. When you enclose the terms in quotes (`\"sparse index\"`), you are querying for an exact match of that string, including whitespace. This is useful for searching for exact phrases or compound identifiers.",
"type": "comparison",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "3d39d330962e0b5df3190213",
"prompt": "I need to search code that contains a dot or a backslash literally. What syntax should I use?",
"reply": "For literal characters that have special meaning in regular expressions (like `.` or `\\`), you must escape them with a backslash when using regular expressions. For a literal dot in a regular expression query, use `\\.`. For a literal backslash, use `\\\\`. For example, to match a file exactly named `README.md`, you would use `path:/(^|\\/)README\\.md$/`.\n\nIf you are searching for an exact string (without regex), simply wrap your query in double quotes and special characters are treated literally (except for quotes and backslashes themselves, which must be escaped with a backslash). See the \"Query for an exact match\" and \"Searching for quotes and backslashes\" sections for full details.",
"type": "how_to",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "de72bf198bc3f36771821eb8",
"prompt": "What is an API and how does it simplify programming?",
"reply": "An API (Application Programming Interface) can be thought of as an instruction manual for communication between multiple software apparatuses. It simplifies programming by extracting implementation details and relinquishing data into objects, making it easier to handle tasks like database communication between web applications without dealing with the underlying complexity.",
"type": "concept_explanation",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "50f5f7059ba61646ccce5290",
"prompt": "I'm looking for a collection of free APIs to use in my project. Do you know any?",
"reply": "Yes, a popular repository featuring a collective list of free APIs is 'public-apis' on GitHub. You can find it at https://github.com/public-apis/public-apis.",
"type": "how_to",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "2fd6ea6fa8d38ce46f3db8ed",
"prompt": "How can I quickly create a fake REST API for testing without writing code?",
"reply": "You can use json-server, which allows you to get a full fake REST API with zero coding in less than 30 seconds. It's available at https://github.com/typicode/json-server.",
"type": "code_generation",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "339b3956c742c3bed9864726",
"prompt": "What is the main purpose of the FastAPI framework?",
"reply": "FastAPI is a high-performance framework that is easy to learn and fast to code with, ready for production use. It helps in building APIs quickly and efficiently.",
"type": "concept_explanation",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "a3c8ee635c7f0c30fc3a3fb1",
"prompt": "I need a tool to test my APIs that is open-source and cross-platform, supporting GraphQL, REST, WebSockets, SSE, and gRPC. Any recommendations?",
"reply": "Insomnia is a cross-platform, open-source API client that supports GraphQL, REST, WebSockets, SSE, and gRPC, with cloud, local, and Git storage. You can find it at https://github.com/Kong/insomnia.",
"type": "how_to",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "63fe920d84690b416ec6fc56",
"prompt": "I want to build an API management and redistribution system for multiple LLM providers like OpenAI and Azure. Is there a ready-to-use solution?",
"reply": "Yes, you can use the 'one-api' project by songquanpeng, which provides LLM API management and redistribution. It supports providers like OpenAI, Azure, Anthropic Claude, Google Gemini, DeepSeek, and many more, and offers a single API adapter for key management. It's available as a single binary or Docker image, and can be deployed with a one-click English UI. See https://github.com/songquanpeng/one-api.",
"type": "how_to",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "3336a813e9220b85749d869b",
"prompt": "What is FastAPI and what makes it high performance?",
"reply": "FastAPI is a modern, high-performance Python 3.7+ web framework designed for building APIs. Its performance is on par with NodeJS and Go, thanks to its underlying technologies: Starlette (for the web parts) and Pydantic (for data validation). It is also easy to learn, fast to code in, and ready for production use. The framework is standards-based, leveraging OpenAPI (formerly Swagger) and JSON Schema to auto-generate interactive API documentation.",
"type": "concept_explanation",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "aabe653187ae6c2905beb0b4",
"prompt": "How do I create a simple FastAPI endpoint that returns JSON?",
"reply": "To create a simple GET endpoint, install FastAPI and an ASGI server like Uvicorn, then define your app and a route:\n\n```python\nfrom fastapi import FastAPI\n\napp = FastAPI()\n\n@app.get(\"/\")\ndef read_root():\n return {\"Hello\": \"World\"}\n```\n\nRun the server with `uvicorn main:app --reload` and visit `http://127.0.0.1:8000/` to see the JSON response. FastAPI automatically generates interactive docs at `/docs`.",
"type": "how_to",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "984cf40e238399ed4ce65e17",
"prompt": "How can I combine FastAPI with SQLModel for database operations?",
"reply": "FastAPI integrates seamlessly with SQLModel, a library that merges SQLAlchemy and Pydantic. First, install `sqlmodel` alongside FastAPI. Define your model using SQLModel’s `SQLModel` base class, then create a FastAPI endpoint that uses a session to query or persist data. Here's a minimal example:\n\n```python\nfrom fastapi import FastAPI, Depends\nfrom sqlmodel import SQLModel, Session, create_engine, select\n\nclass Hero(SQLModel, table=True):\n id: int | None = None\n name: str\n secret_name: str\n age: int | None = None\n\ndatabase_url = \"sqlite:///database.db\"\nengine = create_engine(database_url)\n\napp = FastAPI()\n\n@app.on_event(\"startup\")\ndef on_startup():\n SQLModel.metadata.create_all(engine)\n\n@app.get(\"/heroes/\")\ndef get_heroes():\n with Session(engine) as session:\n heroes = session.exec(select(Hero)).all()\n return heroes\n```",
"type": "code_generation",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "f5b54d1ac08a46d3c3d3ba17",
"prompt": "What are the key advantages of using FastAPI's automatic OpenAPI documentation compared to manually writing API docs?",
"reply": "FastAPI automatically generates interactive API documentation using OpenAPI and JSON Schema standards. This means you get a live `/docs` UI (Swagger) and `/redoc` without any extra effort. Key advantages include:\n- Always in sync with your code – changes to path operations, request bodies, or response models are reflected instantly.\n- You can test endpoints directly in the browser.\n- Eliminates the maintenance burden of keeping manual documentation up to date.\n- The generated schema follows standard OpenAPI, so it can be consumed by other tools (e.g., client generators, API gateways).",
"type": "comparison",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "3c6320ef80a3a9d703bee18b",
"prompt": "What should I keep in mind when running a FastAPI application in production?",
"reply": "FastAPI is designed to be ready for production, but you should:\n- Use a production-grade ASGI server like Uvicorn with Gunicorn for process management, or use Hypercorn.\n- Set `reload=False` and use appropriate number of workers.\n- Enable HTTPS and use a reverse proxy (e.g., Nginx, Traefik).\n- Configure environment variables and secrets properly.\n- Consider using `full-stack-fastapi-template` as a starting point – it includes FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, and automatic HTTPS setup.\n- Follow best practices from community resources like the `fastapi-best-practices` repository.",
"type": "gotchas",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "46c764da9ac80b351fdf1629",
"prompt": "How can I expose my FastAPI endpoints as Model Context Protocol (MCP) tools?",
"reply": "You can use the `fastapi_mcp` library to automatically expose each FastAPI endpoint as an MCP tool. Install the package (`pip install fastapi_mcp`) and then mount the MCP server onto your FastAPI app:\n\n```python\nfrom fastapi import FastAPI\nfrom fastapi_mcp import FastApiMCP\n\napp = FastAPI()\nmcp = FastApiMCP(app, mount_path=\"/mcp\")\n\n@app.get(\"/items/{item_id}\")\nasync def read_item(item_id: int):\n return {\"item_id\": item_id}\n```\n\nThis will create an MCP endpoint at `/mcp` that mirrors your FastAPI routes as tools, including authentication support if configured.",
"type": "how_to",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "9f1e29880d0a286cdc4e5324",
"prompt": "What is GitHub Copilot and how can I get started with it?",
"reply": "GitHub Copilot is an AI pair programmer that can help you learn, build, debug, and ship faster. GitHub Skills offers a guide 'Getting Started with GitHub Copilot' to help you pair program and accelerate your development workflow.",
"type": "concept_explanation",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "4c1acc48f2abdd156fa6f75f",
"prompt": "How do I resolve merge conflicts on GitHub?",
"reply": "GitHub Skills provides a guide 'Resolve merge conflicts' which explains why conflicts happen and how to resolve them. You can get started by following the guide on the GitHub Skills platform.",
"type": "how_to",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "18b690d391cfad451fa18599",
"prompt": "How can I create and use reusable workflows in GitHub Actions?",
"reply": "GitHub Actions allows you to create workflows that can be called from other workflows, enabling reuse. The GitHub Skills guide 'Create and use reusable workflows' covers this in detail. Get started by accessing the guide.",
"type": "how_to",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "a7185fb991f98a3cbc7df4f8",
"prompt": "How do I publish Docker images using GitHub Actions?",
"reply": "You can build and publish Docker images as part of your CI/CD pipeline using GitHub Actions. GitHub Skills offers a guide 'Publish Docker Images' that walks you through the process. Get started with that guide.",
"type": "how_to",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "bf04cdff15f3d5df891b1b04",
"prompt": "What is GitHub Copilot agent mode and how does it work for building multi-tier applications?",
"reply": "GitHub Copilot agent mode enables building multi-tier applications that interact with users and external systems. GitHub Skills provides a guide 'Build applications with GitHub Copilot agent mode' to help you get started.",
"type": "concept_explanation",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "b65b0f0ae2bd47a23bdc468f",
"prompt": "How do I integrate MCP with GitHub Copilot?",
"reply": "You can give GitHub Copilot more tools to enhance its capabilities by integrating MCP. GitHub Skills offers a guide 'Integrate MCP with GitHub Copilot' that explains the process. Get started by accessing the guide.",
"type": "how_to",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "990b0a0fbc668ac66c1a0de6",
"prompt": "I'm trying to set up Git for the first time, but I keep getting an error when I try to connect to GitHub. What should I check?",
"reply": "First, ensure Git is installed locally. Then follow the 'Set up Git' guide in the GitHub Docs under the 'Get started' section. That guide covers configuring your Git username and email, and connecting your local environment to GitHub. If you're having connection issues, also check the 'Connecting to GitHub with SSH' guide in the Authentication section of the docs, which explains how to use SSH for a secure connection.",
"type": "debugging",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "348f71efe7ca8c5dad593e8b",
"prompt": "What are the first steps to configure Git after installing it, and how do I connect it to GitHub?",
"reply": "After installing Git locally, the first steps are to configure your Git username and email, and then connect your local environment to GitHub. The GitHub Docs have a 'Set up Git' guide in the 'Get started' section that walks you through these steps. You can also refer to the 'Managing remote repositories' guide in the same section to learn how to work with remote repositories hosted on GitHub.",
"type": "task request",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "590a12b46f176e362a0fbeea",
"prompt": "How do pull requests support collaboration in a GitHub repository?",
"reply": "Pull requests are a core part of GitHub's collaborative coding workflow. They let you propose changes to code in a repository, allow others to review those changes, and then merge them into the target branch. This process enables team members to discuss modifications, catch issues, and ensure code quality before changes become part of the main codebase.",
"type": "direct question",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "6fc22dce6d546c8dbc23fb2f",
"prompt": "I'm working on a team project and want to suggest a bug fix. What GitHub feature should I use, and what steps does it involve?",
"reply": "You should use a pull request. First, create a branch with your bug fix, then push it to the remote repository. On GitHub, open a pull request from your branch to the target branch (e.g., main). Your teammates can review the changes, leave comments, and request modifications. Once approved, you can merge the pull request to incorporate the fix into the project.",
"type": "task request",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "fdafef70cedfed44e5ca4652",
"prompt": "I have a Subversion repository with a long history. What does GitHub's Migrations section offer to help me move it to GitHub while keeping all the commit history?",
"reply": "The GitHub Docs 'Migrations' section includes guidance for importing repositories from Subversion, Mercurial, or another Git service. It details steps to preserve your project's history and metadata during the migration process.",
"type": "direct_question",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "f2b8d91f02187660cde5acbb",
"prompt": "I'm moving a small project from Mercurial to GitHub. Is there a specific part of the GitHub Docs that explains how to do this without losing commit history?",
"reply": "Yes, the 'Migrations' section of the GitHub Docs covers importing from Mercurial, including steps to preserve history and metadata. You can find full instructions there.",
"type": "task_request",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "ebc047af168d91896eee5f95",
"prompt": "I'm trying to connect to GitHub via SSH but keep getting 'Permission denied (publickey)'. What should I check?",
"reply": "First, ensure your SSH public key is added to your GitHub account under Settings > SSH and GPG keys. Also verify that you're using the correct private key locally (e.g., `ssh -T git@github.com` to test). For detailed steps, see the 'Connecting to GitHub with SSH' section of the authentication documentation.",
"type": "debugging",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "76eb42dcd0d262a8f6bce846",
"prompt": "What's the difference between using a personal access token and an SSH key for authentication on GitHub?",
"reply": "Personal access tokens (classic or fine-grained) are used to authenticate to the GitHub API, GitHub CLI, or as a password alternative over HTTPS. SSH keys are used for secure Git operations over the SSH protocol. Both provide secure access, but tokens can be scoped to specific repositories and permissions, while SSH keys are tied to your account and allow Git operations without a password.",
"type": "comparison",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "ed0ab06721101f632973a83e",
"prompt": "What are the main differences between GitHub's REST API and GraphQL API?",
"reply": "GitHub's REST API uses standard HTTP methods (GET, POST, PUT, DELETE) and is well-suited for simple CRUD operations. The GraphQL API lets you query exactly the data you need in a single request, reducing over-fetching or under-fetching. Both are documented under the 'Developers' section on GitHub Docs.",
"type": "comparison",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "bf82d9c8f3b9af658fd6f2af",
"prompt": "I'm using GitHub's API to fetch issues and keep hitting rate limits. Which API type should I switch to in order to reduce the number of requests?",
"reply": "Consider switching to the GraphQL API. With GraphQL, you can request all the issue fields you need in a single query, rather than making multiple REST calls. This can help you stay within rate limits by minimizing the total number of API requests. Both API types are documented under the 'Developers' section on GitHub Docs.",
"type": "debugging",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "f15ebc85ef0d7d81b9338e82",
"prompt": "I installed the GitHub Copilot extension in VS Code, but I'm not seeing any code suggestions when I type. What could be wrong?",
"reply": "If you installed the Copilot extension but don't see suggestions, first ensure you've signed in with your GitHub account and enabled Copilot. In VS Code, check that the status bar icon shows 'Copilot: Enabled'. If it shows 'Disabled', click it to enable. Also confirm that your IDE supports Copilot (VS Code, JetBrains, Neovim). For a full walkthrough, see the 'Getting code suggestions in your IDE with GitHub Copilot' guide in the Copilot section of GitHub Docs.",
"type": "debugging",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "a14960738c8aa5ef2ea250bf",
"prompt": "Can you walk me through the steps to enable code suggestions in JetBrains using GitHub Copilot?",
"reply": "To get code suggestions in JetBrains with GitHub Copilot: 1) Install the GitHub Copilot extension from the JetBrains marketplace. 2) Open any JetBrains IDE (e.g., IntelliJ, PyCharm). 3) Sign in with your GitHub account when prompted. 4) Enable Copilot via the toolbar or settings. Once enabled, start typing code and Copilot will suggest completions inline. For detailed setup instructions, refer to the 'Getting code suggestions in your IDE with GitHub Copilot' guide in the GitHub Copilot section.",
"type": "task request",
"source_url": "https://docs.github.com/",
"source_title": "document"
},
{
"id": "0a117a808191007f5901ef4a",
"prompt": "I need to find all test files in my repo. How do I use GitHub code search to locate files that include 'unit_tests' somewhere in their file path?",
"reply": "Use the `path:` qualifier with your search term. For example: `path:unit_tests`. This will match files where 'unit_tests' appears anywhere in the file path, such as `src/unit_tests/my_test.py` or `src/docs/unit_tests.md`. You can combine it with other qualifiers like `repo:` to narrow the search to a specific repository.",
"type": "task request",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "748ef7efc53c39b731216d01",
"prompt": "I want to search for a file specifically named 'README.md', but my query `path:README.md` matches files with 'README.md' anywhere in the path, like 'docs/README.md/notes.txt'. How can I match only a file whose name is exactly 'README.md'?",
"reply": "To match only the filename (not part of a directory), use the `path:` qualifier with a regular expression. For example: `path:/(^|\\/)README\\.md$/`. This regex ensures the match is at the start of the filename (after a slash or at the beginning) and ends with `.md`. Note that the dot is escaped because it has special meaning in regex.",
"type": "edge-case request",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "fbed12238a18bdaea8b454f6",
"prompt": "How can I use the `path:` qualifier in GitHub code search to find only files named exactly `README.md`, ignoring any subdirectory components?",
"reply": "To match only the filename `README.md` and not its directory path, use a regular expression with the `path:` qualifier: `path:/(^|\\/)README\\.md$/`. The pattern `(^|\\/)` ensures the match starts at the root or after a slash, and `$` anchors at the end. The dot is escaped as `\\.` because `.` is a regex wildcard.",
"type": "direct question",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "3048c45abc57cc33aecacdd0",
"prompt": "I'm debugging a search that uses `path:` but it's returning files where the term appears in the path instead of only in the filename. What regex can I use to fix this?",
"reply": "Your current query `path:README.md` matches any file path containing that substring. To restrict to filenames exactly, use `path:/(^|\\/)README\\.md$/`. This regex requires the match to start at the beginning or after a slash (`/(^|\\/)`) and end with `.md` (`$/`), and escapes the dot (`\\.`) because `.` matches any character in regex.",
"type": "debugging",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "1d90505e634e9a8bf9272628",
"prompt": "I need to find all files with the exact name 'README.md' (case-sensitive) across my GitHub repositories. What is the correct query using GitHub code search?",
"reply": "Use the `path:` qualifier with a regular expression to match the exact filename. The query is:\n\n`path:/(^|\\/)README\\.md$/`\n\nThis pattern uses `(^|\\/)` to ensure the match starts at the beginning of the path or after a directory separator, `README` for the name, `\\.` to escape the literal dot (since `.` has special meaning in regex), and `md$` to end the filename. The slashes around the pattern indicate a regular expression.",
"type": "debugging",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "61ab093b4086c5000870e3bc",
"prompt": "How can I search for files named exactly 'README.md' using GitHub code search, ensuring I don't get matches for 'readme.md' or 'README.txt'?",
"reply": "To search for files named exactly `README.md` (case-sensitive), use the `path:` qualifier with a regular expression:\n\n`path:/(^|\\/)README\\.md$/`\n\nThis regular expression ensures the filename is exactly `README.md` by anchoring the match at the start of the path or after a directory separator (`(^|\\/)`), matching the literal name `README`, escaping the dot (`\\.`), and ending with `md` (`md$`). This will not match `readme.md` (case difference) or `README.txt` (different extension).",
"type": "code-writing",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "4158447749b42ccabed8c98f",
"prompt": "How can I make a GitHub code search match only the content of files, not their paths?",
"reply": "To search only within file content and not match file paths, you can use a negated path qualifier combined with a regular expression that matches the entire path, but this is not directly supported. A simpler approach is to structure your query to avoid false path matches. For example, if you search for a bare term like 'http-push', it will match both content and paths. To emphasize content-only results, you can add a language qualifier (e.g., `language:python`) or other content-specific qualifiers. However, if you must exclude path matches entirely, you can use `NOT path:/(.*)/` which is not standard. The best practice is to be aware that bare terms match both and use `path:` or `-path:` qualifiers to include or exclude paths explicitly. For instance, `http-push -path:/docs/` would exclude results where the path contains 'docs'.",
"type": "task request",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "809f60e029b583bb573bb340",
"prompt": "I'm getting unexpected results in GitHub code search. Searching for 'sparse index' returns a file named 'index.txt' that only contains the word 'sparse'. Why is that happening?",
"reply": "This is expected because a bare term search (without qualifiers) matches both file content and file paths. The query `sparse index` is treated as `sparse AND index` – it finds files that contain both terms anywhere. A file named `index.txt` that contains the word `sparse` satisfies both conditions: the term `index` matches the file path (`index.txt`), and the term `sparse` matches the file content. To avoid this, you can use the `path:` qualifier to specifically target or exclude paths, or use language-specific qualifiers to narrow results to content only.",
"type": "debugging",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "7c8466169380d9d15c7c964c",
"prompt": "How can I search for files that contain both 'sparse' and 'index' in any order, but not necessarily as a phrase?",
"reply": "To search for files containing both 'sparse' and 'index' in any order, simply enter the terms separated by whitespace: `sparse index`. This performs an AND search, matching files that contain both terms anywhere. For example, it would match a file containing `SparseIndexVector`, a file with the phrase `index for sparse trees`, or a file named `index.txt` that contains the term `sparse`.",
"type": "direct question",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "ae5e43afd90ca9d91aff8bfc",
"prompt": "I need to find the exact string 'sparse index' in my codebase, including the space between the words. What query should I use?",
"reply": "To find the exact string 'sparse index' (including the space), enclose the phrase in double quotes: `\"sparse index\"`. This performs an exact match search, which is useful for finding compound identifiers or specific phrases.",
"type": "task request",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "fe2689b06efc58f886515a59",
"prompt": "I'm trying to search for a literal backslash in my code using the query `\\` but it's not finding anything. What am I doing wrong?",
"reply": "The issue is that a bare backslash is interpreted as an escape character in the query parser. To search for a literal backslash, you have two options:\n\n1. **Exact string search**: Wrap the backslash in double quotes and escape it with another backslash inside the quotes: `\"\\\\\"`. This tells the parser to treat the backslash literally.\n\n2. **Regular expression**: Use a regex by surrounding the pattern in slashes: `/(\\\\)/`. Inside the regex, each backslash must be escaped with another backslash to represent a literal backslash, so you need four backslashes total in the query.\n\nFor most cases, the exact string approach is simpler. For example, to find files containing a literal backslash in their content, use `\"\\\\\"`.",
"type": "debugging",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "2a20b0a3a48b7550d05c5839",
"prompt": "What's the difference between using `\\.` in a regex query and just putting the dot in double quotes when searching for a literal dot?",
"reply": "Both approaches match a literal dot, but they differ in syntax and use cases:\n\n- **Regex with `\\.`**: You must wrap the pattern in slashes, e.g., `/\\./`. The backslash escapes the dot so it's treated literally. This is useful when you need pattern matching, like matching a specific file extension: `path:/(^|\\/)README\\.md$/`.\n\n- **Exact string with double quotes**: Simply wrap the dot in quotes: `\".\"`. Inside quotes, special characters (except quotes and backslashes) are treated literally, so no escaping is needed. This is simpler for searching a literal dot in file contents or paths without regex complexity.\n\nChoose regex when you need to combine with other pattern elements (e.g., anchors, quantifiers). Use exact string for a straightforward literal search.",
"type": "comparison",
"source_url": "https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax",
"source_title": "understanding-github-code-search-syntax"
},
{
"id": "a03ae2092b94324df4628b09",
"prompt": "Explain how APIs simplify database communication between web applications, using an example from the public APIs list.",
"reply": "APIs abstract the underlying database implementation, exposing only necessary data through endpoints. For instance, the 'public-apis' repository aggregates many free APIs that allow web apps to access external data without direct database connections, reducing complexity.",
"type": "task request",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "e5d041d9494f7557ef4cfdad",
"prompt": "What is the difference between using an API and directly querying a database in a web application?",
"reply": "Direct database access requires knowledge of the database schema, connection management, and security handling. An API, as described in the source, extracts the implementation and relinquishes data into objects, so developers interact with simplified endpoints. For example, using a REST API like FastAPI, you send HTTP requests to get data, avoiding raw SQL and connection details.",
"type": "comparison",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "72498fd29177aad264f4b4c9",
"prompt": "I need to find a list of free APIs for a project I'm working on. Can you recommend a GitHub repository that aggregates such APIs?",
"reply": "Yes, the 'public-apis' repository on GitHub is a popular collective list of free APIs. You can access it at https://github.com/public-apis/public-apis.",
"type": "direct question",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "7c25baa97e14c6807135ffce",
"prompt": "My project requires integrating several free APIs, and I'm looking for a curated collection. Where can I find one on GitHub?",
"reply": "The 'public-apis' repository on GitHub is a well-maintained list of free APIs. Visit https://github.com/public-apis/public-apis to explore it.",
"type": "task request",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "a067f0112766ac53fdffc78a",
"prompt": "I need to set up a dummy REST API for a demo without any coding. Specifically, I need it to run in under a minute. What tool should I use?",
"reply": "You can use json-server. It creates a full fake REST API with zero coding in less than 30 seconds. It's available at https://github.com/typicode/json-server.",
"type": "direct question",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "1d7c9339292830de53fd9324",
"prompt": "Can I create a mock REST API entirely without writing code? I'm looking for something really quick.",
"reply": "Yes, you can use json-server. You get a full fake REST API with zero coding in under 30 seconds. See https://github.com/typicode/json-server.",
"type": "task request",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "844ee008ac5af8df43c6428b",
"prompt": "What makes FastAPI a high-performance framework?",
"reply": "FastAPI is designed for high performance, easy learning, and fast coding, making it ready for production use. It helps in building APIs quickly and efficiently.",
"type": "question",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "99a34280ed0db93b954906bd",
"prompt": "I need to quickly prototype an API. Why should I choose FastAPI?",
"reply": "FastAPI is easy to learn and fast to code with, allowing you to build APIs quickly and efficiently. It is also high-performance and production-ready.",
"type": "task",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "5934db914d38ace028143b11",
"prompt": "How does Insomnia compare to Hoppscotch for API testing? I need something open-source and cross-platform.",
"reply": "Both Insomnia and Hoppscotch are open-source, cross-platform API clients. Insomnia (https://github.com/Kong/insomnia) supports GraphQL, REST, WebSockets, SSE, and gRPC with cloud, local, and Git storage. Hoppscotch (https://github.com/hoppscotch/hoppscotch) is also open-source and cross-platform, offering a web, desktop, and CLI experience. Your choice may depend on storage preferences and protocol support — Insomnia is more focused on local/Git sync, while Hoppscotch offers offline and cloud options.",
"type": "comparison",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "f087c20b71fcec140b469639",
"prompt": "I'm getting connection errors when trying to test WebSocket endpoints in Insomnia. What could be wrong?",
"reply": "Insomnia supports WebSockets, but connection errors often stem from incorrect endpoint URLs (e.g., ws:// vs wss://), firewall restrictions, or server availability. Verify the WebSocket URL format matches your server (e.g., ws://example.com/socket). Also check that the server allows connections from your network. For persistent issues, test with a simple WebSocket client or wscat to isolate the problem. Insomnia’s official GitHub repo (https://github.com/Kong/insomnia) may have issue discussions related to WebSocket connectivity.",
"type": "debugging",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "58a48fe46f62dad50bbcc7f3",
"prompt": "I need to deploy an LLM API gateway that can load balance across OpenAI, Azure, and Anthropic models. Is there an open-source project that supports that?",
"reply": "Yes, the 'one-api' project by songquanpeng is designed exactly for this. It acts as a management and redistribution layer for LLM APIs, supporting providers like OpenAI, Azure, Anthropic Claude, Google Gemini, DeepSeek, and many others. It provides a unified API adapter, key management, and can be deployed as a single binary or Docker image with a one-click English UI. See https://github.com/songquanpeng/one-api.",
"type": "task request",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "e09e9e598ffd1a9465876736",
"prompt": "I'm comparing different LLM API management solutions for a multi-provider setup. Does one-api handle key management and logging across providers?",
"reply": "Yes, 'one-api' is built for LLM API management and redistribution across multiple providers. It provides a unified API adapter and includes key management features, which would allow you to handle keys and potentially track usage across providers like OpenAI, Azure, Anthropic, etc. It can be deployed quickly via single binary or Docker. More details at https://github.com/songquanpeng/one-api.",
"type": "comparison",
"source_url": "https://github.com/topics/api",
"source_title": "api"
},
{
"id": "7d32678a141c89985b25aab1",
"prompt": "What underlying technologies does FastAPI use to achieve high performance?",
"reply": "FastAPI relies on Starlette for the web framework components and Pydantic for data validation. These technologies allow it to achieve performance on par with NodeJS and Go.",
"type": "direct question",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "930ccfafceb216677f53b956",
"prompt": "I need to build a production-ready API quickly. Why should I choose FastAPI?",
"reply": "FastAPI is designed for production use, is high performance (on par with NodeJS and Go), easy to learn, and fast to code. It is standards-based, leveraging OpenAPI and JSON Schema to auto-generate interactive API documentation, which can speed up development and ensure consistency.",
"type": "task request",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "63d2322553b55ba92d2cded9",
"prompt": "My FastAPI endpoint isn't returning any data. I defined a function with a decorator like @app.get(\"/\"), but when I visit the URL, I get a 405 Method Not Allowed instead of the JSON response. What could be wrong?",
"reply": "A 405 Method Not Allowed error typically means the HTTP method (e.g., GET) is not allowed for that route. Check that you're using the correct decorator for the method you're requesting. For a browser visit, you need `@app.get(\"/\")`. Also ensure the URL path matches exactly. If you're using a different method like POST, make sure to use `@app.post()`. Finally, verify the server is running with `uvicorn main:app --reload` and accessing the correct port.",
"type": "debugging",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "895d94b564cc048587474799",
"prompt": "Write a FastAPI endpoint that accepts a query parameter 'name' and returns a personalized greeting in JSON.",
"reply": "You can define a GET endpoint with a query parameter by adding a function argument:\n\n```python\nfrom fastapi import FastAPI\n\napp = FastAPI()\n\n@app.get(\"/greet\")\ndef greet(name: str):\n return {\"message\": f\"Hello, {name}!\"}\n```\n\nRun with `uvicorn main:app --reload` and visit `http://127.0.0.1:8000/greet?name=John` to get `{\"message\": \"Hello, John!\"}`. FastAPI automatically handles query parameters and validates types.",
"type": "task",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "0f0fc0cceab9e512898e5ea8",
"prompt": "I'm getting a 'Table not found' error when using SQLModel with FastAPI. How can I fix it?",
"reply": "Ensure you call `SQLModel.metadata.create_all(engine)` during application startup. In the base example, this is done in the `@app.on_event('startup')` handler. Without that call, the database tables won't be created. If you are using a different database URL, make sure the engine is connected and the table exists before querying.",
"type": "debugging",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "737524aa1317aabe28bc1a6d",
"prompt": "How does using SQLModel differ from using SQLAlchemy directly in FastAPI?",
"reply": "SQLModel combines the ORM model (SQLAlchemy) and the data validation model (Pydantic) into a single class. With SQLAlchemy, you would typically define a separate Pydantic schema for request/response validation. SQLModel eliminates this duplication. For example, the `Hero` class in the base example works both as a database table and as a Pydantic model, so you can use it directly in endpoint return types without extra schemas.",
"type": "comparison",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "06d9cda659734a42e27055f8",
"prompt": "How does FastAPI's automatic OpenAPI documentation compare to manually writing API docs in terms of keeping them synchronized with code changes?",
"reply": "FastAPI's automatic documentation is generated directly from your Python code using OpenAPI and JSON Schema. This means any change you make to path operations, request bodies, or response models is instantly reflected in the `/docs` and `/redoc` UIs. In contrast, manually written documentation requires you to remember to update it separately, which often leads to outdated or incorrect docs. FastAPI eliminates that maintenance burden entirely, ensuring your docs are always accurate and in sync with your code.",
"type": "comparison",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "fa50dbdc3d8ce28a34d71371",
"prompt": "I updated my Pydantic request model but the Swagger UI at /docs still shows the old fields. What could be wrong and how do I fix it?",
"reply": "FastAPI generates documentation automatically from your code, so if the `/docs` page is not reflecting changes, it's likely a caching issue. Try restarting your FastAPI server to force regeneration of the OpenAPI schema. Also ensure you are importing and using the updated model correctly in your path operation. Since FastAPI uses Python type hints and Pydantic models to build the schema, the docs should update instantly on server restart. If the problem persists, check that your model file is being reloaded if you are using auto-reload (e.g., `--reload` flag).",
"type": "debugging",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "3792892239ee7899159653dc",
"prompt": "I'm deploying a FastAPI app to production. Should I use Uvicorn directly or Gunicorn with Uvicorn workers? Also, how do I handle environment variables and secrets?",
"reply": "For production, you should use a production-grade ASGI server. While Uvicorn can be used directly, it's recommended to use Gunicorn as a process manager with Uvicorn workers (using `gunicorn -k uvicorn.workers.UvicornWorker`) for better process management, automatic worker restarts, and graceful shutdowns. Alternatively, you can use Hypercorn. Set `reload=False` and configure an appropriate number of workers (typically `2 * CPU cores + 1`). For environment variables and secrets, use a `.env` file (never commit it) and load them via a library like `python-dotenv` or your deployment platform's secret management. The `full-stack-fastapi-template` repository on GitHub demonstrates a production-ready setup including Docker, PostgreSQL, and automatic HTTPS.",
"type": "debugging",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "5aa8c78631cd11c486f88938",
"prompt": "Compare using a reverse proxy (like Nginx or Traefik) with exposing FastAPI directly on a public port. When should I use each?",
"reply": "In production, you should always use a reverse proxy in front of FastAPI. A reverse proxy (e.g., Nginx, Traefik) handles HTTPS termination, load balancing, static file serving, rate limiting, and security hardening. Exposing FastAPI directly on a public port is not recommended because it lacks these capabilities and can lead to security vulnerabilities. The `full-stack-fastapi-template` project includes automatic HTTPS setup via a reverse proxy. The `fastapi-best-practices` repository also covers production deployment patterns with reverse proxies.",
"type": "comparison",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "2f23e659a69a497974478110",
"prompt": "I installed fastapi_mcp and mounted it at '/mcp', but my MCP client says no tools are available. What could be wrong?",
"reply": "A common issue is that the MCP server must be mounted after all your endpoint definitions. Ensure you define your routes before creating the `FastApiMCP` instance. Also verify that the mount path is exactly what your client is querying (e.g., `/mcp`). If you have authentication enabled on your FastAPI app, make sure your MCP client sends the required credentials (e.g., API key or token) — `fastapi_mcp` respects any authentication dependencies you've configured on your endpoints.",
"type": "debugging",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "70d98786d1f98acb9f53ab54",
"prompt": "Write code to expose a FastAPI app with several endpoints (GET, POST) as MCP tools, and include authentication support.",
"reply": "```python\nfrom fastapi import FastAPI, Depends, HTTPException, status\nfrom fastapi.security import HTTPBearer, HTTPAuthorizationCredentials\nfrom fastapi_mcp import FastApiMCP\n\napp = FastAPI()\nsecurity = HTTPBearer()\n\n@app.get(\"/items/{item_id}\")\nasync def read_item(item_id: int, credentials: HTTPAuthorizationCredentials = Depends(security)):\n return {\"item_id\": item_id}\n\n@app.post(\"/items\")\nasync def create_item(name: str, credentials: HTTPAuthorizationCredentials = Depends(security)):\n return {\"name\": name, \"created\": True}\n\nmcp = FastApiMCP(app, mount_path=\"/mcp\")\n```\nThis mounts an MCP server at `/mcp` that exposes both endpoints as tools. The `HTTPBearer` dependency enforces token authentication; `fastapi_mcp` will pass the required credentials through to the MCP client. For other auth schemes (OAuth2, API keys), simply use the appropriate FastAPI dependency — the library adapts automatically.",
"type": "task-request",
"source_url": "https://github.com/topics/fastapi",
"source_title": "fastapi"
},
{
"id": "514b1bcdbd0997eef92f89ce",
"prompt": "I'm trying to understand how GitHub Copilot can help me modernize old code. Is there a specific skill or course on GitHub Skills that covers this?",
"reply": "Yes, GitHub Skills offers a course called 'Modernize your legacy code with GitHub Copilot'. It walks you through converting a school's legacy accounting system from COBOL to Node.js using GitHub Copilot. This can help you learn how to leverage Copilot to refactor and update older codebases.",
"type": "task request",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "0b9e7323769500e1240b7aa4",
"prompt": "I need to debug a failing GitHub Actions workflow. Can GitHub Copilot help with that, and where do I start on GitHub Skills?",
"reply": "GitHub Copilot can assist you in debugging workflows by suggesting fixes and improvements as you code. To get started, visit GitHub Skills and take the 'Getting Started with GitHub Copilot' guide. This guide teaches you to pair program with Copilot, which includes debugging scenarios. Additionally, you might find the 'Test with Actions' and 'Work with Workflow Artifacts' courses useful for understanding workflow debugging.",
"type": "debugging",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "68bb4299e0dc2f6a6c063b2d",
"prompt": "I keep getting merge conflict errors in my GitHub repository. Can you point me to a step-by-step guide that explains why these happen and how to fix them?",
"reply": "Yes, GitHub Skills offers a guide called 'Resolve merge conflicts' that covers why conflicts occur and how to resolve them. You can access it directly on the GitHub Skills platform at https://skills.github.com/.",
"type": "debugging",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "ba86c7086310d514da7cb155",
"prompt": "Which GitHub Learning Lab course should I take to learn about resolving merge conflicts?",
"reply": "The GitHub Skills guide titled 'Resolve merge conflicts' is the recommended course. It explains the causes of merge conflicts and provides a hands-on process to resolve them. You can start it from the GitHub Skills platform at https://skills.github.com/.",
"type": "direct question",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "bf402cb8fa7375ce2c237fb2",
"prompt": "How do I make my GitHub Actions workflow reusable so other workflows can call it?",
"reply": "The GitHub Skills guide 'Create and use reusable workflows' covers exactly this. It walks you through defining a workflow with the appropriate trigger and calling it from other workflows to enable reuse.",
"type": "direct_question",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "b2d5e9a3c76acaf7f5f5d514",
"prompt": "I need to create a reusable workflow for my team's CI pipeline. Which GitHub Skill should I use?",
"reply": "Use the 'Create and use reusable workflows' skill on GitHub Skills. It provides a step-by-step tutorial for building workflows that can be called by other workflows, helping you standardize and reuse CI/CD configurations.",
"type": "task_request",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "bdc0dc85489ad69155543db9",
"prompt": "I want to set up a CI/CD pipeline that automatically builds and pushes my Docker image to a registry whenever I push to the main branch. How can I do that using GitHub Actions?",
"reply": "You can create a GitHub Actions workflow that builds and publishes your Docker image. GitHub Skills offers a guided learning path titled 'Publish Docker Images' that takes you through the entire process step by step. Start with that guide to set up your pipeline.",
"type": "task request",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "96c312132cf2da54a6e89df6",
"prompt": "My Docker image build succeeds locally but fails in my GitHub Actions workflow. What could be wrong, and how can I debug this?",
"reply": "First, ensure you follow the best practices from the 'Publish Docker Images' guide on GitHub Skills. Common issues include missing Docker login credentials, incorrect registry paths, or missing dependencies in your Dockerfile. The guide walks you through proper configuration and debugging steps for publishing Docker images with GitHub Actions.",
"type": "debugging",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "4d1ee28f062271de16178f88",
"prompt": "How can I start building multi-tier applications using GitHub Copilot agent mode?",
"reply": "You can start by exploring the 'Build applications with GitHub Copilot agent mode' guide available on GitHub Skills. It provides step-by-step instructions for creating multi-tier apps that interact with users and external systems.",
"type": "direct_question",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "2b6668d4c4c0e3400378229f",
"prompt": "What resources does GitHub Skills offer for learning about GitHub Copilot agent mode?",
"reply": "GitHub Skills offers a guide titled 'Build applications with GitHub Copilot agent mode' that teaches you how to build multi-tier applications using Copilot's agent mode. You can find it in the 'Take flight with GitHub Copilot' section.",
"type": "task_request",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "d320fc48e9cf0c2a53f00c15",
"prompt": "I want to give GitHub Copilot more tools for my workflow. What resource does GitHub provide to learn about MCP integration?",
"reply": "GitHub Skills offers a guide titled 'Integrate MCP with GitHub Copilot' that walks you through the process. To get started, simply access the guide from the GitHub Skills page.",
"type": "debugging",
"source_url": "https://skills.github.com/",
"source_title": "document"
},
{
"id": "65427731d525037e7cc30257",
"prompt": "Is there a way to enhance GitHub Copilot's capabilities using MCP, and where can I find the official learning material?",
"reply": "Yes, integrating MCP with GitHub Copilot gives it more tools to enhance its capabilities. The official resource is the 'Integrate MCP with GitHub Copilot' guide available on GitHub Skills. Get started by accessing the guide.",
"type": "debugging",
"source_url": "https://skills.github.com/",
"source_title": "document"
}
]

Xet Storage Details

Size:
61.6 kB
·
Xet hash:
fea40a1db9e44c19cd4422ae7b30492668ae69827fe8c7b19eb3a05d435e3b92

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.