Fsc Data Model 标志

Fsc Data Model

组织
skillmds
fsc-data-model

Use when designing, querying, or troubleshooting the Financial Services Cloud data model — including managed-package (FinServ__ namespace) and Core FSC (standard objects, no namespace) object structures, household relationship modeling, financial account ownership, and the FSC rollup framework. Trigger keywords: FSC data model, FinancialAccount, FinancialHolding, FinancialAccountRole, FinancialAccountParty, FinServ namespace, household rollup, AssetsAndLiabilities, FinancialGoal, LifeEvent, AccountContactRelation FSC. NOT for setting up financial accounts and roles in Setup — use admin/financial-account-setup. NOT for household membership and rollup scheduling — use admin/household-model-configuration.

概览

发布者skillmds
代码仓库skillmd
技能名称fsc-data-model
星标数
249
复刻数
3
附带文件
6
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 6 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 skillmds 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Fsc Data Model AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/skillmds/skillmd/tree/main/plugins/cloud-devops/skills/fsc-data-model
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/skillmds/skillmd.git /tmp/skillmd
mkdir -p .claude/skills
cp -r /tmp/skillmd/plugins/cloud-devops/skills/fsc-data-model .claude/skills/fsc-data-model
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Fsc Data Model,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Fsc Data Model。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Fsc Data Model 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

FSC Data Model

Activate this skill when a practitioner needs to understand, design, or query the Financial Services Cloud (FSC) data model — covering the managed-package deployment with FinServ__ namespace objects and the platform-native Core FSC deployment using standard objects with no namespace. The skill covers the full object hierarchy from financial accounts through household relationships to rollup aggregation.


Before Starting

Gather this context before working on anything in this domain:

  • Deployment type: Is the org using managed-package FSC (check Setup > Installed Packages for "Financial Services Cloud" or "Salesforce Industries") or Core FSC (platform-native, standard objects, no FinServ__ prefix)? This determines every object name and SOQL query used.
  • Person Accounts: Is Person Accounts enabled? FSC relies on Person Accounts to represent individual clients. Without it, the household and client relationship model does not work as documented.
  • Rollup awareness: Practitioners assume native Salesforce roll-up summary fields aggregate financial data to household accounts. They do not. FSC uses its own async rollup engine configured in FSC Admin settings.
  • Core FSC vs managed-package cutover: Orgs that went live before Winter '23 are almost certainly on managed-package FSC. New orgs provisioned after Winter '23 should evaluate Core FSC before defaulting to managed-package.

Core Concepts

Managed-Package FSC vs. Core FSC

FSC was originally delivered as a managed package under the FinServ__ namespace. Every custom object, field, and relationship carries that prefix: FinServ__FinancialAccount__c, FinServ__FinancialHolding__c, etc. Starting with Winter '23, Salesforce began shipping a platform-native version called Core FSC. Core FSC uses standard (no-namespace) objects: FinancialAccount, FinancialHolding, FinancialGoal. Core FSC eliminates package upgrade dependencies and gives full Metadata API control, but it is a different deployment architecture that cannot be retrofitted onto an existing managed-package org without migration work.

Choosing between them:

  • New org with no existing FSC deployment → evaluate Core FSC as the default.
  • Existing org already running managed-package FSC → stay on managed-package; a data and metadata migration to Core FSC is a large project.
  • Hybrid or ISV package dependencies → managed-package may be required.

Key FSC Objects

Object (managed-package)Object (Core FSC)Purpose
FinServ__FinancialAccount__cFinancialAccountRepresents a bank account, investment account, loan, or policy
FinServ__FinancialAccountRole__cFinancialAccountPartyLinks a Contact or Account to a FinancialAccount with an ownership/role type
FinServ__FinancialHolding__cFinancialHoldingRepresents individual securities, positions, or assets held inside a FinancialAccount
FinServ__AssetsAndLiabilities__cAssetsAndLiabilitiesStandalone asset or liability record linked to a client or household
FinServ__ContactContactRelation__cStandard ContactContactRelationPeer relationship between two contacts (e.g., spouses, dependents)
FinServ__AccountAccountRelation__cStandard AccountAccountRelationRelationship between two accounts (e.g., subsidiary, group hierarchy)
FinServ__FinancialGoal__cFinancialGoalClient financial goal with target amount, timeline, and progress tracking
FinServ__LifeEvent__cLifeEventTracks life events (retirement, marriage, home purchase) tied to a contact

Financial Account Ownership Model

Managed-package: FinServ__FinancialAccount__c has two hardcoded ownership lookups — FinServ__PrimaryOwner__c (required) and FinServ__JointOwner__c (optional). Only two owners are supported without custom workarounds.

Core FSC: The FinancialAccountParty junction object replaces the two-lookup pattern. It supports unlimited owners with named roles (Primary Owner, Joint Owner, Beneficiary, Power of Attorney, etc.). This is a significant architectural advantage for complex ownership scenarios such as trusts or investment partnerships.

Household Relationship Model

FSC models clients and households using standard Salesforce junction objects:

  • AccountContactRelation (ACR) — links a Contact (individual client) to an Account (the household). The Roles field on ACR carries the FSC-specific role (e.g., "Member", "Primary Member").
  • AccountAccountRelation — links two Accounts. Used when a household account is part of a larger financial group or when corporate account hierarchies need lateral relationships.

The household Account record is typically a Business Account with RecordType = "Household." The individual clients are Person Account records linked to the household via ACR. This is distinct from the NPSP household model, which uses a separate npe01__OOHousehold__c object or Household Account without Person Accounts.

FSC Rollup Framework

FSC aggregates financial data (total assets, total liabilities, net worth) to the household Account using its own async rollup engine — not Salesforce native roll-up summary fields. The rollup engine is configured in FSC Admin Settings under "Rollup Configuration." Key behaviors:

  • Rollups run asynchronously via a scheduled or triggered batch process.
  • Rollup values are written to fields on the household Account (e.g., FinServ__TotalAssets__c, FinServ__TotalLiabilities__c).
  • Creating or updating a financial account record does not immediately update the household total — the rollup batch must run.
  • In Core FSC, rollup configuration moves to Industries Common Resources rollup framework settings.
  • Do not create native roll-up summary fields on the Account object expecting them to aggregate FSC financial data — they have no relationship to the FSC rollup engine.

Common Patterns

Pattern: Querying a Client's Financial Portfolio

When to use: Any time you need to retrieve the financial accounts and holdings associated with a specific client contact.

How it works (managed-package):

soql
-- Get all financial accounts where a contact is primary owner
SELECT Id, Name, FinServ__FinancialAccountType__c, FinServ__Balance__c,
       FinServ__PrimaryOwner__r.Name
FROM FinServ__FinancialAccount__c
WHERE FinServ__PrimaryOwner__c = :contactId

-- Get holdings inside those accounts
SELECT Id, Name, FinServ__Shares__c, FinServ__Price__c, FinServ__FinancialAccount__r.Name
FROM FinServ__FinancialHolding__c
WHERE FinServ__FinancialAccount__r.FinServ__PrimaryOwner__c = :contactId

How it works (Core FSC):

soql
-- Get financial accounts via FinancialAccountParty junction
SELECT FinancialAccount.Id, FinancialAccount.Name, FinancialAccount.Balance,
       Role
FROM FinancialAccountParty
WHERE RelatedPerson.Id = :contactId

-- Get holdings
SELECT Id, Name, Quantity, Price, FinancialAccountId
FROM FinancialHolding
WHERE FinancialAccount.Id IN (
    SELECT FinancialAccountId FROM FinancialAccountParty WHERE RelatedPersonId = :contactId
)

Why not the alternative: Querying directly on FinancialAccount without the party junction in Core FSC misses joint owners and named roles. In managed-package, querying only PrimaryOwner__c misses joint accounts.

Pattern: Household Financial Summary via ACR

When to use: You need to display aggregated financial data for a household and all its member contacts.

How it works:

soql
-- Find all contacts in a household via AccountContactRelation
SELECT ContactId, Contact.Name, Roles
FROM AccountContactRelation
WHERE AccountId = :householdAccountId AND IsActive = TRUE

-- Read rollup values from the household Account (managed-package)
SELECT Id, Name, FinServ__TotalAssets__c, FinServ__TotalLiabilities__c,
       FinServ__NetWorth__c
FROM Account
WHERE Id = :householdAccountId

Why not the alternative: Do not aggregate financial account balances in SOQL at query time for household totals in production — this does not scale for households with many accounts. Read the pre-computed rollup fields on the Account and ensure rollup batches are scheduled.


Decision Guidance

SituationRecommended ApproachReason
New org, no existing FSC dataCore FSC (platform-native)No namespace overhead, unlimited FinancialAccountParty owners, full Metadata API control
Existing org on managed-package FSCStay on managed-packageMigration to Core FSC requires full data and metadata migration; no in-place upgrade path
Complex multi-owner accounts (trusts, partnerships)Core FSC FinancialAccountPartyManaged-package is limited to PrimaryOwner + JointOwner only
ISV or AppExchange package depends on FinServ__ objectsManaged-packageThird-party packages built against managed-package namespace; Core FSC incompatible
Household financial totals appear stale after data loadTrigger FSC rollup batch via Admin SettingsFSC rollups are async; totals do not update synchronously on record save
Need to query financial accounts across all ownersFinancialAccountParty (Core) or both owner lookups (managed)Managed-package PrimaryOwner__c alone misses joint accounts

Recommended Workflow

  1. Identify the FSC deployment type — check Setup > Installed Packages. If "Financial Services Cloud" or "Salesforce Industries" is listed as a managed package, all object names require the FinServ__ prefix. If no such package is found but FSC features are available, the org is on Core FSC.
  2. Map the relevant object graph — identify which objects are in scope: start from FinancialAccount (or FinServ__FinancialAccount__c), trace ownership via FinancialAccountParty or PrimaryOwner__c/JointOwner__c, and identify the household Account linked via AccountContactRelation.
  3. Verify rollup configuration — for any task that reads household financial totals, confirm the FSC rollup batch is scheduled and the rollup configuration covers the account types involved. Do not assume totals are current.
  4. Write namespace-correct SOQL — prefix all custom object and field API names with FinServ__ in managed-package orgs; use no prefix in Core FSC orgs. Test queries in Developer Console or Data Loader against the actual org before finalizing.
  5. Validate ownership completeness — for multi-owner scenarios, query FinancialAccountParty (Core FSC) or both PrimaryOwner__c and JointOwner__c (managed-package) to ensure all owners are captured; a query on PrimaryOwner__c alone misses joint account holders.

Review Checklist

  • Deployment type confirmed (managed-package with FinServ__ prefix vs. Core FSC standard objects)
  • All SOQL and Apex references use the correct namespace for the org type
  • Household totals are read from pre-computed rollup fields, not aggregated in SOQL
  • FSC rollup batch is scheduled and covers the relevant financial account types
  • Multi-owner scenarios use FinancialAccountParty (Core) or both lookup fields (managed-package)
  • AccountContactRelation is used for household-to-client membership, not a custom relationship object
  • FSC household model is not confused with NPSP household model

Salesforce-Specific Gotchas

  1. Native ROLLUP summary fields do not aggregate FSC financial data — Salesforce roll-up summary fields on the Account object have no knowledge of the FSC rollup engine. Adding a native ROLLUP summary field to aggregate FinServ__Balance__c values will not work because FinServ__FinancialAccount__c is not a detail of Account in the standard master-detail sense for ROLLUP purposes. FSC maintains its own batch-computed rollup fields.

  2. FinServ__ namespace is absent in Core FSC orgs — Code or queries written against managed-package FSC will fail entirely in a Core FSC org. The object FinServ__FinancialAccount__c does not exist; the equivalent is FinancialAccount. Always confirm org type before writing any FSC SOQL, Apex, or Flow references.

  3. Managed-package FinancialAccountRole limits ownership to two parties — FinServ__FinancialAccountRole__c exists in managed-package FSC but the primary and joint ownership model is enforced through lookup fields directly on FinServ__FinancialAccount__c (FinServ__PrimaryOwner__c, FinServ__JointOwner__c). Adding a third owner requires a custom junction object or workaround. Core FSC's FinancialAccountParty removes this constraint entirely.


Output Artifacts

ArtifactDescription
Object relationship mapDiagram or table of FSC objects with namespace-correct names, relationship types, and cardinality
SOQL query patternsNamespace-correct SOQL for common financial data access patterns (portfolio, household summary, ownership)
Rollup configuration checklistSteps to verify FSC rollup batch schedule and rollup configuration for household financial totals

Related Skills

  • data/person-accounts — FSC relies on Person Accounts for individual client representation; see this skill for Person Account setup and implications
  • admin/financial-account-setup — FSC Admin Settings configuration for rollups, account types, and financial account record type setup
  • architect/fsc-architecture-patterns — higher-level architecture decisions including managed-package vs. Core FSC selection, sharing model, and integration patterns

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Fsc Data Model AI 技能有什么作用?

Use when designing, querying, or troubleshooting the Financial Services Cloud data model — including managed-package (FinServ__ namespace) and Core FSC (standard objects, no namespace) object structures, household relationship modeling, financial account ownership, and the FSC rollup framework. Trigger keywords: FSC data model, FinancialAccount, FinancialHolding, FinancialAccountRole, FinancialAccountParty, FinServ namespace, household rollup, AssetsAndLiabilities, FinancialGoal, LifeEvent, AccountContactRelation FSC. NOT for setting up financial accounts and roles in Setup — use admin/fina...

为什么在 TypingMind 中使用 Fsc Data Model?

因为您只需安装一次,就能搭配任何模型使用。Fsc Data Model 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Fsc Data Model?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/skillmds/skillmd/tree/main/plugins/cloud-devops/skills/fsc-data-model。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Fsc Data Model?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Fsc Data Model 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Fsc Data Model 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Fsc Data Model AI 技能免费吗?

是的。skillmds 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇