Skip to content
Development
Skill

/example

An example skill demonstrating the skill file format

From plugin
swift-coding-agent
1741 skill
Install
$ npx -y skills add ivan-magda/swift-coding-agent --skill example --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/example

Context preview

The summary Claude sees to decide when to auto-load this skill.

An example skill demonstrating the skill file format

SKILL.md

example.SKILL.md
name: example
description: An example skill demonstrating the skill file format

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.

Ships withswift-coding-agent

Exploring the architecture of coding agents by rebuilding a Claude Code-style CLI from scratch in Swift.

Get the whole plugin
Stats
175
Stars
10
Forks
Maintained
Maintenance
Swift
Language
MIT
License
1mo ago
Last commit
5mo ago
Created

Repo: ivan-magda/swift-coding-agent