Create instructions

From posit-dev/positron · View interactive version

Create instructions is an AI agent skill from the GitHub repository posit-dev/positron. Create an instructions file (.instructions.md) for a project rule or convention.

How to use this skill

Skill file

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:

Clarify if Needed

If no clear rule emerges from the conversation, clarify:

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.