write-skill

Generate and improve Claude Code skills with YAML frontmatter and shell commands.

23|4|Updated Sep 5, 2013
One-click install
npx skills add https://github.com/drn/dots --skill write-skill-drn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-skill
Source: https://github.com/drn/dots/tree/main/agents/skills/write-skill
Command: npx skills add https://github.com/drn/dots --skill write-skill-drn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you create and refine AI skills (slash commands) for Claude Code, ensuring they follow best practices for structure, dynamic context, and safety.

Core Features & Use Cases

  • New Skill Creation: Generate a new skill from a description, including proper YAML frontmatter, context commands, and instructions.
  • Skill Improvement: Analyze and refactor existing skills to enhance clarity, efficiency, and adherence to standards.
  • Learning Authoring: Understand the nuances of skill development, including dynamic context, security considerations, and output management.

Quick Start

Use the write-skill skill to create a new Claude Code skill that summarizes code files.

Frequently Asked Questions about write-skill

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

FAQPage Schema
How do I create a Claude Code skill with dynamic context injection?

To create a Claude Code skill, define YAML frontmatter, implement dynamic context via shell commands, and write clear imperative instructions. This ensures proper structure and security for slash commands.

What are the best practices for writing AI skills and slash commands?

Best practices for writing AI skills include designing proper frontmatter, implementing dynamic context injection via shell commands, and writing clear, imperative instructions while avoiding pitfalls like improper error handling.

Can I refactor an existing Claude Code skill to improve its structure and security?

Yes, you can analyze and refactor existing Claude Code skills to enhance clarity, efficiency, and adherence to standards, ensuring proper dynamic context injection and avoiding security pitfalls.

Why does my AI skill break when using $() substitution?

Using $() substitution in AI skills is a common pitfall that breaks execution. Avoid this pattern and implement proper dynamic context injection via shell commands to ensure secure and functional slash commands.

Do I need prior prompt engineering experience to author Claude Code skills?

Prior prompt engineering experience is helpful but not required to author Claude Code skills. You can learn skill development nuances, including dynamic context and security considerations, through guided generation and refinement.