template-creator
Create or update a reusable Amplifier artifact template skill from a permitted reference document, deck, workbook, image, or message.
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- 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
02 资源文件 11
- 参考文档references/element-attributes.md665 B
- 参考文档references/playwright-tests.md1.7 KB
- 参考文档references/pr-attachments.md2.8 KB
- 参考文档references/request-mocking.md2.1 KB
- 参考文档references/running-code.md5.8 KB
- 参考文档references/session-management.md5.8 KB
- 参考文档references/storage-state.md5.2 KB
- 参考文档references/test-generation.md15.7 KB
- 参考文档references/tracing.md3.5 KB
- 参考文档references/video-recording.md9.2 KB
- 脚本scripts/create_template.py4.4 KB
03 SKILL.md 正文
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.
- 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.
- Choose
.amplifier/skills/artifact-template-<name>in the project or the user's requested destination. Do not overwrite an existing skill by default. - 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.
- Run
${SKILL_DIR}/scripts/create_template.pywith--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 AmplifierSKILL.md, refuses overwrite, and rejects symlink inputs. Read its JSON result and verify the resulting files. - Load the new skill through
load_skilland 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.
04 同仓库更多 Skills
visualize
Build interactive HTML explanations, charts, simulations, comparisons, and UI mockups. Use when a visual helps understanding; use artifact skills for Office deliverables.
spreadsheets
Create, edit, analyze, and chart XLSX, CSV, and TSV files. Use for models, trackers, budgets, and Google Sheets-bound workbooks; use excel-live-control for an open Excel session.
skill-installer
Discover and install Amplifier-compatible skills from a local folder or Git repository into the requested project, personal directory, or bundle.
skill-creator
Create or update Amplifier skills with concise routing, portable resources, and actual loader validation. Use for reusable workflows and skill authoring.
presentations
Create or edit editable PowerPoint PPTX slides and Google Slides-bound decks. Use for presentations, slide layouts, speaker notes, and template-based decks.
plugin-management
Discover, inspect, connect, or remove Amplifier bundles, MCP integrations, and Smart Tools using the host's available management actions.