بنقرة واحدة
advisor-triggers
Detects when user requests warrant critical analysis via /advise command
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Detects when user requests warrant critical analysis via /advise command
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Query foreign LLM for chat. Use this skill if a foreign LLM like OpenAI ChatGPT, Google Gemini, DeepSeek or xAI Grok should be queried with a single chat message.
Query Multiple AIs for Quorum Answer.
Use when turning a memory-corruption bug into a working PoC — stack/ROP, glibc heap & FSOP, format strings, browser/JIT type confusion & UAF, Linux/Windows kernel LPE against ASLR/DEP/CFG/CET/V8-Sandbox
Tinder for your Claude Code skills. Reviews a sorted deck of every installed skill and lets you swipe keep / delete / skip on each one. Use when the user wants to bulk-clean their skill collection, triage unused skills, or do interactive skill cleanup.
Use when the user wants to report a bug, file an issue, submit a bug report, or report any problem with the mobile-app plugin.
Resolve PR review feedback. Use when addressing review comments, resolving review threads, or fixing code-review feedback.
| name | advisor-triggers |
| description | Detects when user requests warrant critical analysis via /advise command |
| version | 1.0.0 |
| auto_invoke | false |
Detect patterns in user requests that indicate a need for critical thinking analysis. Suggests running /advise when users propose significant changes without first considering trade-offs.
Triggers:
Examples:
Why advise? New dependencies increase complexity and maintenance burden.
Triggers:
Examples:
Why advise? Architectural changes have far-reaching implications.
Triggers:
Examples:
Why advise? Scope creep can derail projects.
Triggers:
Examples:
Why advise? Tech replacements have migration costs.
Triggers:
Examples:
Why advise? Premature optimization is common.
function shouldInvokeAdvisor(userRequest: string): boolean {
const triggers = [
// Dependencies
/add (redis|mongodb|postgres|graphql|webpack|docker)/i,
/use (tensorflow|pytorch|react|vue|angular)/i,
/integrate (stripe|auth0|sendgrid|aws)/i,
/switch to (typescript|rust|go|kubernetes)/i,
// Architecture
/refactor to (microservices|serverless|event-driven)/i,
/restructure as/i,
/migrate to/i,
/convert to/i,
// Scope
/also add/i,
/extend to/i,
/support (mobile|multi-tenant|real-time|offline)/i,
// Technology replacement
/instead of/i,
/replace \w+ with/i,
/swap \w+ for/i,
// Scale
/scale to/i,
/handle \d+[kmb]/i, // 1k, 1m, 1b
/support \d+k/i,
];
return triggers.some((pattern) => pattern.test(userRequest));
}
When trigger detected:
⚠️ **Significant decision detected**
Your request involves [architecture change / new dependency / scope expansion].
Consider running critical analysis first:
/advise "{user's proposal}"
This will provide:
- Alignment check with PROJECT.md
- Complexity assessment
- Trade-off analysis
- Alternative approaches
- Risk identification
Takes 2-3 minutes, could save weeks.
Proceed with analysis? [Y/n]
# .claude/config.yml
advisor_triggers:
enabled: true
# Sensitivity
sensitivity: medium # low | medium | high
# Specific triggers
triggers:
new_dependencies: true
architecture_changes: true
scope_expansions: true
technology_swaps: true
scale_changes: true
# Auto-invoke (don't ask, just run)
auto_invoke: false # If true, runs /advise automatically
User: "Let's add Redis caching"
↓
advisor-triggers: Detected new dependency
↓
[Suggest /advise]
↓
User: Accepts suggestion
↓
/advise "Add Redis caching"
↓
User: Reviews analysis, decides
↓
/plan [chosen approach]
User: "/auto-implement add WebSocket support"
↓
advisor-triggers: Detected architecture change
↓
[Suggest /advise first]
↓
User: Either runs /advise or proceeds anyway
orchestrator receives feature request
↓
Check advisor-triggers
↓
IF significant decision detected
↓
Invoke advisor agent first
↓
Present analysis to user
↓
THEN proceed with planning
Some requests trigger falsely:
False Positive:
Solution: Context-aware detection:
// Only trigger if action verb present
if (containsActionVerb(request) && containsTriggerKeyword(request)) {
return true;
}
Users can bypass:
# Explicit skip
/plan --skip-advisor "Add Redis caching"
# Or acknowledge in prompt
"Add Redis caching (already analyzed, proceeding)"
This skill is successful if:
User: "Let's add Elasticsearch for search"
⚠️ Significant decision detected
Your request involves adding a new dependency (Elasticsearch).
Consider critical analysis first:
/advise "Add Elasticsearch for full-text search"
This will check:
- Alignment with PROJECT.md goals
- Complexity cost (Elasticsearch cluster, maintenance)
- Alternatives (PostgreSQL full-text search, simple indexing)
- Trade-offs (features vs operational complexity)
Takes 2-3 minutes. Run analysis? [Y/n]
User: "Refactor to event-driven architecture"
⚠️ Significant decision detected
Your request involves a major architectural change.
Consider critical analysis first:
/advise "Refactor to event-driven architecture"
This will evaluate:
- Alignment with current architecture (PROJECT.md:78)
- Migration complexity (message bus, event schemas)
- Pros/cons of event-driven vs current approach
- Alternative patterns (queue-based, CQRS lite)
This is a 6-8 week decision. Run analysis? [Y/n]
User: "Also add mobile app support"
⚠️ Significant decision detected
Your request expands project scope to mobile platforms.
Consider critical analysis first:
/advise "Add mobile app (iOS + Android)"
This will check:
- Alignment with PROJECT.md scope (currently web-only)
- Effort estimate (React Native vs native vs PWA)
- Trade-offs (mobile features vs maintenance burden)
- MVP options (PWA first, native later)
Major scope change. Run analysis? [Y/n]
If users find this annoying:
# Disable globally
echo "advisor_triggers:\n enabled: false" >> .claude/config.yml
# Or reduce sensitivity
echo "advisor_triggers:\n sensitivity: low" >> .claude/config.yml
Philosophy: Help users pause and think before committing to significant changes. The goal is not to slow down development, but to prevent costly mistakes.