# Test Skill File

> Test Skill File is an Agent Skill for general use published in the Azure/azure-sdk-for-net repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Roll dice using a random number generator.

- Skill name: `test-skill_file`
- Category: [Others](https://www.openparable.com/skill/others/1)
- Source: https://github.com/Azure/azure-sdk-for-net/blob/HEAD/sdk/ai/Azure.AI.Projects.Agents/tests/TestData/roll-dice/SKILL.md
- Repository: Azure/azure-sdk-for-net (6,027 GitHub stars when collected)

## SKILL.md

To roll a die, use the following command that generates a random number from 1
to the given number of sides:

```bash
echo $((RANDOM % <sides> + 1))
```

```powershell
Get-Random -Minimum 1 -Maximum (<sides> + 1)
```

Replace `<sides>` with the number of sides on the die (e.g., 6 for a standard
die, 20 for a d20).

---

Source: https://www.openparable.com/skill/others/test-skill-file (OpenParable). Cite the canonical URL above.
