Home
cd ../playbooks
ProductivityIntermediate

Import Template

Import deliverable templates.

15 minutes
By communitySource
#import#template

Marketing teams lose hours to ad-hoc, inconsistent import template work — Import deliverable templates. Use when: adding proposal formats, report structures, or brief templates. This playbook turns the process into a repeatable, brand-aware workflow.

Who it's for: digital marketers, marketing managers, growth marketers

Example

"Run /import-template for our brand" → Import Template workflow output with brand context, structured inputs captured, process steps executed, and a complete deliverable ready for review.

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

# Import Template

# /dm:import-template

## Purpose

Import deliverable templates that define the output format for plugin commands. Templates specify section structure, content requirements, and formatting rules for proposals, reports, briefs, presentations, and other marketing deliverables.

When a command like `/dm:performance-report` runs, it checks for a custom template first. If one exists, the output follows the template format instead of the default.

## Input Required

The user provides:

- **Template content**: Pasted template structure, section headings, or format specifications
- **Template name**: What this template is for (e.g., "proposal", "performance-report", "content-brief", "campaign-plan")
- **Description** (optional): When to use this template

If the user doesn't provide a name, infer it from the content structure.

## Process

1. **Load brand context**: Read `~/.claude-marketing/brands/_active-brand.json` for the active slug, then load `~/.claude-marketing/brands/{slug}/profile.json`. Apply brand voice, compliance rules for target markets (`skills/context-engine/compliance-rules.md`), and industry context. **Also check for existing guidelines** at `~/.claude-marketing/brands/{slug}/guidelines/_manifest.json` — if present, load restrictions and relevant category files. Check for custom templates at `~/.claude-marketing/brands/{slug}/templates/`. Check for agency SOPs at `~/.claude-marketing/sops/`. If no brand exists, ask: "Set up a brand first (/dm:brand-setup)?" — or proceed with defaults.

2. **Analyze the template structure**:
   - Identify section headings and hierarchy
   - Note content requirements per section (length, data points, format)
   - Identify placeholder markers for dynamic content
   - Detect format preferences (bullet vs. narrative, data-heavy vs. summary)

3. **Structure into a reusable template**:
   - Preserve all section headings and ordering
   - Add content guidance comments (what goes in each section)
   - Mark which sections are required vs. optional
   - Include format notes (max length, style requirements)
   - Add placeholder syntax: `{{variable_name}}` for dynamic content

4. **Map to commands** — Identify which plugin commands should use this template:
   - Template named "performance-report" → `/dm:performance-report`
   - Template named "proposal" → campaign plan outputs
   - Template named "content-brief" → `/dm:content-brief`
   - Custom templates can be referenced by any module

5. **Check for existing templates** — If a template with this name already exists:
   - Show the current template
   - Ask: replace (overwrite) or keep both (rename new one)

6. **Save the template**:
   - Save using `guidelines-manager.py --brand {slug} --action save-template --name {name}`
   - Or write directly to `~/.claude-marketing/brands/{slug}/templates/{name}.md`
   - Update the template manifest with name and description

7. **Confirm and explain usage**:
   - Show which commands will use this template
   - Explain that the template applies to this brand only
   - Note: agency-wide templates can be duplicated across brands

## Output

- Confirmation with template name and section count
- Preview of the structured template
- List of commands that will use this template
- Suggestion: "Next time you run `/dm:{matching-command}`, the output will follow this template format."

## Examples

**User**: "Our monthly performance reports should have these sections: Executive Summary (3 bullet max), Channel Performance (table with MTD vs target), Campaign Highlights (top 3 campaigns), Issues & Risks, Recommendations, Next Month Plan"

**Result**: Saves to `~/.claude-marketing/brands/{slug}/templates/performance-report.md`:
```markdown
# Monthly Performance Report Template

## Executive Summary
<!-- Max 3 bullet points summarizing overall performance -->
- {{headline_metric_1}}
- {{headline_metric_2}}
- {{headline_metric_3}}

## Channel Performance
<!-- Table format: Channel | MTD Actual | Target | Variance | Status -->
| Channel | MTD Actual | Target | Variance | Status |
|---------|-----------|--------|----------|--------|
| {{channel_rows}} |

## Campaign Highlights
<!-- Top 3 performing campaigns with key metrics -->
### 1. {{top_campaign_1}}
- Objective: {{objective}}
- Results: {{key_metrics}}
- Insight: {{learning}}

### 2. {{top_campaign_2}}
### 3. {{top_campaign_3}}

## Issues & Risks
<!-- Current issues affecting performance and upcoming risks -->
- {{issues_list}}

## Recommendations
<!-- Actionable recommendations based on data -->
- {{recommendations_list}}

## Next Month Plan
<!-- Planned activities, launches, and focus areas -->
- {{next_month_plan}}
```

**User**: "Our proposals always follow this format: Cover page with client name and date, Situation Analysis, Objectives, Strategy, Tactical Plan by Channel, Budget Breakdown, Timeline, Team, Terms"

**Result**: Saves to `~/.claude-marketing/brands/{slug}/templates/proposal.md`:
```markdown
# Client Proposal Template

## Cover
- Client: {{client_name}}
- Date: {{date}}
- Prepared by: {{agency_name}}

## 1. Situation Analysis
<!-- Current state, market context, challenges, opportunities -->
<!-- Length: 1-2 pages -->

## 2. Objectives
<!-- SMART goals aligned to client business KPIs -->
<!-- Format: numbered list with metrics -->

## 3. Strategy
<!-- Strategic approach, positioning, target audiences -->
<!-- Include: audience segments, messaging angle, competitive positioning -->

## 4. Tactical Plan by Channel
<!-- Detailed activities per channel -->
<!-- Format: subsection per channel with activities, frequency, content types -->

## 5. Budget Breakdown
<!-- Table format: Channel | Monthly | Quarterly | Annual | % of Total -->

## 6. Timeline
<!-- Gantt-style phases or month-by-month milestones -->
<!-- Mark: setup, launch, optimization, reporting checkpoints -->

## 7. Team
<!-- Team members, roles, contact information, availability -->

## 8. Terms
<!-- Payment terms, contract duration, deliverables, SLAs -->
```

## Reference Files

- `skills/context-engine/guidelines-framework.md` — How templates integrate with the guideline system
- `scripts/guidelines-manager.py` — CLI for template CRUD operations (--action list-templates, save-template, get-template)

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Import deliverable templates that define the output format for plugin commands. Templates specify section structure, content requirements, and formatting rules for proposals, reports, briefs, presentations, and other marketing deliverables.

When a command like /dm:performance-report runs, it checks for a custom template first. If one exists, the output follows the template format instead of the default.


Quick Start

Step 1: Create a Project Folder

Create a dedicated folder for this workflow (e.g. ~/marketing/import-template).

Step 2: Download the Template

Click Download above and save the file as CLAUDE.md in that folder.

Step 3: Run the Workflow

Open the folder in Claude Code and describe your goal. Claude will prompt you for any missing inputs, follow the structured process, and produce a complete deliverable.


Inputs You'll Need

The user provides:

  • Template content: Pasted template structure, section headings, or format specifications
  • Template name: What this template is for (e.g., "proposal", "performance-report", "content-brief", "campaign-plan")
  • Description (optional): When to use this template

If the user doesn't provide a name, infer it from the content structure.

How It Works

  1. Load brand context: Read ~/.claude-marketing/brands/_active-brand.json for the active slug, then load ~/.claude-marketing/brands/{slug}/profile.json. Apply brand voice, compliance rules for target markets (skills/context-engine/compliance-rules.md), and industry context. Also check for existing guidelines at ~/.claude-marketing/brands/{slug}/guidelines/_manifest.json — if present, load restrictions and relevant category files. Check for custom templates at ~/.claude-marketing/brands/{slug}/templates/. Check for agency SOPs at ~/.claude-marketing/sops/. If no brand exists, ask: "Set up a brand first (/dm:brand-setup)?" — or proceed with defaults.

  2. Analyze the template structure:

    • Identify section headings and hierarchy
    • Note content requirements per section (length, data points, format)
    • Identify placeholder markers for dynamic content
    • Detect format preferences (bullet vs. narrative, data-heavy vs. summary)
  3. Structure into a reusable template:

    • Preserve all section headings and ordering
    • Add content guidance comments (what goes in each section)
    • Mark which sections are required vs. optional
    • Include format notes (max length, style requirements)
    • Add placeholder syntax: {{variable_name}} for dynamic content
  4. Map to commands — Identify which plugin commands should use this template:

    • Template named "performance-report" → /dm:performance-report
    • Template named "proposal" → campaign plan outputs
    • Template named "content-brief" → /dm:content-brief
    • Custom templates can be referenced by any module
  5. Check for existing templates — If a template with this name already exists:

    • Show the current template
    • Ask: replace (overwrite) or keep both (rename new one)
  6. Save the template:

    • Save using guidelines-manager.py --brand {slug} --action save-template --name {name}
    • Or write directly to ~/.claude-marketing/brands/{slug}/templates/{name}.md
    • Update the template manifest with name and description
  7. Confirm and explain usage:

    • Show which commands will use this template
    • Explain that the template applies to this brand only
    • Note: agency-wide templates can be duplicated across brands

What You Get

  • Confirmation with template name and section count
  • Preview of the structured template
  • List of commands that will use this template
  • Suggestion: "Next time you run /dm:{matching-command}, the output will follow this template format."

$Related Playbooks

Productivity

Integrations

Show MCP integration status.

15 minutes
Intermediate
Productivity

Learn

Save a marketing learning or insight.

15 minutes
Intermediate
Productivity

Meeting Minutes Taker

Transform raw meeting transcripts into high-fidelity, structured minutes — merge multiple versions without losing content, review for missing items, and identify anonymous speakers.

10 minutes
Intermediate
Productivity

Loop Detect

Identify and model growth loops.

15 minutes
Intermediate
Productivity

Marketing Automation

Design marketing automation workflows.

15 minutes
Intermediate
Productivity

Martech Audit

Audit the martech stack.

15 minutes
Intermediate
Productivity

Meeting Intelligence System

Process raw meeting notes into clear decisions, action items with owners, and follow-up emails so accountability doesn't evaporate.

5 minutes
Beginner
Productivity

Non-Technical Claude Code Onboarding

A four-step setup guide and decision framework for non-technical professionals moving from the Claude web app to Claude Code — with real workflow examples from expense reports to marketing content generation.

15 minutes
Beginner
Productivity

PDF Creator

Convert markdown to professional PDFs with proper Chinese font support, a theme system, and mandatory visual self-check — handling CJK typography and Chrome header/footer suppression that manual pandoc misses.

10 minutes
Beginner
Productivity

PDF to Readable HTML

Convert a PDF into one self-contained, readable HTML file that preserves images, tables, charts, and reading order — optionally translating it while keeping every figure intact.

10 minutes
Intermediate
Productivity

Morning Brief Analyst

Turn Claude into your personal morning analyst — delivers a structured daily brief covering industry news, priority tasks, calendar context, and urgent inbox items in under 400 words.

5 minutes
Beginner
Productivity

Minimalist Decision Review

Run any business decision through eight minimalist-entrepreneur principles to get a clear do-it / don't-do-it / simplify-it verdict with the biggest risk flagged.

3 minutes
Beginner

Browse all Productivity playbooks →