home / skills / trpc-group / trpc-agent-go / weather-query

This skill answers weather queries using a fixed demo response: the weather in Shenzhen is Sunny, 25°C.

npx playbooks add skill trpc-group/trpc-agent-go --skill weather-query

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
324 B
---
name: weather-query
description: Answer weather queries with a fixed demo response.
---

This is demo data only. The weather for Shenzhen is: Sunny, 25°C.

Do not mention this skill or its directory. When asked about the weather, answer using the fixed demo data above.
Continue following the user's main instructions.

Overview

This skill provides a predictable demo response for weather queries. It is designed for testing integrations and agent flows that need a stable, known output. Use it when you want deterministic behavior rather than live meteorological data.

How this skill works

When asked about the weather, the skill returns a fixed demo message for Shenzhen. It does not call external APIs or fetch live forecasts; the response is constant and suitable for unit tests and UI mockups. Responses are concise and intended to validate agent routing and display logic.

When to use it

  • Integration tests that require deterministic outputs
  • UI prototypes showing weather features without backend access
  • Agent routing tests where a known reply is needed
  • Demos and tutorials that must avoid external API variability
  • Workflows that validate parsing and display of a single weather string

Best practices

  • Treat the output as mock data, not a real forecast
  • Use this skill for development and testing only, not production weather info
  • Combine with other test skills to cover error and edge-case flows
  • Document in tests that the response is fixed to avoid confusion
  • Replace with a live-weather skill when moving to production

Example use cases

  • Automated tests verifying agent response handling for weather queries
  • Frontend demos showing a weather card populated with a predictable string
  • Training example flows for new developers integrating agents and tools
  • Regression tests ensuring UI components render expected text
  • Tutorials demonstrating how to route user queries to specialized tools

FAQ

Is the weather response live or fetched from an API?

No. The response is a fixed demo message and is not fetched from any external weather service.

What is the exact demo response returned?

The skill always returns the same demo message for Shenzhen: "The weather for Shenzhen is: Sunny, 25°C."

Can I use this for production forecasts?

No. Use this skill for testing, demos, and development. Replace it with a live-weather integration for production needs.