extension-create

Generate Claude Code extension scaffolding with templates and frontmatter.

1|Updated Jun 4, 2025
One-click install
npx skills add https://github.com/kynoptic/markdownlint-trap --skill extension-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extension-create
Source: https://github.com/kynoptic/markdownlint-trap/tree/main/.claude/skills/extension-create
Command: npx skills add https://github.com/kynoptic/markdownlint-trap --skill extension-create

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guides users through creating the right type of Claude Code extension (command, subagent/workflow, or agent skill) based on requirements, and generates properly structured files for project-scoped extensions.

Core Features & Use Cases

  • Decision framework: Determines whether to create a Slash Command, Subagent/Workflow, or Agent Skill based on initiation, context, verbosity, persona, and resources.
  • Project-scoped scaffolding: Produces Claude Code format frontmatter and templates for the chosen extension type.
  • Guided generation: Helps decide scope (project vs personal) and ensures proper placement under .claude/commands/, .claude/subagents/, or .claude/skills/.

Quick Start

Use extension-create to scaffold a new Claude Code extension for a command named greet-user in your repository.

Frequently Asked Questions about extension-create

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

FAQPage Schema
How do I create a Claude Code extension for my project?

Extension-create scaffolds Claude Code extensions by generating properly structured files for slash commands, subagents/workflows, or agent skills. It applies a decision framework to select the right extension type based on your requirements, then outputs templates with frontmatter following your project's conventions, placed in `.claude/commands/`, `.claude/subagents/`, or `.claude/skills/`.

What's the difference between a slash command, subagent, and agent skill in Claude Code?

Slash commands are simple, single-action extensions invoked directly. Subagents and workflows handle complex, multi-step processes with autonomous reasoning. Agent skills are reusable capabilities that extend Claude Code's functionality. Extension-create determines which fits your use case based on initiation method, context requirements, verbosity needs, and resource constraints.

Can I create extensions for my personal Claude Code workspace, or only for projects?

Extension-create supports both project-scoped and personal extensions. It guides you to decide the appropriate scope during creation—project extensions are shared and placed under your repository's `.claude/` directory, while personal extensions are stored in your user workspace for solo use.

Do I need existing templates to use extension scaffolding?

Extension-create generates templates automatically following Claude Code format conventions and best practices. If your project has existing extension templates, it applies those patterns for consistency; otherwise, it provides default well-formed structures for commands, workflows, and skills that work out of the box.

What happens after I scaffold an extension—do I need to configure it further?

Scaffolding produces complete, ready-to-use extension files with frontmatter and structure. You'll typically add your custom logic and parameters next, then test the extension within Claude Code. Extension-create handles the boilerplate so you focus on implementation.

Can extension-create help me decide between commands and workflows for a specific task?

Yes. Extension-create's decision framework evaluates your requirements—initiation method, context needs, verbosity, and resources—to recommend whether a slash command, workflow, or skill best solves your problem, then scaffolds the appropriate type.