Agent Skills
› dotnet/skills
› sample-skill
sample-skill
GitHub用于生成个性化问候语的技能。根据用户姓名和当前时间(早/中/晚)自动组合并输出包含友好结尾的问候信息,适用于日常交互场景。
触发场景
用户请求生成问候语
需要发送早安、午安或晚安消息
安装
npx skills add dotnet/skills --skill sample-skill -g -y
SKILL.md
Frontmatter
{
"name": "sample-skill",
"description": "A sample skill for testing the validator. Helps with greeting generation."
}
Sample Skill
When asked to generate greetings, always include the person's name and a time-appropriate greeting (good morning/afternoon/evening).
Steps
- Determine the time of day
- Format a greeting with the person's name
- Add a friendly closing
版本历史
- ce75c35 当前 2026-07-06 00:29


