Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计通过

advisor-triggers顾问触发

Agent Skill

advisor-triggers 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

442

周安装

19

GitHub Stars

23

下载量

155
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:advisor-triggers(顾问触发)
来源仓库:https://github.com/akaszubski/autonomous-dev
仓库路径:skills/advisor-triggers
安装命令:
npx skills add https://github.com/akaszubski/autonomous-dev --skill advisor-triggers
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/akaszubski/autonomous-dev --skill advisor-triggers

简介

advisor-triggers 用于识别用户请求中的关键模式,自动建议启动深度分析流程以提升决策质量。

  • 适合在引入新技术、架构变更或依赖扩展时,提前评估复杂度与维护风险。
  • 可检测新增依赖、架构重构或系统迁移等场景,并提示权衡利弊与潜在影响。
  • 通过关键词匹配与上下文分析触发建议,无需手动配置规则,提升响应效率。
  • 安装前请确认是否具备读取用户输入权限,避免误判或过度干预常规对话流程。

SKILL.md

Advisor Auto-Invoke Triggers

Purpose

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.

Detection Patterns

Pattern 1: New Dependencies

Triggers:

  • "add [package/library/service]"
  • "use [technology]"
  • "integrate [external service]"
  • "switch to [different tool]"

Examples:

  • "Let's add Redis for caching"
  • "Use TensorFlow for ML"
  • "Integrate Stripe for payments"
  • "Switch to PostgreSQL"

Why advise? New dependencies increase complexity and maintenance burden.

Pattern 2: Architecture Changes

Triggers:

  • "refactor to [pattern]"
  • "restructure as [architecture]"
  • "migrate to [architecture]"
  • "convert to [pattern]"

Examples:

  • "Refactor to microservices"
  • "Restructure as event-driven"
  • "Migrate to serverless"
  • "Convert to monorepo"

Why advise? Architectural changes have far-reaching implications.

Pattern 3: Scope Expansions

Triggers:

  • "also add [feature]"
  • "extend to [capability]"
  • "support [new use case]"
  • "make it [do more]"

Examples:

  • "Also add real-time collaboration"
  • "Extend to mobile platforms"
  • "Support multi-tenancy"
  • "Make it work offline"

Why advise? Scope creep can derail projects.

Pattern 4: Technology Replacements

Triggers:

  • "[X] instead of [Y]"
  • "replace [X] with [Y]"
  • "swap [X] for [Y]"

Examples:

  • "GraphQL instead of REST"
  • "Replace Express with Fastify"
  • "Swap MySQL for MongoDB"

Why advise? Tech replacements have migration costs.

Pattern 5: Scale Changes

Triggers:

  • "handle [large number]"
  • "scale to [big metric]"
  • "support [many users]"

Examples:

  • "Handle 1M requests/day"
  • "Scale to 100K users"
  • "Support 10K concurrent"

Why advise? Premature optimization is common.

Detection Logic

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));
}

Response Format

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]

Configuration

# .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-activation (don't ask, just run)
  auto_activate: false  # If true, runs /advise automatically

Integration Points

Point 1: Before /plan Command

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]

Point 2: Before /auto-implement

User: "/auto-implement add WebSocket support"
  ↓
advisor-triggers: Detected architecture change
  ↓
[Suggest /advise first]
  ↓
User: Either runs /advise or proceeds anyway

Point 3: In Orchestrator Agent

orchestrator receives feature request
  ↓
Check advisor-triggers
  ↓
IF significant decision detected
  ↓
Invoke advisor agent first
  ↓
Present analysis to user
  ↓
THEN proceed with planning

False Positives

Some requests trigger falsely:

False Positive:

  • "Fix bug in Redis connection" ← mentions Redis but not adding it
  • "Document the microservices" ← mentions architecture but not changing it

Solution: Context-aware detection:

// Only trigger if action verb present
if (containsActionVerb(request) && containsTriggerKeyword(request)) {
  return true;
}

Override

Users can bypass:

# Explicit skip
/plan --skip-advisor "Add Redis caching"

# Or acknowledge in prompt
"Add Redis caching (already analyzed, proceeding)"

Success Metrics

This skill is successful if:

  • ✅ Catches 80%+ of significant decisions
  • ✅ False positive rate < 20%
  • ✅ Users find suggestions helpful (not annoying)
  • ✅ Reduces regretted decisions (measured via rollbacks)

Example Outputs

Example 1: New Dependency

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]

Example 2: Architecture Change

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]

Example 3: Scope Expansion

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]

Disabling

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

Version History

  • 1.0.0 (2025-10-26): Initial release

- Pattern detection for 5 trigger types - Configurable sensitivity - Integration with /advise command


Philosophy: Help users pause and think before committing to significant changes. The goal is not to slow down development, but to prevent costly mistakes.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.48%
按下载量换算55

Claude

29.75%
按下载量换算46

Cursor

19.91%
按下载量换算31

Gemini CLI

8.98%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills