You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AI assistants (like Cursor, Claude Desktop) automatically decide which MCP tools to use based on your prompts. To get the best results, use clear, specific prompts that describe what you want to accomplish.
77
+
78
+
> ⚠️ **IMPORTANT**: **Explicitly mention "Use the MCP tool"** in your prompts for reliable tool usage. While AI assistants (like Cursor's Composer) can automatically select MCP tools based on context, explicit instructions ensure the assistant prioritizes MCP tools over general knowledge, especially when multiple approaches are possible. This is particularly important for getting project-specific, up-to-date information rather than generic responses.
79
+
80
+
#### Best Practices
81
+
82
+
1.**Always explicitly request MCP tool usage** (see warning above): Start prompts with "Use the MCP tool to..." or include "Use the MCP tool" in your request.
83
+
2.**Be specific about your goal**: Instead of "help me with Storefront Next", say "Use the MCP tool to show me how to build a product detail page with authentication"
84
+
3.**Mention the tool or domain explicitly**: Reference the framework (Storefront Next, PWA Kit), operation (deploy, discover), or domain (SCAPI, cartridges)
85
+
4.**Use natural language**: Describe what you want to achieve, not the tool name
86
+
5.**Provide context**: Mention your project type, what you're building, or what you need to learn
87
+
6.**Ask for guidelines first**: When starting a new project or learning a framework, ask for development guidelines before writing code
88
+
89
+
#### Examples by Tool Category
90
+
91
+
##### Storefront Next Development Guidelines
92
+
93
+
The `storefront_next_development_guidelines` tool provides critical architecture rules and best practices. **Use this tool first** when starting new Storefront Next development or when you need architecture guidance.
94
+
95
+
**Good prompts:**
96
+
- ✅ "I'm new to Storefront Next. Use the MCP tool to show me the critical rules I need to know."
97
+
- ✅ "I need to build a product detail page. Use the MCP tool to show me best practices for data fetching and component patterns."
98
+
- ✅ "I need to build a checkout form with authentication and validation. Use the MCP tool to show me how to handle form submissions, authentication, and internationalized error messages."
99
+
- ✅ "Use the MCP tool to show me the data fetching patterns for Storefront Next."
100
+
- ✅ "Show me all available Storefront Next development guidelines."
101
+
102
+
**Available sections:**
103
+
-`quick-reference` - Critical rules and architecture principles (default)
104
+
-`data-fetching` - Data loading patterns with loaders
105
+
-`state-management` - Client-side state management
106
+
-`auth` - Authentication and session management
107
+
-`components` - Component patterns and best practices
0 commit comments