extension-authoring

Author Claude Code extensions with standardized YAML frontmatter and XML prompts.

28|3|Updated Dec 10, 2025
One-click install
npx skills add https://github.com/ScientiaCapital/skills --skill extension-authoring
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extension-authoring
Source: https://github.com/ScientiaCapital/skills/tree/main/active/extension-authoring-skill
Command: npx skills add https://github.com/ScientiaCapital/skills --skill extension-authoring

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured blueprint for authoring Claude Code extensions, ensuring consistent frontmatter, XML prompts, and clear integration patterns across skills, hooks, slash commands, and subagents.

Core Features & Use Cases

  • Standardized frontmatter and routing for modular extensions
  • Guidance on building hooks, slash commands, and subagents
  • Progressive disclosure and templates for scalable documentation

Quick Start

Run the scaffolding templates to initialize a new extension and validate it against the frontmatter and XML prompts.

Frequently Asked Questions about extension-authoring

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

FAQPage Schema
How do I create Claude Code extensions with standardized YAML frontmatter and XML prompts?

Claude Code extensions require standardized YAML frontmatter and XML prompts to ensure safe, reproducible component integration. You author them using scaffolding templates that enforce structure across skills, hooks, slash commands, and subagents.

What is the best way to structure hooks and subagents when building Claude Code extensions?

The best way to structure hooks and subagents is by applying router patterns and progressive disclosure. This Skill provides blueprints for controlled component directories, ensuring your hooks and subagents remain modular, scalable, and safely integrated within your extension architecture.

Does building Claude Code slash commands require specific directory structures or frontmatter?

Yes, building Claude Code slash commands requires controlled component directories and standardized YAML frontmatter. This Skill enforces these structural constraints to guarantee that your slash commands are reproducible and safely integrated within the broader extension framework.

How do I validate my Claude Code extension against frontmatter and XML prompt standards?

You validate your Claude Code extension by running the provided scaffolding templates against your project. This checks your YAML frontmatter and XML prompts to ensure your extension meets the required standardized structure, safe integration patterns, and modular routing specifications.

When should I use router patterns and progressive disclosure in Claude Code extension authoring?

Use router patterns and progressive disclosure when building scalable Claude Code extensions that manage complex skills and subagents. These techniques prevent component overload by routing tasks efficiently and revealing documentation contextually, keeping your extension architecture modular and maintainable.