# Templates - Claude Code Guidance

> This guide explains the template system for agents, commands, and standardized workflows.

- Skill: `tools-only/templates-claude-code-guidance` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add tools-only/templates-claude-code-guidance`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tools-only/templates-claude-code-guidance/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tools-only (https://skillmd.com/u/tools-only)
- Updated: 2026-09-29
- Page: https://skillmd.com/skills/tools-only/templates-claude-code-guidance

---

# Templates - Claude Code Guidance

This guide explains the template system for agents, commands, and standardized workflows.

## Template Purpose

**Location:** `templates/`

**Purpose:** Reusable templates for consistent agent development, slash command creation, and workflow automation across all domains.

## Available Templates

### Agent Templates

**Location:** `templates/agent-template.md` (when created)

**Usage:** Starting point for creating new cs-* agents

**Contains:**
- YAML frontmatter structure
- Required markdown sections
- Workflow documentation format
- Integration examples pattern

**When to Use:** Creating any new agent in `agents/` directory

### Command Templates

**Location:** `templates/command-template.md` (when created)

**Usage:** Creating new slash commands

**Contains:**
- Command structure
- Argument parsing patterns
- Help documentation format

**When to Use:** Creating slash commands in `commands/` directory

### Workflow Templates

**Location:** `templates/workflow-template.md` (when created)

**Usage:** Documenting standard workflows across skills

**Contains:**
- Step-by-step format
- Expected outputs
- Error handling patterns

## Template Usage Pattern

```bash
# 1. Copy template
cp templates/agent-template.md agents/domain/cs-new-agent.md

# 2. Customize for your agent
vim agents/domain/cs-new-agent.md

# 3. Follow template structure exactly

# 4. Test relative paths and integrations

# 5. Commit with conventional commit
git commit -m "feat(agents): implement cs-new-agent from template"
```

## Related Documentation

- **Agent Development:** `../agents/CLAUDE.md` - Comprehensive agent creation guide
- **Standards:** `../standards/CLAUDE.md` - Quality and consistency standards
- **Main Documentation:** `../CLAUDE.md` - Repository overview

---

**Last Updated:** November 5, 2025
**Purpose:** Consistent templates for rapid agent and workflow development

