Skip to content

Add deepwiki mcp tool to bit Boilerplate (#11026)#11027

Merged
yasmoradi merged 12 commits intobitfoundation:developfrom
yasmoradi:deepwiki-mcp-tool
Jun 29, 2025
Merged

Add deepwiki mcp tool to bit Boilerplate (#11026)#11027
yasmoradi merged 12 commits intobitfoundation:developfrom
yasmoradi:deepwiki-mcp-tool

Conversation

@yasmoradi
Copy link
Copy Markdown
Member

@yasmoradi yasmoradi commented Jun 27, 2025

closes #11026

Summary by CodeRabbit

  • Documentation

    • Improved structure and clarity of the Copilot instructions, including updated headings and a new section with guidance on using DeepWiki for BitPlatform documentation.
    • Added a reference to copilot-instructions.md in the WikiDocs README.
  • Chores

    • Introduced a new configuration file enabling DeepWiki server integration for enhanced documentation support.
  • Bug Fixes

    • Updated several package dependencies to their latest versions for improved stability and security.

@yasmoradi yasmoradi requested review from Copilot and msynk June 27, 2025 19:49
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Jun 27, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

A new configuration file for the DeepWiki MCP tool was added to the Bit Boilerplate template, along with documentation updates describing its usage. Package versions for several dependencies were incremented, and minor documentation structure changes were made in related markdown files.

Changes

File(s) Change Summary
src/Templates/Boilerplate/Bit.Boilerplate/.github/copilot-instructions.md Adjusted headings, removed some section headers, and added instructions for using the DeepWiki tool.
src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json Added new JSON configuration for DeepWiki MCP tool, specifying server and endpoint.
src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props Updated versions for libphonenumber-csharp and three Sentry packages.
src/Websites/WikiDocs/README.md Added a section header for "copilot-instructions.md" at the end of a list.

Assessment against linked issues

Objective Addressed Explanation
Add DeepWiki MCP tool configuration to Bit Boilerplate (#11026)
Document usage and integration of DeepWiki tool in copilot instructions (#11026)

Poem

In the warren, tools are sprouting new,
DeepWiki hops in, with knowledge to pursue.
Packages leap to versions bright,
Docs are tidied, clear and light.
With every nibble, code grows strong—
A rabbit’s joy: where docs belong! 🐇📚

✨ Finishing Touches
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the DeepWiki MCP tool to the Bit Boilerplate by updating configuration files and documentation to integrate DeepWiki support.

  • Added a new "copilot-instructions.md" heading reference in the WikiDocs README.
  • Updated package versions for libphonenumber-csharp and Sentry packages.
  • Added a new MCP configuration file for DeepWiki and revised copilot instructions with DeepWiki usage guidelines.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/Websites/WikiDocs/README.md Added a heading for copilot instructions.
src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props Updated dependency versions for libphonenumber-csharp and Sentry packages.
src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json Introduced a new MCP configuration file for DeepWiki.
src/Templates/Boilerplate/Bit.Boilerplate/.github/copilot-instructions.md Revised documentation layout and added DeepWiki tool usage guidelines.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (4)
src/Templates/Boilerplate/Bit.Boilerplate/.github/copilot-instructions.md (3)

3-3: Fix markdown heading level increment.

The heading level jumps from H1 to H3, which violates markdown best practices. Consider using H2 (##) instead or adding an intermediate H2 heading.

-### Architecture & Project Structure
+## Architecture & Project Structure

67-67: Fix markdown heading level increment.

Similar to the previous heading, this jumps to H3 without an intermediate H2.

-### Best Practices
+## Best Practices

87-88: Standardize list bullet style.

The markdown uses asterisks (*) for list items while the rest of the document uses dashes (-). Maintain consistency throughout the document.

-*   **User Prompt:** "How do I make a BitButton disabled?"
-*   **Your Action:** First, run `deepwiki fetch bitfoundation/bitplatform to search for How do I make a BitButton disabled?`. Then, use the documentation to answer the user.
+-   **User Prompt:** "How do I make a BitButton disabled?"
+-   **Your Action:** First, run `deepwiki fetch bitfoundation/bitplatform to search for How do I make a BitButton disabled?`. Then, use the documentation to answer the user.
src/Websites/WikiDocs/README.md (1)

42-44: Consider adding descriptive content under the new section.

While the section header addition is appropriate, consider adding a brief description of what the copilot-instructions.md contains and how it relates to the wiki's documentation scope.

 ## copilot-instructions.md
+
+Developer guidance and instructions for using AI tools like GitHub Copilot with the BitPlatform ecosystem, including specialized tool usage for documentation queries.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Knowledge Base: Disabled due to Reviews > Disable Knowledge Base setting

📥 Commits

Reviewing files that changed from the base of the PR and between 9809189 and e0d820a.

📒 Files selected for processing (4)
  • src/Templates/Boilerplate/Bit.Boilerplate/.github/copilot-instructions.md (2 hunks)
  • src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json (1 hunks)
  • src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props (2 hunks)
  • src/Websites/WikiDocs/README.md (1 hunks)
🧰 Additional context used
🪛 markdownlint-cli2 (0.17.2)
src/Templates/Boilerplate/Bit.Boilerplate/.github/copilot-instructions.md

3-3: Heading levels should only increment by one level at a time
Expected: h2; Actual: h3

(MD001, heading-increment)


87-87: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)


88-88: Unordered list style
Expected: dash; Actual: asterisk

(MD004, ul-style)

⏰ Context from checks skipped due to timeout of 90000ms (1)
  • GitHub Check: build and test
🔇 Additional comments (4)
src/Templates/Boilerplate/Bit.Boilerplate/src/Directory.Packages.props (2)

16-16: Verify the libphonenumber-csharp package version exists.

Ensure that version 9.0.8 of the libphonenumber-csharp package is available and check for any associated security advisories.

#!/bin/bash
# Description: Verify libphonenumber-csharp version 9.0.8 exists and check for security advisories

# Check NuGet for the specific version
curl -s "https://api.nuget.org/v3-flatcontainer/libphonenumber-csharp/index.json" | jq '.versions[] | select(. == "9.0.8")'

# Check for latest version
curl -s "https://api.nuget.org/v3-flatcontainer/libphonenumber-csharp/index.json" | jq '.versions[-1]'

43-45: ```shell
#!/usr/bin/env bash

Attempt decompression to properly parse vulnerabilities

for pkg in "sentry.aspnetcore" "sentry.extensions.logging" "sentry.maui"; do
echo "Checking vulnerabilities for $pkg@5.11.2"
curl --compressed -s "https://api.nuget.org/v3/registration5-gz-semver2/$pkg/index.json" |
jq '.items[]
| .items[]
| select(.catalogEntry.version=="5.11.2")
| .catalogEntry.vulnerabilities // []'
echo "---"
done


</details>
<details>
<summary>src/Templates/Boilerplate/Bit.Boilerplate/.vscode/mcp.json (1)</summary>

`1-8`: **LGTM! Valid MCP configuration.**

The JSON configuration is syntactically correct and properly defines the DeepWiki MCP server with SSE (Server-Sent Events) transport. The structure aligns with MCP protocol specifications.

</details>
<details>
<summary>src/Templates/Boilerplate/Bit.Boilerplate/.github/copilot-instructions.md (1)</summary>

`77-88`: **LGTM! Comprehensive DeepWiki tool usage instructions.**

The new section provides clear, actionable instructions for using the DeepWiki tool, including mandatory usage rules, command syntax, and practical examples. This will help ensure consistent usage of the BitPlatform documentation tool.

</details>

</blockquote></details>

</details>

<!-- This is an auto-generated comment by CodeRabbit for review status -->

@yasmoradi yasmoradi merged commit ec6d3fd into bitfoundation:develop Jun 29, 2025
3 checks passed
@yasmoradi yasmoradi deleted the deepwiki-mcp-tool branch June 29, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deepwiki mcp tool is missing in bit Boilerplate

2 participants