Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

customer-card-render

БесплатноЗапускает вложенные скриптыНе проверен

Generate customer-card slide content YAML from Design Thinking canonical artifacts

microsoftот microsoft★ 1 654 звезды на GitHub

Об этом скилле

Customer Card Render Skill

Converts canonical Design Thinking markdown artifacts into template-driven content.yaml slide definitions.

Overview

This skill handles the Design Thinking-specific mapping layer: extracting sections from canonical markdown artifacts and filling template-driven content.yaml files. It does not build, theme, export, or validate a presentation file. The separate hve-slides skill owns HTML presentation authoring and rendering.

Keeping this layer separate means:

  • Customer-card mapping logic stays independent from any presentation tooling.
  • The skill can be included in packages independently.
  • The generated YAML stays a reviewable, renderer-neutral artifact.

Prerequisites

  • Python 3.11+

  • uv package manager, installed with a package manager that verifies the download against a published hash:

    # Windows
    winget install --id astral-sh.uv -e
    
    # macOS / Linux (Homebrew)
    brew install uv
    

    To install from a release archive instead, download it from the uv releases page and check it against its .sha256 file before extracting.

Directory Structure

.github/skills/experimental/customer-card-render/
├── SKILL.md
├── pyproject.toml
├── references/
│   └── mapping-spec.md
├── scripts/
│   └── generate_cards.py
├── templates/
│   ├── global-style.yaml
│   ├── persona.content.yaml
│   ├── problem.content.yaml
│   ├── scenario.content.yaml
│   ├── use-case-slide1.content.yaml
│   ├── use-case-slide2.content.yaml
│   ├── use-case-slide3.content.yaml
│   └── vision.content.yaml
└── tests/
    ├── fuzz_harness.py
    └── test_generate_cards.py

Supported Artifact Types

Artifact Type Slide Layout
Vision Statement Single slide
Problem Statement Single slide
Scenario Single slide
Use Case 4 slides (see below)
Persona Single slide

Use Case 4-Slide Layout

Each Use Case expands into 4 consecutive slides with distinct sections:

Slide Content
Slide 1 Use Case Description, Use Case Overview, Business Value, Primary User
Slide 2 Secondary User, Preconditions, Steps, Data Requirements
Slide 3 Equipment Requirements, Operating Environment, Success Criteria, Pain Points
Slide 4 Extensions, Evidence

Cards are ordered by artifact type (Vision → Problem → Scenario → Use Case → Persona), then alphabetically by title within each type. Use Cases appear with all 4 slides consecutive (Slide N, N+1, N+2, N+3).

Generate Slide YAML

Generate slide YAML from canonical markdown

python "<customer-card-render-skill-root>/scripts/generate_cards.py" \
  --canonical-dir .copilot-tracking/dt/<project-slug>/canonical \
  --output-dir .copilot-tracking/dt/<project-slug>/render/content

Resolve <customer-card-render-skill-root> from the loaded skill location before running the command.

generate_cards.py CLI Reference

Flag Required Default Description
--canonical-dir No <skill-root>/canonical Directory containing canonical DT markdown files
--output-dir No <skill-root>/scripts/content Directory to write generated content.yaml files
-v, --verbose No — Enable debug-level logging

The script reads each markdown file in --canonical-dir, detects the artifact type from frontmatter, extracts required sections, and generates content.yaml files. Vision, Problem, Scenario, and Persona artifacts produce one slide each. Use Case artifacts produce 4 consecutive slides per use case.

For the section-to-field mapping contract and Use Case 4-slide layout details, see references/mapping-spec.md.

The generated content.yaml files are this skill's final output. For an explicitly requested HTML presentation, hand reviewed YAML to hve-slides authoring. For a levelled demo, use hve-demo-material and its references/slide-content.md adapter contract. Resolve skills by name, preserve canonical order, source labels and unknown-knowledge markers, and never claim a presentation exists until rendered and validated. This mapping skill does not synthesize narration or dispatch a deck subagent.

DT Coach Integration

The dt-coaching-foundation skill's canonical-deck reference prov

Полный SKILL.md на GitHub

Установить customer-card-render в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

SECURITY.mdpyproject.tomlreferences/mapping-spec.mdscripts/generate_cards.pytemplates/global-style.yamltemplates/persona.content.yamltemplates/problem.content.yamltemplates/scenario.content.yamltemplates/use-case-slide1.content.yamltemplates/use-case-slide2.content.yamltemplates/use-case-slide3.content.yamltemplates/use-case-slide4.content.yamltemplates/vision.content.yamluv.lock

FAQ

Что делает скилл customer-card-render?

Generate customer-card slide content YAML from Design Thinking canonical artifacts

Как установить скилл customer-card-render?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл customer-card-render запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить customer-card-render с