tsa-risk

Fetch Tencent Cloud Advisor risk data and generate HTML/PNG reports.

8|1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill tsa-risk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tsa-risk
Source: https://github.com/Tugoukezhang/workbuddy-skills/tree/main/skills/cloudq/references/plugins/tsa-risk
Command: npx skills add https://github.com/Tugoukezhang/workbuddy-skills --skill tsa-risk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It automates architecture risk inspection reporting for Tencent Cloud Advisor by fetching latest risk data via API, generating a mobile-friendly HTML visualization, and exporting a PNG snapshot for sharing.

Core Features & Use Cases

  • Automated data fetch: pulls overview, risk trends, and risk items from Advisor APIs for a given ArchId.
  • Report generation: produces a visual HTML report suitable for mobile viewing and converts it to PNG.
  • End-to-end workflow: supports end-to-end data retrieval, report rendering, and image output with robust error handling.

Quick Start

Run risk_fetch_data.py <ArchId> to fetch data and create the output JSON, then run the report generator to render HTML and PNG.

Frequently Asked Questions about tsa-risk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Tencent Cloud Advisor risk report generation for architecture diagrams?

Generate mobile-ready architecture risk reports by pulling Tencent Cloud Advisor data via API. The workflow fetches overview, risk trends, and paginated risk items, merging them into a unified JSON to render mobile-friendly HTML and PNG visual outputs.

What is the process for converting Tencent Cloud Advisor data into a mobile-friendly report?

Converting Tencent Cloud Advisor data into a mobile-friendly report involves pulling risk trends and paginated items into a unified JSON. This JSON is then processed through a report generator to produce visual HTML output and an exported PNG snapshot.

How do I fetch Tencent Cloud Advisor risk data and export it to HTML and PNG?

Fetch Tencent Cloud Advisor risk data by running the risk_fetch_data.py script with a specific ArchId. This retrieves the data and creates an output JSON, which the report generator then uses to render the final HTML and PNG files.

Does the architecture risk report generation handle API constraints and data processing errors?

Yes, the architecture risk report generation enforces API usage constraints and implements robust error handling. It ensures safe data processing throughout the retrieval and pagination stages to produce consistent HTML and PNG reports.

Can I generate a risk report for a specific architecture ID using Tencent Cloud Advisor?

Yes, you can generate a risk report for a specific architecture ID using Tencent Cloud Advisor. The workflow pulls overview, risk trends, and risk items for the given ArchId, merging them into a unified JSON for mobile-friendly HTML and PNG rendering.