一键导入
error-transport-context
Preserve service request context across MCP and CLI error envelopes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Preserve service request context across MCP and CLI error envelopes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
{what this skill teaches agents}
Excel CLI automation skill for Windows workbooks. Use when a coding agent needs token-efficient, scriptable, or unattended Excel automation via excelcli commands. Best for CI/CD, scheduled jobs, batch processing, PowerShell workflows, and bulk workbook edits. Supports Power Query, DAX, PivotTables, Tables, Ranges, Charts, VBA, Data Models, screenshots, and formatting. Triggers: excelcli, Excel CLI, command line, batch, script, automation, CI/CD, scheduled, PowerShell, unattended, coding agent, workbook processing.
Excel MCP Server skill for Windows workbook automation. Use when an assistant needs rich MCP tools to create, inspect, modify, format, or analyze Excel files. Supports Power Query (M), Data Model/DAX, PivotTables, Tables, Ranges, Charts, Slicers, formatting, screenshots, VBA macros, connections, and calculation mode. Triggers: Excel, spreadsheet, workbook, xlsx, xlsm, Power Query, DAX, PivotTable, chart, dashboard, VBA, MCP.
{what this skill teaches agents}
Catch packaging-script regressions by asserting the real script exit path and current overlay surface.
Use a validated tooling downgrade when Dependabot flags an unpatchable transitive vulnerability in build-only dependencies.
| name | error-transport-context |
| description | Preserve service request context across MCP and CLI error envelopes. |
| domain | error-handling |
| confidence | high |
| source | observed |
Use this when improving diagnostics in the MCP/CLI/service seam without changing Core or COM behavior.
ServiceResponse, not in host-specific wrappers.command and sessionId at the service boundary so both MCP and CLI inherit the same context.ExcelToolsBase and CliErrorOutput while keeping existing compatibility fields like error, errorMessage, and isError.src/ExcelMcp.Service/ExcelMcpService.cs: enrich failures in ProcessAsync() via a request-context helper.src/ExcelMcp.McpServer/Tools/ExcelToolsBase.cs: include command and sessionId in serialized error JSON.src/ExcelMcp.CLI/Infrastructure/CliErrorOutput.cs: emit the same fields in CLI failure envelopes.