trainer-demo-deploy: Command for GitHub Copilot

.github/prompts/create-template-entry.prompt.md

create-template-entry is a command for GitHub Copilot from MicrosoftLearning/trainer-demo-deploy. It costs 21 tokens per session (1,113 once invoked), scanned A, original, MIT.

A repository-research command that reads a GitHub project and adds a complete, validated object to a JSON template file. It follows the file's required fields, tag list, key order, and formatting.

In plain words
What is it for?
Use it to create catalogue entries from GitHub repositories, including their title, description, links, author, tags, cost, deployment time, and prerequisites.
Why use it?
It removes the need to manually inspect a repository and format its details correctly. It also helps avoid invalid tags, insecure URL formats, duplicate tags, and accidental changes to existing entries.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

This is MicrosoftLearning/trainer-demo-deploy's own configuration. It tells GitHub Copilot how to work on trainer-demo-deploy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything trainer-demo-deploy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MicrosoftLearning/trainer-demo-deploy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MicrosoftLearning/trainer-demo-deploy/main/.github/prompts/create-template-entry.prompt.md
Clone the repo
git clone --depth 1 https://github.com/MicrosoftLearning/trainer-demo-deploy

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-template-entry

README.md
[![agentmods](https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/create-template-entry/github.svg)](https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/create-template-entry)
Your own site
<a href="https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/create-template-entry"><img src="https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/create-template-entry/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-template-entry

Your own site · 80×15
<a href="https://agentmods.dev/commands/microsoftlearning/trainer-demo-deploy/create-template-entry"><img src="https://agentmods.dev/badge/commands/microsoftlearning/trainer-demo-deploy/create-template-entry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,113 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01113
Opus 5.5 $0.00008 $0.00445
Sonnet 5.5 $0.00004 $0.00223
Haiku 4.5 $0.00002 $0.00111

Measured today against content hash 41d6ce35a7e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-template-entry scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/prompts/create-template-entry.prompt.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Template Entry

Your goal is to research the provided GitHub repository and append a complete, valid object to static/templates.json.

Inputs

Output

  • Updated static/templates.json content as a single JSON array including the newly appended object, preserving all existing entries and formatting no spaces, flush left. Output only JSON.

Constraints

  • The file is a single JSON array of objects; do not output any extra text.
  • Keys must appear in this exact order:
    1. title
    2. description
    3. preview
    4. website
    5. author
    6. source
    7. demoguide (optional)
    8. tags (array)
    9. cost (string)
    10. deploytime (string)
    11. prereqs (optional)
  • Tags must match TagType values defined in src/data/tags.tsx.
  • Keep cost and deploytime as strings.
  • Ensure all URLs use https://.
  • Deduplicate and sort tags lexicographically.
  • Do not reorder existing entries.

Research Tasks

Use tools to gather the following from the repo:

  1. README
    • Title: H1 heading; if absent, humanize repo name
    • Description: first non-empty paragraph under H1, single sentence, ≤ 240 chars rewritten to ignore references to Bicep or AZD. The demo is the focus.
    • Images: first usable image (png/jpg/svg/webp); use raw URL for preview
  2. Repo metadata
    • Owner page URL for website
    • Owner handle or display name for author
    • Topics and description text to help infer tags
  3. Demo and prerequisites
    • demoguide: README raw URL or demoguide/*.md under main/master
    • prereqs: prereqs.md under main/master when available
  4. Tag inference
    • Map keywords (aks, functions, apim, app service, container apps, acr, aci, cosmos, storage, blob, event hub/grid, key vault, monitor, app insights, openai, azure ai, ml, front door, cdn, redis, vnet, vpn, sentinel, purview, traffic manager, firewall, bastion, app gateway, private endpoint/link, load balancer, dotnet, node, python, blazor) to TagType
    • Should have 1 at least ILT course tag. Courses May be referenced in README or demo guide.
    • Filter strictly to allowed TagType
    • always have the "new" tag

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 99 lines · 21 tokens per session scan A 41d6ce35a7e0

Subscribe to this mod's changes

create-template-entry is a command published in the GitHub repository MicrosoftLearning/trainer-demo-deploy (31 stars, last pushed 11d ago), licensed MIT. It adds 21 tokens to every session and 1,113 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

create-template-entry compared with commands from other repositories

create-template-entry next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-template-entryMicrosoftLearning/trainer-demo-deployCommand3111d agoMITA21GitHub Copilot
checklistgithub/spec-kitCommand148ktodayMITA13Claude Code
clarifygithub/spec-kitCommand148ktodayMITA27Claude Code
specifygithub/spec-kitCommand148ktodayMITA13Claude Code
convergegithub/spec-kitCommand148ktodayMITA35Claude Code
speckit.bug.testgithub/spec-kitCommand148ktodayMITA13Claude Code
analyzegithub/spec-kitCommand148ktodayMITA26Claude Code