Analytics Requirements Gathering 标志

Analytics Requirements Gathering

社区
PranavNagrecha
analytics-requirements-gathering

Use this skill to elicit, document, and validate CRM Analytics requirements — covering data source mapping (Salesforce object sync vs external connector vs Data Cloud), transformation needs, audience-specific lens or dashboard views, and drill-down path specifications — before any dataset or dashboard is built. Trigger keywords: CRM Analytics requirements, analytics data source mapping, CRM Analytics audience requirements, analytics visualization requirements. NOT for the formula and target behind each KPI — use admin/analytics-kpi-definition. NOT for building the dashboard once requirements are agreed — use admin/analytics-dashboard-design.

概览

发布者PranavNagrecha
代码仓库AwesomeSalesforceSkills
技能名称analytics-requirements-gathering
星标数
26
复刻数
5
附带文件
7
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 7 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/analytics-requirements-gathering .claude/skills/analytics-requirements-gathering
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Analytics Requirements Gathering。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Analytics Requirements Gathering

This skill activates when a practitioner needs to gather, document, and validate CRM Analytics requirements before any dataset, dataflow, or dashboard is built. It produces a requirements package: data source inventory, audience matrix, transformation requirements, refresh budget, and drill-down specifications. The analytics developer uses it as the authoritative spec.


Before Starting

Gather this context before working on anything in this domain:

  • Decide first whether stakeholders need CRM Analytics or standard Reports and Dashboards. CRM Analytics fits cross-object aggregation, external data, predictive insight, and multi-audience row-level security. For single-object reporting with no external data, standard Reports are the cheaper choice.
  • Confirm the org's CRM Analytics platform license. The Analytics Platform Setup Guide states several limits per license (for example, concurrent dataflow runs differ between CRM Analytics Plus and CRM Analytics Growth), so the license shapes the refresh plan, not only the price.
  • Synced Salesforce objects land as connected objects. The CRM Analytics REST API guide states that connected objects "can't be visualized directly"; a recipe or dataflow must build a dataset from them.
  • Capture the source type of every input (Salesforce local sync, external connection, Data Cloud, CSV upload). The type decides the extraction path, the limits that apply, and whether a recipe or dataflow is needed.

Questions to Ask Before Configuring

Ask these before anyone designs a dataset. Each one traces to a gotcha in references/gotchas.md.

QuestionWhy it mattersWhat a good answer addsWhat proper configuration adds over just doing it
"Which questions must the analytics answer, and could a standard report answer them?"CRM Analytics costs licenses and build effort; some needs fit ReportsA documented platform decision with its reasonNo dashboard built on a license the need did not justify
"Who may see which rows, and is that the same as their Salesforce record access?"A dataset without row-level security shows every row to anyone with dataset access (gotcha 3)An audience matrix with a predicate or sharing-inheritance choice per roleRow-level security designed before the first dataset exists, not retrofitted
"How fresh must each source be, and what other dataflows and recipes already run?"Dataflow and recipe runs share a 60-run rolling 24-hour limit (gotcha 5)A refresh cadence per source that fits the run budgetSchedules that keep running instead of being refused at the daily limit
"Which exact fields does each source need, including fields that hold sensitive data?"The Integration User extracts data; a job fails on fields it cannot read (gotcha 2)A field list checked against the Integration User's accessA first run that succeeds, and sensitive fields excluded on purpose
"Do predicates need custom User fields such as region or territory?"The Security User must be able to read every User field a predicate references (gotcha 6)The User fields named in the requirementPredicates that query without errors on day one
"Is any source outside this Salesforce org (another org, a warehouse, Data Cloud)?"External and output connections count against org limits differently from the local connection (gotcha 7)A source-type column in the data source matrixA refresh plan that does not surprise the integration team

What a proper requirements package adds over "just building a dashboard": a platform decision that can be defended, a row-level security model per audience, and a refresh plan that fits the org's run limits.


Core Concepts

Data Source Types

Source typeSetupGrounding
Salesforce local syncData sync loads source objects as connected objects; a recipe or dataflow builds the datasetREST guide: connected objects "can't be visualized directly"
External connectionConnector and credentials; data synced as connected objects, then prepared by a recipeREST guide, Replicated Dataset resources
Data CloudUNVERIFIED (2026-10-03): direct query of Data Cloud objects without a dataset, and its SAQL limits, are help-only claims not re-read in this passNone in fetched guides
CSV uploadCreates a dataset directly; upload with metadata for row-level securitySecurity guide: predicate in the external data metadata file

Requirements must name the type of every source. The implementation path differs per type.

Audience-Specific Views

CRM Analytics separates two access layers, and requirements must state both:

LayerWhat it controlsHow it is configured
App sharingWho can open the app and its dashboards and datasetsWaveApplication shares with View, EditAllContents, or Manage access to users, groups, or roles
Row-level securityWhich rows each user sees in a datasetA security predicate on the dataset, or sharing inheritance from Salesforce objects

Sharing inheritance increases sync, job, and query time, and the more complex the sharing settings, the larger the impact (Analytics Security Implementation Guide).

Transformation Requirements

Raw object data usually needs work before it is useful:

  • field renames for consistent naming across datasets
  • computed fields (revenue tiers, fiscal period labels, region groupings)
  • dataset joins, with the join type stated (keep every primary row, or only matches)
  • date dimension derivations (fiscal year and quarter from CloseDate)

Requirements must specify each transformation. The developer cannot infer them from field names.


Common Patterns

Pattern: Data Source Mapping Matrix

When to use: At the start of every CRM Analytics requirements engagement.

How it works:

  1. List every data source the analytics needs.
  2. For each source record the type, the connection, the fields needed, and the refresh cadence.
  3. For Salesforce objects list fields, not just objects; extra fields lengthen sync and recipe runs.
  4. For external sources confirm the connector and credentials exist or are in scope.

Pattern: Audience Matrix

When to use: More than one role will use the analytics and they should see different rows or layouts.

How it works:

  1. List every role or persona.
  2. For each role record which rows they may see (own records, team, territory, all).
  3. Record whether they need a different dashboard layout or the same dashboard filtered.
  4. Name the mechanism per role: security predicate, sharing inheritance, or app sharing only.

The worked artifact, an audience matrix turned into deployable app sharing and a dataset predicate, is in references/metadata-examples.md.


Decision Guidance

SituationRecommended ApproachReason
Single-object reporting with filters and groupingStandard Reports and DashboardsNo CRM Analytics license required
Cross-object aggregation (Opportunity, Account, Activity)CRM AnalyticsRecipes join datasets and persist the result
Predictive scoring or trend analysisCRM Analytics with Einstein DiscoveryPredictive features need the CRM Analytics license
Data from an external warehouseCRM Analytics external connectionExternal data cannot feed standard Reports
Different rows for VP and individual repSecurity predicate or sharing inheritance on the datasetApp sharing alone controls access to the app, not rows
Frequent refresh on many sourcesPlan the run budget first60 dataflow and recipe runs per rolling 24 hours, shared

Recommended Workflow

  1. Qualify the platform decision. Decide CRM Analytics or standard Reports, write the reason down, and confirm the CRM Analytics license.
  2. List the reporting questions. Every dataset and dashboard must trace to a question.
  3. Build the data source matrix. For each question identify the source, its type, the exact fields, and the refresh cadence. Check the fields against the Integration User's access.
  4. Document transformations. Joins with their type, computed fields, date derivations, and renames.
  5. Build the audience matrix. Roles, the rows each may see, the predicate or sharing-inheritance choice, and any custom User fields the predicates need.
  6. Budget the refreshes. Count every scheduled dataflow and recipe that runs longer than two minutes against the 60-run rolling 24-hour limit.
  7. Review with stakeholders and the developer. Confirm the package is complete and buildable, then hand off with references/metadata-examples.md as the configuration target.

Review Checklist

  • CRM Analytics vs standard Reports decision documented with rationale
  • CRM Analytics license confirmed
  • Every data source has a type (local sync / external / Data Cloud / CSV)
  • Field-level requirements per source, checked against the Integration User
  • Transformation requirements specified (joins with type, computed fields, date dimensions)
  • Audience matrix complete with a row-level security mechanism per role
  • Custom User fields used in predicates listed for the Security User
  • Refresh cadence per source fits the 60-run daily budget
  • Drill-down paths documented for each summary visualization

Salesforce-Specific Gotchas

The deep versions, with sources, live in references/gotchas.md.

#GotchaOne-line consequence
1Connected objects can't be visualized directlyA requirement that stops at "sync Opportunity" has no dataset
2The Integration User decides what can be extractedJobs fail on unreadable fields
3No predicate means every row for everyone with accessA shared dashboard leaks rows
4Sharing inheritance costs job and query timeHeavy sharing slows every refresh
560 dataflow and recipe runs per rolling 24 hoursAggressive cadences block other jobs
6The Security User must read predicate User fieldsQueries error when a custom User field is unreadable
7External and output connections count against org limitsIntegration budgets are hit unexpectedly

Output Artifacts

ArtifactDescription
CRM Analytics requirements documentQuestions, data source inventory, transformations, audience matrix, drill-down paths
Data source mapping matrixPer-source type, connection, fields, refresh cadence
Audience matrixRoles mapped to app sharing and row-level security
Refresh budgetScheduled jobs counted against the 60-run daily limit
CRM Analytics vs Reports decision recordDecision with rationale and license confirmation

Related Skills

  • admin/analytics-kpi-definition: define KPI formulas and targets after requirements are gathered
  • admin/saql-query-development: downstream implementation using this document
  • admin/requirements-gathering-for-sf: general Salesforce requirements gathering companion
  • admin/analytics-recipe-design: turns the transformation requirements into a recipe

附带文件

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

常见问题

Analytics Requirements Gathering AI 技能有什么作用?

Use this skill to elicit, document, and validate CRM Analytics requirements — covering data source mapping (Salesforce object sync vs external connector vs Data Cloud), transformation needs, audience-specific lens or dashboard views, and drill-down path specifications — before any dataset or dashboard is built. Trigger keywords: CRM Analytics requirements, analytics data source mapping, CRM Analytics audience requirements, analytics visualization requirements. NOT for the formula and target behind each KPI — use admin/analytics-kpi-definition. NOT for building the dashboard once requirement...

为什么在 TypingMind 中使用 Analytics Requirements Gathering?

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

如何在 TypingMind 中安装 Analytics Requirements Gathering?

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

哪些 AI 模型可以使用 Analytics Requirements Gathering?

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

Analytics Requirements Gathering 可以搭配多少个 AI 模型使用?

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

Analytics Requirements Gathering AI 技能免费吗?

PranavNagrecha 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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