Add test configurations for MCP validation
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 <noreply@anthropic.com>
This commit is contained in:
17
configs/astro.json
Normal file
17
configs/astro.json
Normal file
@@ -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
|
||||
}
|
||||
17
configs/python-tutorial-test.json
Normal file
17
configs/python-tutorial-test.json
Normal file
@@ -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
|
||||
}
|
||||
30
configs/tailwind.json
Normal file
30
configs/tailwind.json
Normal file
@@ -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
|
||||
}
|
||||
17
configs/test-manual.json
Normal file
17
configs/test-manual.json
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user