kata-agent-author

Generate Claude Code subagent Markdown files with validated Anthropic frontmatter.

Updated Sep 3, 2025
One-click install
npx skills add https://github.com/guardiatechnology/design-system --skill kata-agent-author
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kata-agent-author
Source: https://github.com/guardiatechnology/design-system/tree/main/.claude/skills/kata-agent-author
Command: npx skills add https://github.com/guardiatechnology/design-system --skill kata-agent-author

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you reliably create an isolated Claude Code subagent file with the required Anthropic frontmatter, avoiding invalid scaffolds that break downstream tooling or conformance checks.

Core Features & Use Cases

  • Generates validated subagent frontmatter: Produces YAML with the required name and a concrete, non-placeholder description.
  • Creates a consistent subagent body: Includes the literal stage line (stage: pre-operational) and structured sections (Identity, Capabilities, Restrictions, Notes).
  • Supports persona/pov composition: Optionally derives persona content and description from a provided POV file while keeping the scaffolding constrained to the declared description.

Quick Start

Tell an AI to run kata-agent-author with a kebab-case slug, a one-sentence description, and the default target path to generate .claude/agents/<slug>.md.

Frequently Asked Questions about kata-agent-author

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

FAQPage Schema
How do I create a Claude Code subagent markdown file with correct Anthropic frontmatter?

To create a Claude Code subagent markdown file, use a validated scaffolding process that generates YAML frontmatter with a required name and concrete description, ensuring downstream tooling conformance. The output includes structured sections like Identity, Capabilities, and Restrictions.

What frontmatter fields are required for a valid Claude Code subagent definition?

Valid Claude Code subagent frontmatter requires a name and a non-placeholder description field. Additionally, the scaffolding guarantees a literal stage: pre-operational line in the markdown body to ensure the agent starts in a safe, pre-operational state.

How do I generate a subagent persona from a POV file for Claude Code?

You can generate a subagent persona from a POV file by optionally composing description and identity blocks from the provided POV source. The scaffolding extracts persona content while keeping the agent definition constrained to the declared description.

Can I overwrite an existing Claude Code subagent markdown file during scaffolding?

Yes, you can overwrite an existing Claude Code subagent markdown file by using force overwrite behavior during destination resolution. The scaffolding process resolves the target path and applies strict slug validation before generating the .claude/agents/<slug>.md file.

Why does my Claude Code subagent scaffold fail conformance checks?

Claude Code subagent scaffolds fail conformance checks when frontmatter is missing required fields like name or description, or when placeholder text remains instead of concrete values. Invalid slug formats or absent pre-operational stage lines also break downstream tooling validation.

What is the best way to scaffold safe and standalone Claude Code subagents?

The best way to scaffold safe and standalone Claude Code subagents is to use deterministic generation that enforces strict slug validation, resolves destination paths, and guarantees required frontmatter plus a literal pre-operational stage line without placeholders.