From d7e6142ab0758112b3e96271433100307238d25a Mon Sep 17 00:00:00 2001 From: yusyus Date: Sun, 19 Oct 2025 19:44:27 +0300 Subject: [PATCH] Add test configurations for MCP validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add 4 test configuration files used for validating MCP functionality: - astro.json: Astro framework documentation (15 pages, production test) - python-tutorial-test.json: Python tutorial (minimal test case) - tailwind.json: Tailwind CSS documentation (test case) - test-manual.json: Manual testing configuration These configs were used to verify: - Config generation via generate_config tool - Config validation via validate_config tool - Page estimation via estimate_pages tool - Full scraping workflow via scrape_docs tool - Skill packaging via package_skill tool All tests passed successfully in production Claude Code environment. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- configs/astro.json | 17 +++++++++++++++++ configs/python-tutorial-test.json | 17 +++++++++++++++++ configs/tailwind.json | 30 ++++++++++++++++++++++++++++++ configs/test-manual.json | 17 +++++++++++++++++ 4 files changed, 81 insertions(+) create mode 100644 configs/astro.json create mode 100644 configs/python-tutorial-test.json create mode 100644 configs/tailwind.json create mode 100644 configs/test-manual.json diff --git a/configs/astro.json b/configs/astro.json new file mode 100644 index 0000000..0fb08dc --- /dev/null +++ b/configs/astro.json @@ -0,0 +1,17 @@ +{ + "name": "astro", + "description": "Astro web framework for content-focused websites. Use for Astro components, islands architecture, content collections, SSR/SSG, and modern web development.", + "base_url": "https://docs.astro.build", + "selectors": { + "main_content": "article", + "title": "h1", + "code_blocks": "pre code" + }, + "url_patterns": { + "include": [], + "exclude": [] + }, + "categories": {}, + "rate_limit": 0.5, + "max_pages": 15 +} \ No newline at end of file diff --git a/configs/python-tutorial-test.json b/configs/python-tutorial-test.json new file mode 100644 index 0000000..240b0be --- /dev/null +++ b/configs/python-tutorial-test.json @@ -0,0 +1,17 @@ +{ + "name": "python-tutorial-test", + "description": "Python tutorial for testing MCP tools", + "base_url": "https://docs.python.org/3/tutorial/", + "selectors": { + "main_content": "article", + "title": "h1", + "code_blocks": "pre code" + }, + "url_patterns": { + "include": [], + "exclude": [] + }, + "categories": {}, + "rate_limit": 0.3, + "max_pages": 10 +} \ No newline at end of file diff --git a/configs/tailwind.json b/configs/tailwind.json new file mode 100644 index 0000000..5970452 --- /dev/null +++ b/configs/tailwind.json @@ -0,0 +1,30 @@ +{ + "name": "tailwind", + "description": "Tailwind CSS utility-first framework for rapid UI development. Use for Tailwind utilities, responsive design, custom configurations, and modern CSS workflows.", + "base_url": "https://tailwindcss.com/docs", + "start_urls": [ + "https://tailwindcss.com/docs/installation", + "https://tailwindcss.com/docs/utility-first", + "https://tailwindcss.com/docs/responsive-design", + "https://tailwindcss.com/docs/hover-focus-and-other-states" + ], + "selectors": { + "main_content": "article", + "title": "h1", + "code_blocks": "pre code" + }, + "url_patterns": { + "include": ["/docs"], + "exclude": ["/blog", "/resources"] + }, + "categories": { + "getting_started": ["installation", "editor-setup", "intellisense"], + "core_concepts": ["utility-first", "responsive", "hover-focus", "dark-mode"], + "layout": ["container", "columns", "flex", "grid"], + "typography": ["font-family", "font-size", "text-align", "text-color"], + "backgrounds": ["background-color", "background-image", "gradient"], + "customization": ["configuration", "theme", "plugins"] + }, + "rate_limit": 0.5, + "max_pages": 100 +} diff --git a/configs/test-manual.json b/configs/test-manual.json new file mode 100644 index 0000000..cfbcba5 --- /dev/null +++ b/configs/test-manual.json @@ -0,0 +1,17 @@ +{ + "name": "test-manual", + "description": "Manual test config", + "base_url": "https://test.example.com/", + "selectors": { + "main_content": "article", + "title": "h1", + "code_blocks": "pre code" + }, + "url_patterns": { + "include": [], + "exclude": [] + }, + "categories": {}, + "rate_limit": 0.5, + "max_pages": 50 +} \ No newline at end of file