p:agent-writer

Write ClaudeCode agent and skill prompts with YAML frontmatter and structured guidance.

1|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/pontscho/prompt-heaven --skill p-agent-writer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: p:agent-writer
Source: https://github.com/pontscho/prompt-heaven/tree/main/ClaudeCode/skills/p%3Aagent-writer
Command: npx skills add https://github.com/pontscho/prompt-heaven --skill p-agent-writer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing precise, maintainable ClaudeCode agents and skills can be time-consuming; this Skill provides a proven structure with frontmatter, role of the agent, constraints, and workflows to ensure consistency and quality.

Core Features & Use Cases

  • Templates and patterns for agent/skill prompts that align with 2026 best practices.
  • Explicit frontmatter fields (name, description, tools) to enable reliable discovery and invocation.
  • Examples and quality guidelines to streamline creation, review, and onboarding for teams.

Quick Start

Write a new ClaudeCode agent-skills file by copying the frontmatter template and completing role, constraints, capabilities, workflow, and examples as described.

Frequently Asked Questions about p:agent-writer

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

FAQPage Schema
How do I write a ClaudeCode agent prompt with proper YAML frontmatter?

ClaudeCode agent prompts require YAML frontmatter containing name, description, and tools fields to enable reliable discovery and invocation. You then define explicit roles, constraints, capabilities, and workflows to ensure structured prompt quality.

What are the best practices for designing ClaudeCode skill prompts?

Best practices for ClaudeCode skill prompts involve using proven templates with explicit frontmatter, defining clear agent roles, setting constraints, and establishing workflows. This structure ensures maintainability, consistency, and high quality across team onboarding and prompt reviews.

How do I structure a .claude/agents markdown file for subagents?

Structure a .claude/agents markdown file by adding YAML frontmatter, then completing sections for role, constraints, capabilities, workflow, and examples. Applying this template pattern ensures your subagents follow 2026 prompt engineering guidelines.

Can I use templates to create ClaudeCode SKILL.md entries?

Yes, you can use templates to create SKILL.md entries by copying a frontmatter template and completing the required role, constraints, capabilities, workflow, and examples. This streamlines creation, review, and onboarding for teams building ClaudeCode skills.

What fields are required in YAML frontmatter for ClaudeCode agents?

The required YAML frontmatter fields for ClaudeCode agents are name, description, and tools. Ensuring the presence of these specific fields enables reliable discovery and invocation of your subagents within the ClaudeCode environment.