CtrlK
BlogDocsLog inGet started
Tessl Logo

generate-prompt

Generates reusable Prompt Template files (.github/prompts/*.prompt.md) with variable substitution for ad-hoc, high-frequency tasks. Use when the user needs quick, repeatable prompts for common operations (explain code, fix bug, add tests, refactor, document). Creates templates with handlebars variables, optimized context structure, and strict output constraints. Not for complex workflows (use skills) or persistent roles (use agents).

86

2.10x
Quality

81%

Does it follow best practices?

Impact

97%

2.10x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is generate-prompt in canonical/copilot-collections

SKILL.md
Quality
Evals
Security

Quality

Content

75%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable 7-step workflow with real, one-level-deep bundle files and explicit validation. Its main weakness is token efficiency: heavy repetition of the same examples across steps and duplicated sections push the body past 300 lines where a leaner core plus the existing references would serve better.

Suggestions

State each example once: keep the 'Explain Code'/'Fix Bug' worked example in one step and drop its repetitions from Steps 3-5, pointing to references/variable_identification_guide.md instead.

Collapse the Overview's 'Key distinction' bullets and the Anti-Patterns section into the Step 1 decision tree, which already encodes the same redirects and exclusions.

Move the 12-item 'Common Prompt Templates' catalog into a reference file and add an error-recovery note to Step 7 (what to do when the grep/frontmatter validation fails) to close the workflow-clarity gap.

DimensionReasoningScore

Conciseness

Mostly functional without tutorial-style padding, but noticeably loose: the 'Explain Code'/'Fix Bug' examples are repeated in Steps 2, 3, 4, and 5; the Overview's 'Key distinction' bullets duplicate the Step 1 decision tree; and the 12-item 'Common Prompt Templates' catalog plus the Anti-Patterns section restate earlier guidance. Not a 2: there is no explanation of concepts Claude already knows — the bulk is domain-specific, actionable guidance — but a 300+ line body that could be tightened considerably keeps it below 4.

3 / 5

Actionability

Fully executable guidance throughout: copy-paste bash for loading references ('cat references/task_analysis_checklist.md'), a populated template from assets/prompt_template.md, concrete file-naming conventions, and runnable validation commands ('head -10 .github/prompts/{{prompt-name}}.prompt.md', 'grep -o "{{[^}]*}}" ...') plus a final checklist. Good/bad prompt-structure examples cover the common cases; not scored 4 because nothing is pseudocode or missing key details.

5 / 5

Workflow Clarity

A clear 7-step sequence with an explicit validation step (Step 7) containing runnable checks and a final checklist, so it sits above the 'steps listed but checkpoints missing' anchor. Not a 5: there is no error-recovery feedback loop — nothing instructs what to do when the grep/frontmatter validation fails — a minor validation gap for a workflow that is otherwise well checkpointed.

4 / 5

Progressive Disclosure

Verified against the actual bundle: all four referenced files exist (references/task_analysis_checklist.md, variable_identification_guide.md, context_optimization_patterns.md, assets/prompt_template.md), each is signaled inline via a cat command and summarized in a Resources section, and references are exactly one level deep with no nested 'see details.md' chains. Not a 5: the main file inlines substantial content (variable type catalogs, constraint taxonomies, the template catalog) that duplicates material in the references and could be split out more decisively.

4 / 5

Total

16

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong third-person description that explicitly states what it does, when to use it, and what to use instead, with concrete file paths and natural trigger examples. Minor room to tighten the redundant 'generates/creates templates' phrasing and add a couple of user synonyms.

DimensionReasoningScore

Specificity

Concrete actions are named: 'Generates reusable Prompt Template files (.github/prompts/*.prompt.md) with variable substitution' and 'Creates templates with handlebars variables, optimized context structure, and strict output constraints' — specific actions with file path and format. Not a 5: the actions largely restate 'create templates' twice and 'optimized context structure' is mildly buzzwordy, leaving minor coverage gaps rather than a comprehensive list of distinct concrete actions.

4 / 5

Completeness

Explicitly answers both: what — 'Generates reusable Prompt Template files (.github/prompts/*.prompt.md) with variable substitution' — and when — 'Use when the user needs quick, repeatable prompts for common operations (explain code, fix bug, add tests, refactor, document)', with concrete trigger phrases. It even adds an explicit exclusion clause ('Not for complex workflows (use skills) or persistent roles (use agents)'), matching the top anchor.

5 / 5

Trigger Term Quality

Natural trigger phrases users would actually say are present: 'explain code, fix bug, add tests, refactor, document' plus 'quick, repeatable prompts'. Not a 5: it misses common synonyms users might use (e.g., 'Copilot prompt', 'prompt snippet', 'template for X') — coverage is good but a few natural variations are missing.

4 / 5

Distinctiveness Conflict Risk

Clear niche (GitHub Copilot .prompt.md files) with distinct triggers and explicit negative boundaries — 'Not for complex workflows (use skills) or persistent roles (use agents)' — which sharply separates it from adjacent skill-generator skills. Minimal conflict risk; not scored lower because no meaningful overlap remains.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

15

/

16

Passed

Repository
canonical/copilot-collections
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.