---
name: Example
slug: example-2
category: AI Engineering
description: Example demonstrates the skill file format used for loadable skills. Use it as a reference for frontmatter, structure, and how skill content is presented to the agent.
github: "https://github.com/ivan-magda/swift-coding-agent/tree/master/skills/example"
language: Swift
stars: 178
forks: 11
install: "npx degit https://github.com/ivan-magda/swift-coding-agent/tree/master/skills/example ~/.claude/skills/example"
installs_to: ~/.claude/skills/example
source_path: skills/example/SKILL.md
collection_size: 1
category_size: 3475
added: 2026-09-07T05:20:50.809Z
last_synced: 2026-09-07T05:20:50.809Z
canonical_url: "https://dirskills.com/skills/example-2"
---

# Example

Example demonstrates the skill file format used for loadable skills. Use it as a reference for frontmatter, structure, and how skill content is presented to the agent.

**Install:**

```bash
npx degit https://github.com/ivan-magda/swift-coding-agent/tree/master/skills/example ~/.claude/skills/example
```

## README

This is a sample skill file. Skills are stored in `skills/{name}/SKILL.md` and
provide specialized knowledge that the agent can load on demand via the
`load_skill` tool.

## Frontmatter

Each skill file starts with YAML frontmatter between `---` delimiters:

- `name` (optional): defaults to the parent directory name
- `description` (required): one-line summary shown in the system prompt

## Usage

The agent sees skill names and descriptions in its system prompt. When it needs
the full content, it calls `load_skill` with the skill name. The body below the
frontmatter is returned wrapped in `<skill>` tags.
