compose:new-skill

Guides authoring of new skill bundles with frontmatter and structured instructions.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/HKUST-QUANT-SOCIETY/quantcode --skill compose-new-skill-hkust-quant-society
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compose:new-skill
Source: https://github.com/HKUST-QUANT-SOCIETY/quantcode/tree/main/.opencode/meta-skills/new-skill
Command: npx skills add https://github.com/HKUST-QUANT-SOCIETY/quantcode --skill compose-new-skill-hkust-quant-society

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams repeatedly performing the same multi-step procedures lack a consistent way to package that knowledge into reusable agent instructions, leading to inconsistent outputs and reliance on model memory. ## Core Features & Use Cases - Skill Anatomy Guidance: Defines the required structure of a skill bundle, including the mandatory SKILL.md file with YAML frontmatter and optional supporting files and scripts directories. - Authoring Checklist: Provides a shipping checklist covering loader validation, frontmatter stripping, minimum body size, numbered verifiable steps, and relative path references. - Use Case: When your team repeats the same code review or data validation procedure across sessions, use this Skill to author a reusable skill bundle that encodes the steps, gates, and expected artifacts so any agent executes it consistently. ## Quick Start Create a new skill bundle for our quarterly report generation workflow with numbered steps and a verification checklist.

Frequently Asked Questions about compose:new-skill

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

FAQPage Schema
How do I create a new skill for an AI agent?

Create a directory containing a SKILL.md file with YAML frontmatter defining a name and description, followed by a Markdown body with numbered, verifiable steps. Optionally add supporting reference files and a scripts directory for helper utilities.

What frontmatter fields does a SKILL.md file require?

A SKILL.md file requires a name field with a unique kebab-case identifier and a description field with one sentence stating when the skill applies. Optional fields include hidden to exclude the skill from listings and allowed-tools to restrict tool access.

When should I write a skill instead of a one-off prompt?

Write a skill when the same multi-step procedure repeats across tasks or sessions, when domain heuristics and checklists must be applied consistently, or when a workflow needs explicit gates and artifacts that should not depend on model memory.

How do I structure the body of a skill file?

Start with an Overview section stating purpose and trigger conditions, then decompose the procedure into numbered verifiable steps. Call out failure modes and expected artifacts per step, and keep each step self-contained so an agent can resume after interruption.

Why does my skill fail to load after creation?

Loading failures typically come from malformed YAML frontmatter, a leading separator left in the rendered body, or a body below the minimum size threshold. Verify the frontmatter strips cleanly and the body contains substantive numbered steps before shipping.