template-creator
Create or update a reusable Amplifier artifact template skill from a permitted reference document, deck, workbook, image, or message.
来源信息
- 仓库
- microsoft/amplifier-bundle-work
- 最近来源活动
- 2026年9月20日 22:41
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- Forks
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- template-creator
- description
- Create or update a reusable Amplifier artifact template skill from a permitted reference document, deck, workbook, image, or message.
- compatibility
- Python 3.11+ and Amplifier load_skill; matching authoring skill for Office/PDF/image references; renderer and image reader for visual QA.
- user-invocable
- true
# Template Creator
Create a self-contained Amplifier skill with a retained reference and a manifest.
This uses Amplifier filesystem discovery, not a Codex gallery or plugin cache.
1. Identify the exact reference and whether this is creation or an explicitly
requested update. For cloud references, use a real authorized export tool;
do not store account credentials or guess a download URL. Confirm the user
can reuse the reference before redistributing it. Preserve the original.
2. Choose `.amplifier/skills/artifact-template-<name>` in the project or the
user's requested destination. Do not overwrite an existing skill by default.
3. For DOCX/PPTX/XLSX/PDF, load the corresponding authoring skill and render a
representative first page/slide/sheet. Inspect the preview for readability.
For images retain the original; for a message retain exact UTF-8 text and
make a preview only if a suitable renderer is available.
4. Run `${SKILL_DIR}/scripts/create_template.py` with `--reference`, `--name`,
`--description`, and `--destination` (the parent skills folder). Optionally
pass a verified `--preview`. The helper writes the reference, SHA-256,
`artifact-template.json`, and an Amplifier `SKILL.md`, refuses overwrite, and
rejects symlink inputs. Read its JSON result and verify the resulting files.
5. Load the new skill through `load_skill` and exercise it on a disposable copy.
For updates, identify the exact destination, preserve unaffected resources,
update the manifest hash if the reference changes, and rerender its preview.
Keep layout and content responsibilities explicit: the retained reference controls
format where the user gives no contrary instruction; user sources control facts.
Template creation does not authorize cloud publication or integration installation.
在 GitHub 查看