Create an instructions file (.instructions.md) for a project rule or convention.
Guide the user to create an instructions file.
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:
If no clear rule emerges from the conversation, clarify:
Explore the codebase using subagents if you need more context.
Remember to follow the agent-customization guidelines to create highly effective instructions.