Skip to content

getaero-io/gtm-eng-skills / skills/deepline-crm-cleaning

deepline-crm-cleaning

Verified

Use for CRM audits, duplicate detection, missing or stale fields, job changes, domain checks, acquisitions, parent-child relationships, repair plans, prevention, monitoring, and evaluation. Supports HubSpot, Salesforce, Attio, and mapped exports. Start with read-only analysis. Skip outreach writing, CRM interface design, and unrelated analysis.

FileKindSize
SKILL.mdskill md8.5 KB
adapters/attio.mdmarkdown3.3 KB
adapters/hubspot.mdmarkdown3.4 KB
adapters/other.mdmarkdown1.9 KB
adapters/salesforce.mdmarkdown3.7 KB
jobs/audit.mdmarkdown2.8 KB
jobs/dedupe.mdmarkdown4.6 KB
jobs/employment.mdmarkdown1.0 KB
jobs/enrich.mdmarkdown1.5 KB
jobs/evaluate.mdmarkdown1.8 KB
jobs/hierarchy.mdmarkdown1.9 KB
jobs/monitor.mdmarkdown1.1 KB
jobs/prevent.mdmarkdown1.2 KB
jobs/relationships.mdmarkdown1.0 KB
jobs/repair.mdmarkdown1.6 KB
plays/README.mdmarkdown14.5 KB
plays/audit-crm-snapshot.play.tsscript1.7 KB
plays/bun.lockother2.1 KB
plays/classify-company-domains.play.tsscript882 B
plays/collect-domain-evidence.play.tsscript1.8 KB
plays/collect-hubspot-companies.play.tsscript876 B
plays/deepline.jsonconfig27 B
plays/evaluate-crm-cleaning.play.tsscript3.5 KB
plays/package.jsonmanifest408 B
plays/plan-crm-domain-repairs.play.tsscript1.4 KB
plays/resolve-crm-contact-duplicates.play.tsscript1.9 KB
plays/sample-hubspot-crm.play.tsscript2.3 KB
plays/schemas/receipt.schema.jsonconfig13.1 KB
plays/score-crm-company-candidates.play.tsscript2.3 KB
plays/shared/assets/README.mdmarkdown566 B
plays/shared/assets/public-suffix-list.LICENSE.txtmarkdown16.7 KB
plays/shared/assets/public-suffix-list.txtmarkdown311.1 KB
plays/shared/assets/unicode.LICENSE.txtmarkdown1.9 KB
plays/shared/audit.tsscript30.7 KB
plays/shared/collect-domains.tsscript20.3 KB
plays/shared/company-candidates.tsscript16.7 KB
plays/shared/domain-policy.tsscript7.8 KB
plays/shared/domain-repairs.tsscript13.2 KB
plays/shared/domain.tsscript16.7 KB
plays/shared/duplicates.tsscript21.1 KB
plays/shared/evaluate.tsscript40.9 KB
plays/shared/hubspot.tsscript21.7 KB
plays/shared/identity-evaluation.tsscript14.4 KB
plays/shared/io.tsscript1.8 KB
plays/shared/json.tsscript6.8 KB
plays/shared/native.tsscript1004 B
plays/shared/time.tsscript1.9 KB
plays/shared/unicode-casefold.jsonconfig37.1 KB
shared/domain-evidence.mdmarkdown7.1 KB
shared/entity-model.mdmarkdown4.4 KB
shared/evaluation.mdmarkdown4.4 KB
shared/hierarchy-discovery.mdmarkdown4.5 KB
shared/metrics.mdmarkdown8.2 KB
shared/receipts.mdmarkdown5.9 KB
shared/source-connections.mdmarkdown1.5 KB
skill-metadata.jsonconfig851 B

adapters/salesforce.md

View on GitHub
# Salesforce adapter

Verify the Salesforce organization, API version, permissions, record types, validation rules, duplicate rules, and connection contract. Apply the safety rule before external actions.

| Area       | Check                                                                                  |
| ---------- | -------------------------------------------------------------------------------------- |
| Schema     | Required sObjects, field access, custom fields, record types, and package constraints  |
| Identity   | Keep Lead, Contact, Account, and Person Account representations separate               |
| Reads      | Complete query locators and permitted links; inaccessible records remain unknown       |
| Prevention | Both External ID and Unique for same-object uniqueness; define case behavior           |
| Aliases    | Website and Email are scalar; preserve aliases and history separately                  |
| Hierarchy  | Map the selected type to `Account.ParentId`; preserve richer types and dates elsewhere |
| Merge      | Supported native operation, master, losing records, and returned IDs                   |
| Conversion | Separate Lead conversion; prevent unintended opportunities                             |

For cleaning-only conversion, select no opportunity creation. Verify Account and Contact targets, queue ownership, and Person Account behavior. Identity does not define lifecycle policy.

Preserve master and losing-record aliases. Reconcile returned links with the permitted inventory. Report checks prevented by access limits. Restoring a Contact does not restore the master's previous state.

Use conditional writes only when the operation and connection support them. Do not extend Account ETag behavior to other objects. Keep stale-write errors as conflicts.

Keep candidate domains outside Website and ParentId until their roles are verified. Apply native-ID, field-access, and stale-write checks to warehouse records too.

Keep `MasterRecordId` history separate from duplicate labels, deletion flags, proposed targets, and `ParentId`. Verify historical losing IDs and event times. Check related masters outside the sample before declaring broken links or splitting evaluation families.

Check history fields, access, and retention. An empty history result does not prove no change. Configure approved event capture for the selected objects only. Record cursor and gap-recovery rules.

**Complete when:** each required capability is passed, failed, not run, or unsupported. Test uniqueness races, conversion, aliases, links, result IDs, conditional writes, unknown responses, and event gaps.

Official sources: [describe](https://developer.salesforce.com/docs/platform/api-rest/guide/resources-sobject-describe.html), [upsert](https://developer.salesforce.com/docs/platform/api/guide/sforce-api-calls-upsert.html), [Lead conversion](https://developer.salesforce.com/docs/platform/api/guide/sforce-api-calls-convertlead.html), [merge](https://developer.salesforce.com/docs/platform/api/guide/sforce-api-calls-merge.html), [MergeResult](https://developer.salesforce.com/docs/platform/api/guide/sforce-api-calls-merge-mergeresult.html), [Contact recovery](https://help.salesforce.com/s/articleView?id=000386067&language=en_US&type=1), [conditional requests](https://developer.salesforce.com/docs/platform/api-rest/guide/intro-rest-conditional-requests.html), [history](https://help.salesforce.com/s/articleView?id=tracking_field_history.htm&language=en_US), [CDC recovery](https://developer.salesforce.com/docs/platform/change-data-capture/guide/cdc-replication-steps.html), [event durability](https://developer.salesforce.com/docs/platform/pub-sub-api/guide/event-message-durability.html), [limits](https://developer.salesforce.com/docs/platform/api-rest/guide/resources-limits.html).
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 196kUpdated Claude CodeCodexVerifiedInstall