Skip to content
Development
Skill

/create-instructions

Create an instructions file (.instructions.md) for a project rule or convention.

From plugin
vscode
189k26 skills
Install
$ npx -y skills add microsoft/vscode --skill create-instructions --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/create-instructions

Context preview

The summary Claude sees to decide when to auto-load this skill.

Create an instructions file (.instructions.md) for a project rule or convention.

SKILL.md

create-instructions.SKILL.md
name: create-instructions
description: 'Create an instructions file (.instructions.md) for a project rule or convention.'
argument-hint: What rule or convention to enforce?
disable-model-invocation: true

Related skill: `agent-customization`. Load and follow **instructions.md** for template and principles.

Guide the user to create an instructions file.

Extract from Conversation

First, review the conversation history. If the user has been correcting the agent's output or asking for specific patterns (e.g., "always use X", "never do Y", "follow this style"), generalize that into a persistent instruction. Extract:

  • Corrections or preferences mentioned during the conversation
  • Coding patterns the user enforced or requested
  • Project-specific conventions referenced

Clarify if Needed

If no clear rule emerges from the conversation, clarify:

  • Should this apply everywhere or only to specific files?
  • Which technologies or file types are affected?
  • Is this a hard rule or a preference?

Explore the codebase using subagents if you need more context.

Iterate

1. Draft the instruction and save it. 2. Identify the most ambiguous or weak parts and ask about those. 3. Once finalized, summarize what the instruction enforces, suggest example prompts to see it in action, and propose related customizations to create next.

Remember to follow the `agent-customization` guidelines to create highly effective instructions.

Read more
Ships withvscode

Visual Studio Code

Get the whole plugin
Stats
188,564
Stars
41,520
Forks
Active
Maintenance
TypeScript
Language
MIT
License
48m ago
Last commit
10y ago
Created

Repo: microsoft/vscode