Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计通过

import-template导入模板

Agent Skill

import-template 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

599

周安装

24

GitHub Stars

66

下载量

194
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:import-template(导入模板)
来源仓库:https://github.com/indranilbanerjee/digital-marketing-pro
仓库路径:skills/import-template
安装命令:
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill import-template
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill import-template

简介

导入模板技能用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理的任务场景。
  • 核心能力包括模板设计、复用机制建立和标准化文档生成,提高开发效率。
  • 安装方式:github;安装命令:npx skills add https://github.com/indranilbanerjee/digital-marketing-pro --skill import-template。
  • 使用前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。

SKILL.md

/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)

  1. 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

  1. 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

  1. 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)

  1. 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

  1. 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:

# 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:

# 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)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.11%
按下载量换算66

Claude

28.49%
按下载量换算55

Cursor

19.31%
按下载量换算37

Gemini CLI

9.82%
按下载量换算19

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills