跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Bicep Diagram Generator

Skill 已验证
85

Generates architecture diagrams from Azure Bicep files. Use when user has .bicep files or asks to visualize Bicep infrastructure.

AI 摘要

This skill parses Azure Bicep files to extract resource relationships and dependencies, converting them into Eraser DSL code. It then calls the Eraser API to render cloud architecture diagrams, providing a visual representation of the infrastructure defined in Bicep files.

Documentation

  • warning:Configuration & parameter referenceThe skill requires an ERASER_API_KEY environment variable, which is not explicitly documented in the frontmatter or referenced files, and the ERASER_THEME is an optional but undocumented parameter.

Security

  • warning:Secret ManagementThe skill requires an `ERASER_API_KEY` which is passed in the `Authorization` header of a curl command. While it's an environment variable, there is no explicit mention of how it should be securely handled or if it's sensitive, posing a potential risk if leaked.

Code Execution

  • warning:ValidationThe Bicep parsing logic is not explicitly described as using a schema validation library. While the Eraser API call has a defined structure, the input Bicep parsing lacks explicit validation details.
  • warning:Error HandlingThe skill instructs to make an HTTP request but does not detail how errors from the `curl` command or the Eraser API response should be handled or reported back to the agent, only that the API call MUST be executed.
  • warning:LoggingThe skill mentions tracking sources and annotations but does not specify any local audit logging mechanism for its actions or errors.

Practical Utility

  • warning:Edge casesWhile the instructions cover basic Bicep parsing and DSL generation, there is no explicit documentation of failure modes (e.g., malformed Bicep, API errors) or recovery steps.

Safety

  • warning:Halt on unexpected stateThe instructions emphasize executing the curl command but do not specify preconditions or how to halt the workflow gracefully if unexpected states (e.g., malformed Bicep, network issues) are encountered.

安装

npx skills add eraserlabs/eraser-io

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

about 1 month ago
18 stars
MIT
更新于 6 days ago
查看源代码