template

Create structured agent skills with YAML frontmatter and routed reference files.

10|5|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/MystenLabs/skills --skill template-mystenlabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template
Source: https://github.com/MystenLabs/skills/tree/main/template
Command: npx skills add https://github.com/MystenLabs/skills --skill template-mystenlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill template eliminates ambiguity when creating new Skills by providing a consistent entry point, routing guide, and reference-file structure so agents can reliably load the right knowledge at the right time.

Core Features & Use Cases

  • Consistent Skill Entry Point: Enforces YAML frontmatter with a name and trigger-style description so skill discovery and activation remain predictable.
  • Task-to-File Routing: Defines a routing guide pattern that tells the agent which supporting reference files to load for common tasks like setup, core logic, patterns, examples, and full builds.
  • Cited, Non-Guessing Guidance: Includes a canonical-sources block so the agent is instructed to fetch documentation instead of extrapolating when uncertain.

Quick Start

Copy the template directory, edit the SKILL.md frontmatter with your skill name and specific activation description, then fill in the skill content, routing guide, and reference files to match your implementation.

Frequently Asked Questions about template

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure an agent skill with YAML frontmatter and reference files?

To structure an agent skill, you need mandatory YAML frontmatter specifying the skill name and description, followed by a routing guide that maps tasks to reference files. This prevents guessing by instructing doc fetching when uncertain.

What is the best way to create self-contained agent skills for Sui development?

The best way to create self-contained agent skills for Sui is using a structured template with clear activation triggers, scoped guidance, and canonical-source citations. This ensures reliable knowledge loading through a task-to-file routing guide.

How does task-to-file routing work for agent skill authoring?

Task-to-file routing maps common tasks like setup, core logic, patterns, and examples to specific supporting reference files. This routing guide pattern tells the agent exactly which knowledge to load at the right time for predictable activation.

Do I need YAML frontmatter to build agent skills with clear routing?

Yes, you need YAML frontmatter to build agent skills, as it provides a consistent entry point for skill discovery and activation. The frontmatter requires a name and a trigger-style description to ensure predictable routing behavior.

Why does my agent guess instead of fetching documentation during skill activation?

Agents guess instead of fetching documentation when the skill lacks a canonical-sources block and non-guessing guidance. Including explicit instructions to fetch docs when uncertain prevents extrapolation and ensures accurate, cited responses.