← Back to ERP · project planning pack
See how it helps
CRM sales pipelines
Models lead conversion, deal stages and follow-up work without losing customer interaction history.
crm-sales-pipelines
Agents using this skill
When is it useful?
Use when sales stages or lead conversion create duplicates and unclear next actions.
What does it help you do?
- Converts leads into linked accounts, contacts and opportunities with durable references.
- Preserves activities and prevents the same lead being converted twice.
- Defines stage gates, win/loss reasons and accountable next actions.
Try asking this
Design lead conversion into an existing customer and a new opportunity without duplicating prior activities. Repeat lead conversion after a delayed response. One opportunity should exist, linked to the existing contact and the original calls, notes and next action.
Detailed documentation
Read the skill’s original instructions, examples and checks in their authored language.
Show less
CRM & Sales Pipelines
When to Use
Use when building or modifying CRM capabilities: lead capture and qualification, company/account hierarchies, contacts, deal/opportunity pipelines, activity logging, follow-up tasks, or customer timelines.
1. Lead $\rightarrow$ Account + Contact + Opportunity Conversion
Keep unqualified inbound leads separate from clean Account/Contact master data until qualification:
- Atomic Lead Conversion:
- Converting a qualified
Leadmust execute atomically inside a transaction:- Match an existing
Account(or create a newAccount) and link/create theContact. - Optionally create the initial
Opportunitylinked to thatAccountand primaryContact. - Re-parent or link all historical
activities,notes, andtasksfrom theLeadto the resultingAccount/Contact/Opportunityso zero interaction history is lost. - Mark the
Leadasconvertedwith immutable pointers (converted_account_id,converted_contact_id,converted_opportunity_id,converted_at) to prevent double conversion.
- Match an existing
- Converting a qualified
2. Sales Pipelines, Stage Gates & Win/Loss Discipline
- Configurable Pipelines & Ordered Stages:
- Support multiple pipelines where needed (e.g., New Business, Renewal / Expansion, Partner Channel), each with ordered stages (
Qualification$\rightarrow$Discovery$\rightarrow$Proposal / Quote$\rightarrow$Negotiation$\rightarrow$Closed Won/Closed Lost).
- Support multiple pipelines where needed (e.g., New Business, Renewal / Expansion, Partner Channel), each with ordered stages (
- Stage Exit/Entry Preconditions (Stage Gates):
- Enforce required business fields before advancing stages (e.g., moving to
Proposalrequires an attachedQuoteor estimatedamount > 0andexpected_close_date; moving toClosed Lostrequires a structuredloss_reason).
- Enforce required business fields before advancing stages (e.g., moving to
- Stage History & Velocity Tracking:
- Record an immutable
opportunity_stage_historyentry (from_stage_id,to_stage_id,changed_by_id,changed_at,amount_snapshot) on every transition so stage duration, conversion funnel rates, and pipeline slippage can be calculated accurately rather than overwritten.
- Record an immutable
3. Activities, Tasks, Next-Action Enforcement & Customer 360 Timeline
- Unified Activity Ledger: Track calls, emails, meetings, notes, and system events (
quote_sent,stage_changed,order_placed) in a chronological timeline queryable at both theContact/Opportunitylevel and rolled up to the parentAccount. - Preventing Orphaned Deals (Follow-Up Cadence):
- Surface or enforce "next scheduled task / follow-up date" on open opportunities so active deals do not silently stall without an owner action.
- Territory & Ownership Handoff:
- When reassigning an
Account(SDR$\rightarrow$Account Executive$\rightarrow$Customer Success Manager), define explicit rules for cascading ownership to open opportunities and pending follow-up tasks while preserving historical activity attribution.
- When reassigning an
Included files 1
SKILL.md
