Skills Plugins MCP Prompt Model 博客 我的中心
生活与工具 #mcp #testing

netbox-mcp-testing

This skill should be used when systematically testing the NetBox MCP server after code changes or to validate tool functionality. Provides structured protocol for discovering and testing MCP tools with a live NetBox instance, with emphasis on performance monitoring and comprehensive reporting.

DeepseekModel 官方收录技能 质量 优秀 · 78 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=netboxlabs-netbox-mcp-server-claude-skills-netbox-mcp-testing-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name netbox-mcp-testing description This skill should be used when systematically testing the NetBox MCP server after code changes or to validate tool functionality. Provides structured protocol for discovering and testing MCP tools with a live NetBox instance, with emphasis on performance monitoring and comprehensive reporting. NetBox MCP Testing When to Use Use this skill when: After code/configuration changes or new tool additions Validating MCP server functionality with NetBox instance Prerequisites Check Before testing, verify: NetBox MCP server is connected (run /mcp command) Access to a live NetBox instance with test data exists NETBOX_URL and NETBOX_TOKEN environment variables are configured If prerequisites aren't met, testing cannot proceed reliably. Testing Approach Execute comprehensive test scenarios autonomously, prioritizing high-value tests first. Core Testing Mindset Provide clear, actionable feedback - Include specific metrics whenever possible (response times, data sizes, error counts) Investigate immediately - When encountering issues, don't just report symptoms, immediately investigate root causes and propose solutions Be metrics-driven - Quantify results wherever possible rather than relying on qualitative assessments Core Testing Protocol 1. Pre-Test Analysis Before beginning testing, assess the current state: Identify what has changed (if this is post-code-change validation) Determine testing scope (all tools vs. specific tools) Establish baseline expectations (what should work?) Note any known issues or limitations in the environment 2. Tool Discovery & Documentation Discover available NetBox MCP tools by listing them. For each tool, document: Tool name and purpose Expected parameters (required and optional) Return data structure Error conditions 3. Systematic Testing with Performance Monitoring Apply systematic testing to each discovered tool. Capture response times and metrics throughout. For each tool, test : Valid inputs - Execute with typical, valid parameters Verify returns expected data structure Confirm data is from NetBox instance Record response time for baseline Invalid inputs - Execute with incorrect parameters Verify proper error messages Ensure errors are informative (not generic) Confirm server doesn't crash Note error handling performance Edge cases - Execute boundary conditions Empty result sets (filters that match nothing) Non-existent IDs or invalid identifiers Missing required parameters Permission boundaries (if applicable) Large result sets (test pagination handling) Data integrity - Validate returned data Structure matches NetBox API format Required fields are present Data types are correct Nested relationships are properly resolved Performance benchmarks - Monitor efficiency metrics Response times for typical queries Behavior with large data sets Resource usage patterns Identify optimization opportunities 4. Issue Documentation & Investigation When encountering failures or unexpected behavior: Document clearly - Capture error messages, inputs, expected vs. actual behavior, performance metrics, affected features, and severity Investigate root causes - Don't just report symptoms Examine error messages and stack traces Check NetBox API logs if accessible Test variations to isolate the issue Identify patterns across similar failures Propose solutions - Provide actionable recommendations Suggest code fixes when obvious Recommend configuration changes if needed Identify workarounds for temporary mitigation 5. Code Change Response When the NetBox MCP server code has been modified, immediately: Reload the MCP server - Disconnect and reconnect the mcp Re-run full test protocol to validate changes Execute all tests from Tool Discovery through Performance Monitoring Document any new behaviors or changes from previous baseline Compare before/after results Check for functional regressions (previously working features now broken) Check for performance regressions (response time increases) Note any improvements or fixes Document impact of changes What was fixed or improved? Were there any unintended side effects? Are there remaining issues to address? Comprehensive Test Report Produce a detailed test report as the primary deliverable. Naming Convention Test reports should follow this naming pattern: TEST_REPORT_YYYYMMDD_HHMM_[scope].md Examples : TEST_REPORT_20251017_1430_full.md - Full test suite TEST_REPORT_20251017_1530_post_code_change.md - After modifications TEST_REPORT_20251017_1600_[tool_name].md - Specific tool Reporting Use assets/TEST_REPORT_TEMPLATE.md as the structure - it includes all required sections (Executive Summary, Tool Inventory, Detailed Test Results with pass/fail/warnings, Performance Metrics, Recommendations, and Test Coverage Summary). Ensure proposed solutions from your investigations are included in the report. IMPORTANT : Write test reports to the project root directory (not the assets folder). The template is in assets for reference, but the actual reports should be created at the root of the project. Efficiency Guidelines Balance comprehensive testing with time constraints: Prioritize high-value tests - Test core functionality first Start with happy paths - Ensure basic operations work before edge cases Group similar tests - Test multiple scenarios for the same tool together Troubleshooting Common Issues "Tool not found" : MCP server isn't connected - verify with /mcp command "Authentication failed" : Token invalid or expired - check NETBOX_TOKEN value "Connection refused" : NetBox instance not accessible - verify NETBOX_URL Invalid parameters : Review tool's expected parameters in its docstring or description Quick Example Testing a hypothetical netbox_get_objects tool: ✅ Valid: {"object_type": "devices", "filters": {}} → 150ms response ❌ Invalid: {"object_type": "invalid-type", "filters": {}} → ValueError (expected) ⚠️ Edge: {"object_type": "devices", "filters": {"name": "nonexistent"}} → Empty list, 200ms Adapt this pattern to whatever tools are actually available.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。