MCP Server Auto-Invocation System for PAI Skills
This skill defines WHEN and HOW MCP servers should be automatically called.
Other skills should reference this for consistent MCP usage.
=== AUTO-INVOCATION RULES ===
**context7** - ALWAYS use when:
- Writing code with external libraries (React, Next.js, Tailwind, etc.)
- Before suggesting API patterns
- User asks about library-specific features
- TRIGGER: Add "use context7" to prompts for library docs
**memory** - ALWAYS use when:
- Starting a new session (recall project context)
- After completing significant work (store learnings)
- User references past decisions
- TRIGGER: Automatic - stores/retrieves entities and relationships
**sequential-thinking** - ALWAYS use when:
- Complex multi-step problems
- Architectural decisions
- Debugging complex issues
- Trade-off analysis
- TRIGGER: Complex reasoning needed
**github** - ALWAYS use when:
- Creating PRs, issues, or commits
- Searching code across repos
- Checking CI/CD status
- TRIGGER: GitHub operations
**playwright** - ALWAYS use when:
- E2E testing required
- UI validation needed
- Browser automation tasks
- TRIGGER: Testing or browser tasks