Agent skill

Tsh Creating Instructions

by TheSoftwareHouse in TheSoftwareHouse/copilot-collections

Creates custom instruction files (.instructions.md) for GitHub Copilot in VS Code.

MITAuto-check passedAgent Workflows

Install Tsh Creating Instructions

skills CLI
$ npx skills add TheSoftwareHouse/copilot-collections --skill tsh-creating-instructions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TheSoftwareHouse/copilot-collections tsh-creating-instructions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TheSoftwareHouse/copilot-collections.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/tsh-creating-instructions .claude/skills/tsh-creating-instructions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tsh-creating-instructions
GitHub stars
284
Token cost
~2.9k tokens
SKILL.md length
1,111 words
Files
3 (incl. assets)
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Creates custom instruction files (.instructions.md) for GitHub Copilot in VS Code.

  • Works in 6 steps: Architecture — Overall architecture… → Technology Stack — ALL languages,… → Coding Conventions — Conventions NOT… → …
  • Updating .instructions.md files
  • SKILL.md covers Core Design Principles, Creation Process, Quick Reference and Connected Skills
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tsh Creating Instructions is an agent skill from TheSoftwareHouse/copilot-collections. Creates custom instruction files (.instructions.md) for GitHub Copilot in VS Code. Covers repository-level instructions (copilot-instructions.md) and granular file-based instructions with applyTo glob patterns. Provides templates and decision framework for instruction vs. skill placement. Use when creating, reviewing, or updating .instructions.md files.

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including assets (for example `assets/copilot-instructions.template.md` and `assets/custom-instructions.template.md`).

It sits in Agent Workflows, covering Agent instruction files. It works with Visual Studio Code. The repository describes itself as: Opinionated AI-enabled workflows for product engineering. The licence is MIT.

When your agent uses it

  • Updating .instructions.md files
  • Tasks that involve Agent instruction files

Example prompts

  • “Use the tsh-creating-instructions skill to create custom instruction files (.instructions.md) for GitHub Copilot in VS Code”
  • “/tsh-creating-instructions”

Requirements

  • Docker

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Architecture — Overall architecture pattern (monorepo, microservices, modular monolith, etc.), directory structure, and responsibility of…
  2. Technology Stack — ALL languages, frameworks, and key libraries with specific versions. Critical — Copilot needs exact versions to…
  3. Coding Conventions — Conventions NOT enforced by linters/formatters. Architectural rules (e.g., "business logic must not import from UI…
  4. Error Handling — The project's error handling strategy.
  5. Testing Strategy — Testing approach (unit, integration, E2E), frameworks, and key patterns.
  6. Development Workflow — How developers interact with the project. Document task runners (Make, Taskfile, npm scripts, Turbo)…

What it can do on your machine

Read from SKILL.md and the folder at commit 2fbe51e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tsh Creating Instructions loads about 2.9k tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 1,111 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TheSoftwareHouse/copilot-collections at commit 2fbe51e, republished under its MIT licence (© TheSoftwareHouse). 1,111 words, ~2,890 tokens.

Download SKILL.mdSave it as .claude/skills/tsh-creating-instructions/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
tsh-creating-instructions
description
Creates custom instruction files (.instructions.md) for GitHub Copilot in VS Code. Covers repository-level instructions (copilot-instructions.md) and granular file-based instructions with applyTo glob patterns. Provides templates and decision framework for instruction vs. skill placement. Use when creating, reviewing, or updating .instructions.md files.
user-invocable
false

Creating Instructions

Creates well-structured instruction files for GitHub Copilot in VS Code. Covers the repository-level constitution and granular scoped conventions, with clear guidance on what belongs in instructions versus skills.

Core Design Principles

<principles>
<instruction-types>
Two types of instruction files exist:

Repository-level instructions (.github/copilot-instructions.md): A single file per repository — the "constitution." Defines architecture, directory structure, languages, frameworks, library versions, and fundamental project constraints. Applied to ALL Copilot interactions in the workspace. No frontmatter required. This is the first file any developer or AI agent should read to understand the project.

Granular custom instructions (*.instructions.md): Multiple files per repository. Support YAML frontmatter with applyTo glob patterns. Applied automatically when matching files are in context, or manually added to chat. Stored in .github/instructions/ folder. These encode file-type-specific or directory-specific coding conventions.

AspectRepository-levelGranular custom
File.github/copilot-instructions.md*.instructions.md
Count per repoExactly oneMultiple
FrontmatterNot requiredRecommended (applyTo, name, description)
Applied whenEvery Copilot interactionFiles matching applyTo pattern are in context, or description semantically matches the task
Location.github/copilot-instructions.md.github/instructions/ folder
PurposeProject constitution — architecture, stack, fundamental rulesScoped conventions — file-type or domain-specific rules
</instruction-types>
<instructions-vs-skills>
Instructions define **RULES** — declarative constraints that Copilot must follow whenever they apply. They are project-specific, loaded automatically, and encode decisions for THIS repository.

Skills define HOW — procedural workflows loaded on-demand by agents to perform specific tasks. Skills are generic, reusable across projects, and encode expert knowledge.

If the content is...It belongs in...Example
A project-specific rule or constraintInstructions"Use date-fns instead of moment.js — moment.js is deprecated"
A step-by-step workflow for performing a taskSkill"How to perform code review with severity categorization"
A coding convention for specific file typesInstructions (granular)"React components use functional style with hooks"
A reusable process template across projectsSkill"How to create a new API endpoint with validation"
An architectural decision for this repositoryInstructions (repo-level)"This is a monorepo with apps/ and packages/ structure"
Domain knowledge needed to execute a taskSkill"E2E testing patterns with Playwright Page Objects"
Technology stack and version requirementsInstructions (repo-level)"TypeScript 5.4, React 19, Next.js 15"
A coding standard that linters don't enforceInstructions (granular)"Business logic must not import from UI layer"

Mental model: Instructions are "the law" (always in force). Skills are "expert handbooks" (consulted for specific tasks). </instructions-vs-skills>

<conciseness>
Instruction files compete for the context window with conversation history, skills, and the actual task.
  • Keep instructions short and self-contained — each instruction should be a single, simple statement.
  • Include the reasoning behind rules (e.g., "Use date-fns instead of moment.js — moment.js is deprecated and increases bundle size").
  • Show preferred and avoided patterns with concrete code examples — AI responds more effectively to examples than abstract rules.
  • Focus on non-obvious rules — skip conventions that standard linters/formatters already enforce.
  • Whitespace between instructions is ignored — format for legibility.
    </conciseness>
</principles>

Creation Process

Use the checklist below and track progress:

Creation progress:
- [ ] Step 1: Determine the instruction type
- [ ] Step 2: Define the instruction scope
- [ ] Step 3: Gather content for the instruction file
- [ ] Step 4: Write the instruction file
- [ ] Step 5: Validate the instruction file

Step 1: Determine the instruction type

Determine from context or ask the user. Use the vscode/askQuestions tool to clarify the user's intent if it's ambiguous:

  • Is this a NEW project needing its first copilot-instructions.md? → Create repository-level instructions.
  • Are there existing copilot-instructions.md and file-specific rules are needed? → Create granular instructions.
  • Unsure? → Check if .github/copilot-instructions.md exists. If not, recommend creating it first. The constitution comes before specific laws.

Step 2: Define the instruction scope

For repository-level instructions, the scope is always the entire project. Research by:

  • Reading package.json, pyproject.toml, Cargo.toml, go.mod, or equivalent to identify languages, frameworks, and versions.
  • Analyzing the directory structure to understand architecture (monorepo, feature-based, layered, etc.).
  • Reading existing config files (.eslintrc, tsconfig.json, .prettierrc, etc.) to understand tooling.
  • Checking for existing README or architectural documentation.

For granular instructions, determine:

  • Which files they apply to (the applyTo glob pattern).
  • What specific conventions exist for that file scope.
  • Whether an existing instruction file already covers this scope (avoid overlapping applyTo patterns).

applyTo glob pattern reference:

PatternMatches
**/*.tsAll TypeScript files
**/*.test.tsAll test files
src/components/**All files under components directory
**/*.{ts,tsx}All TypeScript and TSX files
src/api/**All API-related files
**All files (rarely needed for granular — use repo-level instead)
Show full SKILL.md (435 more words)Show less

Step 3: Gather content for the instruction file

For repository-level instructions (the constitution), research and document:

  1. Architecture — Overall architecture pattern (monorepo, microservices, modular monolith, etc.), directory structure, and responsibility of each top-level directory.
  2. Technology Stack — ALL languages, frameworks, and key libraries with specific versions. Critical — Copilot needs exact versions to generate compatible code.
  3. Coding Conventions — Conventions NOT enforced by linters/formatters. Architectural rules (e.g., "business logic must not import from UI layer"), project-specific naming conventions, and agreed-upon patterns.
  4. Error Handling — The project's error handling strategy.
  5. Testing Strategy — Testing approach (unit, integration, E2E), frameworks, and key patterns.
  6. Development Workflow — How developers interact with the project. Document task runners (Make, Taskfile, npm scripts, Turbo), containerization (Docker Compose commands), and common developer commands (build, test, lint, migrate, seed). Copilot should use the same scripts and tools a regular developer would — never raw commands when a script exists.

For granular instructions, research and document:

  • Specific conventions for the target file scope.
  • Preferred patterns with code examples.
  • Anti-patterns to avoid with code examples.
  • Reasoning behind non-obvious rules.

Use the ./assets/copilot-instructions.template.md and ./assets/custom-instructions.template.md templates as starting points.

Step 4: Write the instruction file

For repository-level instructions:

  • Create the file at .github/copilot-instructions.md.
  • No frontmatter required.
  • Use clear Markdown headers to organize sections.
  • Use the ./assets/copilot-instructions.template.md template.

For granular instructions:

  • Create the file in .github/instructions/ directory.
  • Name the file descriptively: {scope}.instructions.md (e.g., python.instructions.md, react-components.instructions.md, api-endpoints.instructions.md).
  • Include YAML frontmatter with name, description, and applyTo.
  • Use the ./assets/custom-instructions.template.md template.

Frontmatter fields reference:

FieldRequiredDescription
nameNoDisplay name shown in UI. Defaults to filename.
descriptionRecommendedShort description shown on hover. Also used for semantic matching — if description matches the current task, instructions may apply even without applyTo match.
applyToRecommendedGlob pattern relative to workspace root. If omitted, instructions are not applied automatically.

Step 5: Validate the instruction file

Validation:
- [ ] File is in the correct location (`.github/copilot-instructions.md` or `.github/instructions/*.instructions.md`)
- [ ] Frontmatter (if present) is valid YAML
- [ ] `applyTo` pattern (if present) matches the intended files — verify with a glob tester
- [ ] Instructions are short and self-contained — each rule is a single statement
- [ ] Non-obvious rules include reasoning ("because...")
- [ ] Preferred/avoided patterns include concrete code examples
- [ ] No duplication of rules already enforced by linters/formatters
- [ ] No procedural workflow content (that belongs in skills)
- [ ] No agent personality or behavior definitions (that belongs in .agent.md)
- [ ] No prompt/workflow triggers (that belongs in .prompt.md)
- [ ] Repository-level file covers: architecture, stack with versions, key conventions
- [ ] Granular files have descriptive, non-overlapping `applyTo` patterns

Quick Reference

Instruction File Types
TypeLocationPurposeSetting
Repository instructions.github/copilot-instructions.mdProject constitutionAlways on by default
Custom instructions.github/instructions/*.instructions.mdScoped conventionschat.includeApplyingInstructions
AGENTS.mdWorkspace rootMulti-AI-agent instructionschat.useAgentsMdFile
CLAUDE.mdWorkspace root / .claude/Claude Code compatibilitychat.useClaudeMdFile
Organization instructionsGitHub org levelCross-repo shared rulesgithub.copilot.chat.organizationInstructions.enabled
Priority Order

Higher takes precedence on conflict:

  1. Personal instructions (user-level) — highest
  2. Repository instructions (.github/copilot-instructions.md or AGENTS.md)
  3. Organization instructions — lowest

Connected Skills

  • tsh-creating-agents - to ensure agent files don't embed coding standards that belong in instructions
  • tsh-creating-skills - to understand the boundary between procedural knowledge (skills) and declarative rules (instructions)
  • tsh-creating-prompts - to ensure prompts reference instructions rather than duplicating conventions
  • tsh-technical-context-discovering - the complementary skill that discovers and reads existing instruction files
  • tsh-codebase-analysing - to analyze existing instruction files and identify patterns to follow

© TheSoftwareHouse, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (assets) in .github/skills/tsh-creating-instructions of TheSoftwareHouse/copilot-collections.

  • SKILL.md
  • assets/copilot-instructions.template.md
  • assets/custom-instructions.template.md

Open the folder on GitHubat commit 2fbe51e

Compare with similar skills

Tsh Creating Instructions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tsh Creating Instructions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tsh Creating Instructions this skillTheSoftwareHouse/copilot-collections284—~2.9kAutomated safety check: PassMIT
Agnixagent-sh/agnix446—~874Automated safety check: PassApache-2.0
Claude Docs Consultantcentminmod/my-claude-code-setup2.7k—~959Automated safety check: PassMIT
Agnixagent-sh/agnix446—~563Automated safety check: PassApache-2.0
Fix Prompt Evaluation Diagnosticsmicrosoft/vscode-chat-customizations-evaluation142—~506Automated safety check: PassCustom licence
Analyze Chat Customizationmicrosoft/vscode-chat-customizations-evaluation142—~135Automated safety check: PassCustom licence

Similar skills

  • Agnix

    agent-sh/agnix

    A skill your agent uses when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'.

    446 GitHub stars~874 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Claude Docs Consultant

    centminmod/my-claude-code-setup

    Consult official Claude Code documentation from code.claude.com using selective fetching.

    2.7k GitHub stars~959 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Agnix

    agent-sh/agnix

    A skill your agent uses when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'.

    446 GitHub stars~563 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Fix Prompt Evaluation Diagnostics

    microsoft/vscode-chat-customizations-evaluation

    Official

    Applies the fixes suggested by the Chat Customizations Evaluations extension to a prompt, agent, skill or instruction file, changing only what each diagnostic requires.

    142 GitHub stars~506 tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Analyze Chat Customization

    microsoft/vscode-chat-customizations-evaluation

    Official

    Runs Chat Customizations Evaluations analysis for the active customization file and summarizes the findings from the Problems panel.

    142 GitHub stars~135 tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Windsurf Migration Deep Dive

    jeremylongshore/tons-of-skills-marketplace

    Migrate to Devin Desktop (formerly Windsurf) from VS Code, Cursor, or other AI IDEs with full configuration transfer.

    2.8k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from TheSoftwareHouse/copilot-collections

All 21 skills in this repo
  • Tsh Creating Skills

    TheSoftwareHouse/copilot-collections

    Create new skills (SKILL.md) for GitHub Copilot. An agent skill from TheSoftwareHouse/copilot-collections.

    284 GitHub stars~4.1k tokensUpdated 4 days ago
    Auto-check passed
  • Tsh Implementing Frontend

    TheSoftwareHouse/copilot-collections

    Frontend component patterns, composition, design token integration, barrel file organization, error handling, and Figma-to-code workflow.

    284 GitHub stars~2.6k tokensUpdated 4 days ago
    Auto-check passed
  • Tsh Implementing Terraform Modules

    TheSoftwareHouse/copilot-collections

    Build reusable Terraform modules for AWS, Azure, and GCP infrastructure following infrastructure-as-code best practices.

    284 GitHub stars~1.6k tokensUpdated 4 days ago
    Auto-check passed
  • Tsh Optimizing Frontend

    TheSoftwareHouse/copilot-collections

    Frontend rendering optimization, code splitting, memoization strategies, bundle size control, asset optimization, and memory management.

    284 GitHub stars~4.1k tokensUpdated 4 days ago
    Auto-check passed
  • Tsh Reviewing Frontend

    TheSoftwareHouse/copilot-collections

    Frontend-specific code review criteria, component anti-patterns, hooks quality, rendering correctness, accessibility and performance spot-checks, and module organization issues.

    284 GitHub stars~4.4k tokensUpdated 4 days ago
    Auto-check passed
  • Tsh Writing Hooks

    TheSoftwareHouse/copilot-collections

    Custom hook and composable patterns — naming, composition, stable return shapes, lifecycle cleanup, and testing strategies.

    284 GitHub stars~3k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Tsh Creating Instructions

What does Tsh Creating Instructions do?

Creates custom instruction files (.instructions.md) for GitHub Copilot in VS Code. Tsh Creating Instructions is an agent skill from TheSoftwareHouse/copilot-collections.md) for GitHub Copilot in VS Code.

When should I use Tsh Creating Instructions?

Tsh Creating Instructions fits situations like: updating .instructions.md files; tasks that involve Agent instruction files.

How do I install Tsh Creating Instructions in Claude Code?

Run `npx skills add TheSoftwareHouse/copilot-collections --skill tsh-creating-instructions -a claude-code`. Or copy the skill folder (.github/skills/tsh-creating-instructions in TheSoftwareHouse/copilot-collections) into .claude/skills/tsh-creating-instructions in your project. Claude Code loads it when a task matches its description.

How do I install Tsh Creating Instructions in Codex?

Run `npx skills add TheSoftwareHouse/copilot-collections --skill tsh-creating-instructions -a codex`. Or copy the skill folder (.github/skills/tsh-creating-instructions in TheSoftwareHouse/copilot-collections) into .agents/skills/tsh-creating-instructions in your project. Codex loads it when a task matches its description.

Can I use Tsh Creating Instructions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TheSoftwareHouse/copilot-collections --skill tsh-creating-instructions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tsh-creating-instructions, .gemini/skills/tsh-creating-instructions, .github/skills/tsh-creating-instructions and .opencode/skills/tsh-creating-instructions in your project.

What does Tsh Creating Instructions need to run?

SKILL.md names no scripts, command-line tools or credentials: Tsh Creating Instructions is instructions for the agent only. Our summary lists: Docker.

Does Tsh Creating Instructions access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tsh Creating Instructions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tsh Creating Instructions use?

Tsh Creating Instructions is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tsh Creating Instructions use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tsh Creating Instructions?

Skills that share tags, products or a category with Tsh Creating Instructions: Agnix (agent-sh/agnix, 446 stars), Claude Docs Consultant (centminmod/my-claude-code-setup, 2.7k stars), Agnix (agent-sh/agnix, 446 stars) and Fix Prompt Evaluation Diagnostics (microsoft/vscode-chat-customizations-evaluation, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tsh Creating Instructions?

TheSoftwareHouse (a GitHub organization) maintains it in TheSoftwareHouse/copilot-collections, which has 284 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 5, 2026.

Source: TheSoftwareHouse/copilot-collections on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.