opp-stage-rules
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "opp-stage-rules" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ce2244e91e6c86b785236517d7f9bea9bb822c264b19868197c9edfbcacce50e. Verify the upstream source and version against https://skillhub.cn/skills/user_f1b049da/bjxt2026691 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Based on signals such as initial contact, follow-up, quotation, and contract, recommends an opportunity's current stage and next actions. Suited for scenarios where users query opportunity stage, sales-funnel rules, or seek guidance for advancing leads.
Introduction source: third_party · user_f1b049da · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: opp-stage-rules
slug: bjxt2026691
displayName: 商机阶段规则
version: 1.0.0
summary: 按建联、跟进、报价、合同等信号,建议商机所处阶段与下一步动作。
license: MIT
description: 按建联、跟进、报价、合同等信号,建议商机所处阶段与下一步动作。当用户要商机阶段、销售漏斗规则、线索推进建议时使用。商机阶段规则
灵感:能力工具箱 stage-rules(自研规则,无状态机重依赖)。
用可解释的布尔/计数信号,推断商机阶段(线索→接触→意向→谈判→成交/丢单),并给出下一步动作列表。适合 CRM 列表旁「阶段建议」提示。
何时使用
- 「这个客户该到哪一阶段」
- 漏斗字段自动建议(人工可改)
硬约束
- 纯本地规则:输入上下文对象,输出
suggested+reason+actions[];不请求后端。 - 阶段集合固定且可配置标签:
lead / contact / intend / negotiate / won / lost。 - 优先级(高→低建议):丢单标记 → 有合同 → 有报价 → 多次跟进且已建联 → 已建联 → 线索。
- 输出必须可解释,禁止只给阶段码不给原因。
- 不替代人工确认;成交/丢单须业务确认后方可写回。
推荐实现要点
export type StageKey = 'lead' | 'contact' | 'intend' | 'negotiate' | 'won' | 'lost'
export type StageContext = {
hasContact: boolean
followCount: number
hasQuote: boolean
hasContract: boolean
markedLost: boolean
}
export function suggestOpportunityStage(ctx: StageContext) {
if (ctx.markedLost) {
return { suggested: 'lost' as const, reason: '已标记丢单', actions: ['复盘原因', '择期再激活'] }
}
if (ctx.hasContract) {
return { suggested: 'won' as const, reason: '已有合同', actions: ['归档', '跟进回款'] }
}
if (ctx.hasQuote) {
return { suggested: 'negotiate' as const, reason: '已出报价', actions: ['跟进反馈', '准备合同'] }
}
if (ctx.hasContact && ctx.followCount >= 3) {
return { suggested: 'intend' as const, reason: '多次跟进且已建联', actions: ['确认预算与决策人', '推进报价'] }
}
if (ctx.hasContact) {
return { suggested: 'contact' as const, reason: '已建立联系', actions: ['补需求笔记', '约下次跟进'] }
}
return { suggested: 'lead' as const, reason: '仍为线索', actions: ['触达确认有效性'] }
}
Agent 步骤
- 收集或映射:是否建联、跟进次数、报价/合同/丢单标记。
- 调用规则;展示中文阶段名 + 原因 + 动作。
- 阈值(如跟进≥3)可做成配置,默认写进说明。
附加
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决销售流程中商机阶段判断的实际痛点
- 适用于 CRM 系统、销售漏斗管理等高频场景
- 提供可解释的规则引擎,具备实际落地价值
Highlights
- 触发词覆盖完整(建联、跟进、报价、合同等信号)
- 适用场景描述清晰,边界明确
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了 README.md、reference.md、templates/usage.md 但未传入
Recommendation: 请补充被引用的相关文件,或移除引用链接
执行可靠性 ███████░░░ 70
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.