Conversation
- Completely rewrite README.md to follow standardized structure - Add npm and license badges to header - Add all required sections: Overview, Features, Installation, Running with MCP Client, Configuration, Usage Examples, MCP Tools, Development, Resources, Disclaimer, License - Add AUTO-GENERATED TOOLS markers for tool documentation - Add generate-tools.mjs script for auto-generating tool docs - Add sync-tools.yml workflow for auto-syncing on push to main - Add zod-to-json-schema dependency for tool documentation This aligns mcp-near-intent-swaps with the standardized README format used across all IQ.AI MCP repositories. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Summary of ChangesHello @Royal-lobster, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the project's documentation and maintainability by standardizing the Highlights
Ignored Files
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
Closing PR as main branch already has the standardized README structure. |
There was a problem hiding this comment.
Code Review
This pull request significantly improves the project's documentation by standardizing the README.md file and introducing a script to auto-generate documentation for MCP tools. The new README is well-structured, informative, and easy to follow. The auto-generation script is a great step towards better maintainability. I have one minor suggestion for the script to enhance its cross-platform compatibility. Overall, excellent work on improving the project's developer experience.
| @@ -0,0 +1,156 @@ | |||
| import fs from "node:fs"; | |||
| import path from "node:path"; | |||
| import { fileURLToPath } from "node:url"; | |||
There was a problem hiding this comment.
For better cross-platform compatibility, especially on Windows, it's safer to convert file paths to file:// URLs before using them in dynamic import() statements. path.join() creates platform-specific paths (e.g., with \ on Windows), which might not be correctly resolved by import().
You can achieve this by importing pathToFileURL here and then using it on line 30 as follows:
const mod = await import(pathToFileURL(path.join(TOOLS_DIR, file)).href);| import { fileURLToPath } from "node:url"; | |
| import { fileURLToPath, pathToFileURL } from "node:url"; |
Summary
Test plan
🤖 Generated with Claude Code