[] updated
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: weather
|
||||
description: Use this agent PROACTIVELY when you need to fetch and transform weather data for Karachi, Pakistan. This agent fetches real-time temperature from wttr.in API and applies transformation rules from input/input.md, writing results to output/output.md.
|
||||
description: Use this agent PROACTIVELY when you need to fetch and transform weather data for Karachi, Pakistan. This agent fetches real-time temperature from wttr.in API and applies transformation rules from weather-orchestration/input.md, writing results to weather-orchestration/output.md.
|
||||
tools: WebFetch, Read, Write
|
||||
model: haiku
|
||||
color: green
|
||||
@@ -32,9 +32,9 @@ Follow the weather-fetcher skill instructions to:
|
||||
### Step 2: Transform Temperature (weather-transformer skill)
|
||||
|
||||
Follow the weather-transformer skill instructions to:
|
||||
- Read transformation rules from `input/input.md`
|
||||
- Read transformation rules from `weather-orchestration/input.md`
|
||||
- Apply the transformation to the fetched temperature
|
||||
- Write formatted results to `output/output.md`
|
||||
- Write formatted results to `weather-orchestration/output.md`
|
||||
|
||||
## Final Report
|
||||
|
||||
@@ -43,7 +43,7 @@ After completing both steps, provide a summary:
|
||||
- Original temperature fetched
|
||||
- Transformation rule applied
|
||||
- Final transformed result
|
||||
- Confirmation that output was written to `output/output.md`
|
||||
- Confirmation that output was written to `weather-orchestration/output.md`
|
||||
|
||||
## Critical Requirements
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ Use the Task tool to invoke the weather agent.
|
||||
Use the Task tool to invoke the weather agent:
|
||||
- subagent_type: weather
|
||||
- description: Fetch and transform Karachi weather
|
||||
- prompt: Fetch the current temperature for Karachi, Pakistan in [unit requested by user]. Then apply the transformation rules from input/input.md and write the results to output/output.md. The agent has preloaded skills (weather-fetcher and weather-transformer) that provide the detailed instructions.
|
||||
- prompt: Fetch the current temperature for Karachi, Pakistan in [unit requested by user]. Then apply the transformation rules from weather-orchestration/input.md and write the results to weather-orchestration/output.md. The agent has preloaded skills (weather-fetcher and weather-transformer) that provide the detailed instructions.
|
||||
- model: haiku
|
||||
|
||||
Wait for the agent to complete its workflow.
|
||||
@@ -37,5 +37,5 @@ Wait for the agent to complete its workflow.
|
||||
Provide a clear summary to the user showing:
|
||||
- Temperature unit requested
|
||||
- Original temperature fetched
|
||||
- Transformation rule applied (from input/input.md)
|
||||
- Final transformed result (written to output/output.md)
|
||||
- Transformation rule applied (from weather-orchestration/input.md)
|
||||
- Final transformed result (written to weather-orchestration/output.md)
|
||||
|
||||
@@ -18,9 +18,9 @@
|
||||
},
|
||||
"spinnerVerbs": {
|
||||
"mode": "replace",
|
||||
"verbs": ["Hiring new dev", "Burning mac harddisk", "Deleting production db", "rm -rf", "Switching to old commit"]
|
||||
"verbs": ["Hiring new dev", "Burning mac harddisk", "Switching to old commit", "Leaking API keys", "Hardcoding credentials", "Trusting user input", "Disabling 2FA", "Ignoring .gitignore", "Bypassing code review"]
|
||||
},
|
||||
"plansDirectory": "./plans",
|
||||
"plansDirectory": "./reports",
|
||||
"enableAllProjectMcpServers": true,
|
||||
"disableAllHooks": false,
|
||||
"hooks": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: weather-transformer
|
||||
description: Instructions for applying mathematical transformations to temperature data based on rules in input/input.md
|
||||
description: Instructions for applying mathematical transformations to temperature data based on rules in weather-orchestration/input.md
|
||||
---
|
||||
|
||||
# Weather Transformer Skill
|
||||
@@ -13,13 +13,13 @@ Apply mathematical transformations to a temperature value and write results to o
|
||||
|
||||
## Instructions
|
||||
|
||||
1. **Read Transformation Rules**: Use the Read tool to read `input/input.md` which contains the transformation instructions.
|
||||
1. **Read Transformation Rules**: Use the Read tool to read `weather-orchestration/input.md` which contains the transformation instructions.
|
||||
|
||||
2. **Apply Transformation**: Apply the transformation rule to the temperature value.
|
||||
- Example: If instruction says "add +10", add 10 to the temperature
|
||||
- Example: If instruction says "multiply by 2", multiply temperature by 2
|
||||
|
||||
3. **Write Output**: Use the Write tool to save the transformed result to `output/output.md` with proper formatting.
|
||||
3. **Write Output**: Use the Write tool to save the transformed result to `weather-orchestration/output.md` with proper formatting.
|
||||
|
||||
## Expected Input
|
||||
|
||||
@@ -30,7 +30,7 @@ Temperature: [X]°C
|
||||
|
||||
## Expected Output
|
||||
|
||||
Write to `output/output.md` with format:
|
||||
Write to `weather-orchestration/output.md` with format:
|
||||
```markdown
|
||||
# Weather Transformation Result
|
||||
|
||||
@@ -38,7 +38,7 @@ Write to `output/output.md` with format:
|
||||
[X]°C
|
||||
|
||||
## Transformation Applied
|
||||
[description from input/input.md]
|
||||
[description from weather-orchestration/input.md]
|
||||
|
||||
## Final Result
|
||||
[Y]°C
|
||||
@@ -49,6 +49,6 @@ Write to `output/output.md` with format:
|
||||
|
||||
## Notes
|
||||
|
||||
- Read the exact transformation from input/input.md - don't assume
|
||||
- Read the exact transformation from weather-orchestration/input.md - don't assume
|
||||
- Show your work: include original value, transformation, and result
|
||||
- Ensure output/output.md is properly formatted and readable
|
||||
- Ensure weather-orchestration/output.md is properly formatted and readable
|
||||
|
||||
Reference in New Issue
Block a user