Files
claude-skills-reference/templates/agent-template.md
Reza Rezvani 005e64caf8 feat(agents): implement cs-product-manager agent and agent template
Day 4: Product Agent + Template - Complete implementation of product
management agent and comprehensive template for future agent development.

## cs-product-manager
- Product management agent for feature prioritization and customer discovery
- RICE framework implementation, customer interview analysis, PRD development
- 4 complete workflows: feature prioritization & roadmap, customer discovery,
  PRD development, quarterly planning & OKRs
- Integration with rice_prioritizer.py and customer_interview_analyzer.py tools
- Success metrics: <2 days decision speed, 10-15 interviews per sprint,
  >90% engineering clarity, >60% feature adoption

## agent-template.md
- Comprehensive template for creating new cs-* agents
- 318 lines with detailed instructions and examples
- All required sections documented with explanatory comments
- References 5 completed agents as examples
- Includes YAML frontmatter structure, workflow patterns, integration examples

## Quality Validation
 YAML frontmatter with all required fields
 cs-* prefix naming convention
 4 workflows (exceeds minimum 3)
 Relative paths tested and validated
 Integration examples with bash scripts
 Success metrics defined with targets
 Template includes comprehensive instructions

Sprint: sprint-11-05-2025 (Day 4)
Issues: #13, #14
Files: 2 files, 725 total lines
2025-11-05 14:12:32 +01:00

8.5 KiB

name, description, skills, domain, model, tools
name description skills domain model tools
cs-agent-name One-line description of what this agent does (keep under 150 characters) skill-folder-name domain-name sonnet
Read
Write
Bash
Grep
Glob

Agent Name

Purpose

[Paragraph 1: Describe what this agent does and which skill package it orchestrates]

[Paragraph 2: Describe target users, their roles, and why they need this agent]

[Paragraph 3: Explain the gap this agent bridges and the outcomes it enables]

Skill Integration

Skill Location: ../../domain-skill/skill-name/

Python Tools

  1. Tool Name

    • Purpose: What this tool does (one sentence)
    • Path: ../../domain-skill/skill-name/scripts/tool_name.py
    • Usage: python ../../domain-skill/skill-name/scripts/tool_name.py [arguments]
    • Features: Key capabilities (bullet list)
    • Use Cases: When to use this tool
  2. Second Tool (if applicable)

    • Purpose: What this tool does
    • Path: ../../domain-skill/skill-name/scripts/second_tool.py
    • Usage: python ../../domain-skill/skill-name/scripts/second_tool.py [arguments]
    • Features: Key capabilities
    • Use Cases: When to use this tool

Knowledge Bases

  1. Reference Name

    • Location: ../../domain-skill/skill-name/references/reference_file.md
    • Content: What knowledge this file contains
    • Use Case: When to consult this reference
  2. Second Reference (if applicable)

    • Location: ../../domain-skill/skill-name/references/second_reference.md
    • Content: What knowledge this file contains
    • Use Case: When to consult this reference

Templates

  1. Template Name (if applicable)
    • Location: ../../domain-skill/skill-name/assets/template.md
    • Use Case: When users would copy and customize this template

Workflows

Workflow 1: [Primary Use Case Name]

Goal: One-sentence description of what this workflow accomplishes

Steps:

  1. [Action Step] - Description of first step
    # Command example if applicable
    python ../../domain-skill/skill-name/scripts/tool.py input.txt
    
  2. [Action Step] - Description of second step
  3. [Action Step] - Description of third step
  4. [Action Step] - Description of fourth step
  5. [Action Step] - Description of final step

Expected Output: What success looks like (deliverable, metric, decision made)

Time Estimate: How long this workflow typically takes

Example:

# Complete workflow example with real commands
command1
command2
# Review output

Workflow 2: [Advanced Use Case Name]

Goal: One-sentence description

Steps:

  1. [Action Step] - Description
  2. [Action Step] - Description
  3. [Action Step] - Description
  4. [Action Step] - Description

Expected Output: What success looks like

Time Estimate: Duration estimate

Workflow 3: [Integration Use Case Name]

Goal: One-sentence description

Steps:

  1. [Action Step] - Description
  2. [Action Step] - Description
  3. [Action Step] - Description

Expected Output: What success looks like

Time Estimate: Duration estimate

Workflow 4: [Optional Fourth Workflow]

Goal: One-sentence description

Steps:

  1. [Action Step] - Description
  2. [Action Step] - Description

Expected Output: What success looks like

Time Estimate: Duration estimate

Integration Examples

Example 1: [Example Name]

#!/bin/bash
# script-name.sh - Brief description

# Setup variables
INPUT_FILE=$1

# Execute workflow
python ../../domain-skill/skill-name/scripts/tool.py "$INPUT_FILE"

# Process output
echo "Analysis complete. Review results above."

Example 2: [Example Name]

# Multi-step workflow example

# Step 1: Prepare data
echo "Step 1: Data preparation"

# Step 2: Run analysis
python ../../domain-skill/skill-name/scripts/tool.py input.csv

# Step 3: Generate report
echo "Report generation complete"

Example 3: [Example Name]

# Automation example (e.g., weekly report, daily check)

DATE=$(date +%Y-%m-%d)
echo "📊 Report for $DATE"

# Execute tools
python ../../domain-skill/skill-name/scripts/tool.py current-data.csv > report-$DATE.txt

Success Metrics

[Metric Category 1]:

  • [Metric Name]: Target value or improvement percentage
  • [Metric Name]: Target value or improvement percentage
  • [Metric Name]: Target value or improvement percentage

[Metric Category 2]:

  • [Metric Name]: Target value or improvement percentage
  • [Metric Name]: Target value or improvement percentage

[Metric Category 3]:

  • [Metric Name]: Target value or improvement percentage
  • [Metric Name]: Target value or improvement percentage

[Metric Category 4] (optional):

  • [Metric Name]: Target value or improvement percentage

References


Last Updated: [Date] Sprint: [sprint-MM-DD-YYYY] (Day X) Status: Production Ready Version: 1.0