prompt-best-practises

Capture best-practice prompts and XML tagging conventions for Claude Code skill authoring.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/thethirdorigin/skills --skill prompt-best-practises
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prompt-best-practises
Source: https://github.com/thethirdorigin/skills/tree/main/plugins/thethirdorigin-skills/skills/prompt-best-practises
Command: npx skills add https://github.com/thethirdorigin/skills --skill prompt-best-practises

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide solves the problem of inconsistent, poorly structured prompts for Claude Code skills by providing a standardized framework for authoring skills, including naming, frontmatter, role assignment, and safe instruction patterns.

Core Features & Use Cases

  • Standardized frontmatter and naming conventions for Claude Code skills
  • XML-tagged instruction blocks and role templates to ensure consistency
  • Structured guidance for creating, reviewing, and refining prompts used in skills
  • Use cases include drafting new skills, improving existing ones, and validating prompt templates across teams.

Quick Start

Create a new skill using the provided template and this guide, starting with Step 0 to load required sub-skills if any.

Frequently Asked Questions about prompt-best-practises

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

FAQPage Schema
How do I structure prompts for Claude Code skills?

Structure Claude Code prompts using standardized frontmatter, XML-tagged instruction blocks, and defined role templates. This ensures consistency across skill authoring and produces a discovery-friendly metadata artifact.

What are the best practices for naming and formatting Claude Code skills?

Best practices for Claude Code skills involve using standardized naming conventions and frontmatter. Applying structured guidance and XML tagging ensures templates are valid and easily discoverable by the Skill loader.

How do XML tags work in Claude Code prompt authoring?

XML tags in Claude Code prompt authoring work by encapsulating instruction blocks, few-shot examples, and safety patterns. This tagging convention separates role assignments from output formatting to maintain prompt consistency.

Can I use this to validate existing skill templates across teams?

Yes, you can validate existing skill templates across teams. The framework provides structured guidance for reviewing and refining prompts, ensuring all team-authored skills conform to safe instruction patterns and frontmatter standards.

Does this skill authoring guide support few-shot examples?

Yes, the skill authoring guide supports few-shot examples. It captures example structures and applies them across the workflow, integrating few-shot prompts directly into the XML-tagged instruction blocks for Claude Code.

When do I need standardized frontmatter for Claude Code skills?

You need standardized frontmatter for Claude Code skills when producing a structured metadata artifact. This artifact must be consumed by the Skill loader and validated against the frontmatter to ensure proper discovery and execution.