Agent Skills
› shanraisshan/claude-code-best-practice
› weather-svg-creator
weather-svg-creator
GitHub根据传入的温度数据,生成迪拜天气SVG卡片及Markdown摘要。该技能通过替换模板占位符创建自包含的SVG文件,并输出到指定工作流目录,用于可视化展示当前天气信息。
Trigger Scenarios
需要生成天气可视化卡片
需要将温度数据转换为SVG和Markdown报告
Install
npx skills add shanraisshan/claude-code-best-practice --skill weather-svg-creator -g -y
SKILL.md
Frontmatter
{
"name": "weather-svg-creator",
"description": "Creates an SVG weather card showing the current temperature for Dubai. Writes the SVG to orchestration-workflow\/weather.svg and updates orchestration-workflow\/output.md."
}
Weather SVG Creator Skill
Creates a visual SVG weather card for Dubai, UAE and writes the output files.
Task
You will receive a temperature value and unit (Celsius or Fahrenheit) from the calling context. Create an SVG weather card and write both the SVG and a markdown summary.
Instructions
- Create SVG — Use the SVG template from reference.md, replacing placeholders with actual values
- Write SVG file — Read then write to
orchestration-workflow/weather.svg - Write summary — Read then write to
orchestration-workflow/output.mdusing the markdown template from reference.md
Rules
- Use the exact temperature value and unit provided — do not re-fetch or modify
- The SVG must be self-contained and valid
- Both output files go in the
orchestration-workflow/directory
Additional resources
- For SVG template, output template, and design specs, see reference.md
- For example input/output pairs, see examples.md
Version History
- 8335ca8 Current 2026-07-25 04:18


