make-instruction

Generates GitHub Copilot instruction files with applyTo patterns and prescriptive rules.

Updated May 7, 2026
One-click install
npx skills add https://github.com/Luscii/terraform-aws-iam-policy-permission-boundary --skill make-instruction-luscii
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: make-instruction
Source: https://github.com/Luscii/terraform-aws-iam-policy-permission-boundary/tree/main/.github/skills/make-instruction
Command: npx skills add https://github.com/Luscii/terraform-aws-iam-policy-permission-boundary --skill make-instruction-luscii

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Creating GitHub Copilot instruction files requires knowing the correct file naming, YAML frontmatter with applyTo glob patterns, and prescriptive content structure. This Skill scaffolds properly formatted .instructions.md files so rules auto-load for the right file types without trial and error. ## Core Features & Use Cases - Instruction Scaffolding: Generates .instructions.md files with valid applyTo frontmatter, naming conventions, and required sections. - Instruction vs Skill Decision Guidance: Provides a decision tree to determine whether content belongs in an always-active instruction or an on-demand skill based on prescriptiveness and size. - Ready-Made Templates: Includes templates for code style, domain-specific, and testing instructions with DO/DON'T patterns and validation checklists. - Use Case: A team wants Terraform style rules enforced automatically. Use this Skill to create terraform.instructions.md with applyTo "**/*.tf", prescriptive naming rules, and cross-references to deeper skills. ## Quick Start Ask the agent to create a GitHub Copilot instruction file for your chosen file type, specifying the applyTo pattern and the prescriptive rules you want enforced.

Frequently Asked Questions about make-instruction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a GitHub Copilot instruction file?▼

Create a file named {topic}.instructions.md in .github/instructions/ with YAML frontmatter containing an applyTo glob pattern, then write prescriptive DO/DON'T rules in the body. Keep the file between 100 and 800 lines.

What is the difference between a Copilot instruction and a skill?▼

Instructions are prescriptive rules that auto-load for files matching their applyTo pattern and stay under 800 lines. Skills are on-demand, descriptive or in-depth content loaded only when invoked. Use the decision tree: prescriptive plus auto-load plus small means instruction.

What applyTo patterns can I use in instruction frontmatter?▼

applyTo accepts glob patterns such as "**/*.tf" for file extensions, "**/*.{ts,tsx}" for multiple extensions, "tests/**/*.py" for directory-scoped files, or comma-separated combinations like "**/*.md,variables.tf".

Why is my Copilot instruction file not loading?▼

The most common cause is a missing or invalid applyTo pattern in the YAML frontmatter. Verify the file ends with .instructions.md, the glob syntax is valid, and you have opened a file that actually matches the pattern.

When should I convert an instruction into a skill?▼

Convert when the file exceeds 800 lines or contains mostly descriptive tutorials and examples rather than prescriptive rules. Keep only the DO/DON'T rules in the instruction and move detailed explanations into a skill with a cross-reference.