Repurpose Deck From Reference logo

Repurpose Deck From Reference

Community
aktsmm
repurpose-deck-from-reference

Build a new-topic PPTX by reusing an existing reference deck's template (layouts / footers / fonts / palette) while replacing all content from primary sources. Use when "use this product deck's look for a different product deck", "use this deck as template for new topic", "参照デックの体裁で別内容を作る", "既存 PPTX を流用して別テーマで作り直す". Not for deck translation, from-scratch generation, or outline-only planning.

Overview

Publisheraktsmm
RepositoryAgent-Skills
Skill namerepurpose-deck-from-reference
Stars
27
Forks
5
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by aktsmm on GitHub. Read the source before you install it.

Installation

Install the Repurpose Deck From Reference AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/aktsmm/Agent-Skills/tree/master/repurpose-deck-from-reference
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/repurpose-deck-from-reference .claude/skills/repurpose-deck-from-reference
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Repurpose Deck From Reference in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Repurpose Deck From Reference on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Repurpose Deck From Reference is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Repurpose Deck From Reference

参照 PPTX のテンプレ体裁(レイアウト・フッター・フォント・配色・章割りの作り)だけを残し、内容を 新トピックの一次情報 で書き直す skill。

When to Use

  • "この Scout 紹介資料の体裁で GitHub Copilot app 資料を作って" のような依頼
  • 既存テンプレ deck を別プロダクト / 別テーマ向けに作り変える
  • 一次情報(公式 docs / repo / changelog)を集めて新内容を組み立て、実機スクショで強化したい
  • セクション構成も新トピックに合わせて再設計してよい

Use a different skill if:

  • 翻訳・content.json 抽出ベースで作りたい(対象外)
  • テンプレートからゼロから作る(対象外)
  • 設計・骨子だけ作りたい(対象外)

Workflow

COPY → RESEARCH → PLAN → WIPE → BUILD → SCREENSHOTS → QA → POLISH
Phase目的主な落とし穴
COPY参照 deck を新ファイル名でコピー、編集対象を固定参照を破壊しない
RESEARCH一次情報を web_fetch で複数 ドキュメント / repo README / changelog を取得スニペットだけで決めない、最新版を確認
PLANセクション構成と各スライド要旨を SQL todos か markdown で先に固める参照のセクション数に縛られない
WIPE各スライドの shape を整理。layout を「白紙」に揃え、layout 由来 p:bg を除去hidden slide の扱いに注意
BUILDスライドごとに add_shape / add_textbox で再構築。footer ロゴ・ページ番号を付与負数 width/height で COM open 不能になる
SCREENSHOTS実機の UI を PrintWindow でキャプチャ、PII を mask して挿入個人 PJ 名・リポ名・ユーザー名を必ず黒塗り
QA全スライド PNG 化して sub-agent で批評 させる、自分で見ずに済まさない"looks fine" の自己評価は禁止
POLISHQA 結果を 1 ファイルにまとめて一括反映、再 QAカードに空白多すぎ / 色 system 揺れを必ず潰す

Core Rules

  • One file, not multiple drafts. 参照を直接コピーして、その 1 ファイルを iterate する。古い draft は残さない。
  • Lock-first. 編集前に対象 PPTX を開いている PowerPoint を確認し、未保存の変更がないことをユーザーに確認してから閉じる(確認なしに Stop-Process で強制終了しない)。OneDrive 同期完了を待つ。
  • Layout reset. 参照のコンテンツスライドは原則「白紙」レイアウトに切替+<p:bg> 除去。これをやらないと旧テンプレの装飾が透けて見える。
  • No negative dimensions. Emu(w - X) で X > w の状況を作らない。max(min_h, h - margin) でクランプ。
  • COM cache bypass. 編集正本は1ファイルのまま、COM Open / Export は毎回別名の検証専用コピーで行う。コピーを編集・次の正本にせず、検証結果を保存して閉じた後、自分が作ったコピーだけを削除する。
  • Primary source over memory. 仕様・対象プラン・価格は memory に頼らず必ず一次情報を web_fetch。例: GitHub Copilot app の対象プランは公式 README で "Pro / Pro+ / Max / Business / Enterprise" と最新化されている。
  • Section list = raw XML. python-pptx は PowerPoint セクションをサポートしない。presentation.xml に p14:sectionLst を直接挿入する。& は必ず &amp; にエスケープしないと COM 開けない。
  • Layout consistency before content polish. 18 枚作って 6 セクション正しく入る、ページ番号通る、フッター揃う、を先に確認してからコンテンツ詳細を直す。

Hard Gotchas

  • Negative dim corruption: add_textbox(..., h=h-650000) で h が 650000 未満になると、python-pptx は保存できるが PowerPoint COM Open が失敗する。GUI からは開ける。バイセクションでスライド単位の犯人探しが必要になる。
  • COM Export cache: 同じpathの連続Openは古い内容を返すことがある。Core Rulesの検証専用コピーで回避する。
  • OneDrive 同期と Office lock: PackageNotFoundError だけでlockと断定しない。対象ファイルと所有process、未保存変更・同期状態、他のOffice処理への影響を確認する。通常の保存・終了を優先し、強制停止は対象と影響を示して明示承認を得た場合だけ。確認できなければ停止し、無関係processを終了しない。
  • Section XML escape: <p14:section name="D. Customize & Collaborate"> は & で XML 不正。&amp; に escape。
  • Hidden slide page numbering: show="0" のスライドをスキップしてページ番号を振ると、見えないスライド以降の番号が前にずれる。hidden を含めた絶対インデックス で振る方が一貫する。

Quick Start

詳細は references/ を参照。

text
1. ユーザー: "この Scout deck の体裁で GitHub Copilot app 資料作って"
2. COPY: 参照を新ファイル名でコピー
3. RESEARCH: web_fetch で公式 docs / repo README / changelog を取得
4. PLAN: SQL todos で section 構成 + 各 slide 要旨を確定
5. WIPE → 白紙レイアウト + bg 削除 + footer 維持
6. BUILD: スライドごとに rebuild_deck.py で再構築
7. SCREENSHOTS: PrintWindow キャプチャ → PII mask → 挿入
8. QA: sub-agent で全 PNG 批評 → 修正
9. POLISH: 色 system 統一、約物統一、余白統一

References

Done Criteria

  • 参照 deck のコピー 1 ファイルを正として iterate できている
  • セクション構成が新トピックに最適化されている(参照と同じである必要なし)
  • 全本文が一次情報出典付き(Source: 行をスライド下部に明記)
  • 実機スクショは PII マスク済み(個人 PJ 名・リポ・ユーザー名・チャット名)
  • sub-agent による視覚 QA を 1 回以上回している
  • 色は 5 色程度に絞られ、未定義色(赤・マゼンタ等の浮き)が無い
  • COM Open テストが通っている(負数 dim / XML escape / cache を踏んでいない)

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Repurpose Deck From Reference AI skill do?

Build a new-topic PPTX by reusing an existing reference deck's template (layouts / footers / fonts / palette) while replacing all content from primary sources. Use when "use this product deck's look for a different product deck", "use this deck as template for new topic", "参照デックの体裁で別内容を作る", "既存 PPTX を流用して別テーマで作り直す". Not for deck translation, from-scratch generation, or outline-only planning.

Why use Repurpose Deck From Reference on TypingMind?

Because you install it once and use it with any model. Repurpose Deck From Reference is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Repurpose Deck From Reference in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/aktsmm/Agent-Skills/tree/master/repurpose-deck-from-reference. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Repurpose Deck From Reference?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Repurpose Deck From Reference?

As many as you like. As long as a model supports skills, you can use Repurpose Deck From Reference with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Repurpose Deck From Reference AI skill free?

It is published on GitHub by aktsmm. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇