Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

platform-data-and-tooling-api-context-get

БесплатноБез исполняемых скриптовНе проверен

Authoritative field/schema reference for 2161 STANDARD Salesforce objects, including Tooling API records. Use to verify exact field names, types…

forcedotcomот forcedotcom★ 1 200 звёзд на GitHub

Об этом скилле

Salesforce Data + Tooling API Skill

This skill provides field-level reference for 2161 standard Salesforce objects across two runtime API surfaces: the Enterprise/Data API (standard sObjects you query with SOQL and modify with DML) and the Tooling API (developer/metadata-adjacent records like ApexClass, ApexCodeCoverage, TraceFlag, and EntityDefinition).

Use it to look up authoritative field names, types, and properties before writing SOQL/SOSL, building DML, or reading records at runtime — so queries and writes don't fail with INVALID_FIELD / "No such column" errors.

Standard objects only. These assets cover standard sObjects and Tooling records. Custom __c objects, and custom __c fields on standard objects, are not in this corpus — they don't exist as static docs pages. For those, describe the live org instead (sf sobject describe --sobject <Name>).

Overview

Each object is documented as a JSON file with:

  • Field definitions: name, type, and properties (Createable, Filterable, Groupable, Nillable, Sortable, Updateable)
  • Relationship metadata (relationship name, referenced object, relationship type) for enterprise sObjects
  • Supported SOAP calls and REST HTTP methods for Tooling records
  • WSDL schema segment
  • Usage notes and associated objects (enterprise sObjects)

This skill is for runtime data, not deployment. For authoring *-meta.xml source files (CustomObject, Flow, Profile, ...) use the Metadata API skill (platform-metadata-api-context-get). The two are companions, not substitutes.

How to Use This Skill

Query authoring and reference handoff

Before authoring SOQL/SOSL, also invoke platform-soql-query; query syntax and object facts need both skills. For Tooling tasks, activate this reference and read supported calls/limitations, not the retired MCP or web docs. Object limitations override field flags. Offline templates need both skills too; never execute placeholder Ids.

CRITICAL: Field-Existence Gate (do this BEFORE answering)

NEVER answer a field question — "does field X exist?", "is X filterable/sortable/groupable?", "what's X's API name/type?" — from memory or training data. This includes obvious system fields like Id, Name, CreatedDate, LastModifiedDate, OwnerId, IsDeleted. ALWAYS run the lookup first. You know these fields from training, but this skill exists precisely because your recollection of their properties (Filter/Sort/Group) and of which catalog documents them is unreliable. Confidence is not verification.

Run ONE atomic command that checks BOTH catalogs at once (a field can live in fields, in field_reference, or neither — see the dual-catalog note below):

jq '{fields: .fields["<FieldName>"], field_reference: .field_reference["<FieldName>"]}' assets/enterprise_api/<Object>.json
# e.g. checking CreatedDate on Account:
jq '{fields: .fields["CreatedDate"], field_reference: .field_reference["CreatedDate"]}' assets/enterprise_api/Account.json

Interpret the result: found in fields → use its properties for capability answers. Found only in field_reference → it exists, but Filter/Sort/Group cannot be determined from this skill (that catalog carries no property flags). null in both → not in this corpus (may still be a real live-org/custom field — describe the org).

MANDATORY VERIFICATION GATE. Before you state any field fact, you MUST first print this line verbatim in your reply to the user (like the metadata skill's status line):

field_lookup: object=<Object> field=<FieldName> checked_fields=<yes|no> checked_field_reference=<yes|no> result=<in_fields|in_field_reference|not_found>

If you cannot print this line truthfully with both checks = yes, you have not done the lookup — stop and run the jq command. Do not fabricate a citation like "based on the skill's data" without having run it.

This gate line is a self-verification marker for your conversational response only — do NOT write it into files you generate for the user (.soql, .md, .json, query comment headers, etc.). Deliverables should contain just the answer/query the user asked for; keep the field_lookup: line out of them.

CRITICAL: Section-Specific Consumption

ALWAYS consume only the specific sections you need from JSON files, NOT entire files.

For assets/enterprise_api/*.json and assets/tooling_api/*.json files, always use jq or programmatic JSON parsing to extract only the sections you need. Do not load these files whole via Read, cat, or read_file — they contain verbose wsdl_segment and field_reference sections that waste 60-80% of tokens on large sObjects like Account.

Each JSON file contains multiple sections. Most use cases only need 1-2:

  • For query/DML field lists: load only the fields section
  • For relationship traversal: load fields (the relationship_name / refers_to columns are inline)
  • **For Tooling
Полный SKILL.md на GitHub

Установить platform-data-and-tooling-api-context-get в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdassets/enterprise_api/AIApplication.jsonassets/enterprise_api/AIApplicationConfig.jsonassets/enterprise_api/AIInsightAction.jsonassets/enterprise_api/AIInsightFeedback.jsonassets/enterprise_api/AIInsightReason.jsonassets/enterprise_api/AIInsightValue.jsonassets/enterprise_api/AIRecordInsight.jsonassets/enterprise_api/AIResearchPromptResult.jsonassets/enterprise_api/API_Total_Usage.jsonassets/enterprise_api/AbnExperiment.jsonassets/enterprise_api/AbnExperimentCohort.jsonassets/enterprise_api/AcceptedEventRelation.jsonassets/enterprise_api/Account.jsonassets/enterprise_api/AccountBrand.jsonassets/enterprise_api/AccountCleanInfo.jsonassets/enterprise_api/AccountContactRelation.jsonassets/enterprise_api/AccountContactRole.jsonassets/enterprise_api/AccountInsight.jsonassets/enterprise_api/AccountOwnerSharingRule.jsonassets/enterprise_api/AccountPartner.jsonassets/enterprise_api/AccountPlan.jsonassets/enterprise_api/AccountPlanObjMeasCalcCond.jsonassets/enterprise_api/AccountPlanObjMeasCalcDef.jsonassets/enterprise_api/AccountPlanObjMeasCalcDefLocalization.jsonassets/enterprise_api/AccountPlanObjMeasRela.jsonassets/enterprise_api/AccountPlanObjective.jsonassets/enterprise_api/AccountPlanObjectiveMeasure.jsonassets/enterprise_api/AccountProspectingAgentResearch.jsonassets/enterprise_api/AccountRelationship.jsonassets/enterprise_api/AccountRelationshipShareRule.jsonassets/enterprise_api/AccountShare.jsonassets/enterprise_api/AccountTag.jsonassets/enterprise_api/AccountTeamMember.jsonassets/enterprise_api/AccountTerritoryAssignmentRule.jsonassets/enterprise_api/AccountTerritoryAssignmentRuleItem.jsonassets/enterprise_api/AccountTerritorySharingRule.jsonassets/enterprise_api/AccountUserTerritory2View.jsonassets/enterprise_api/ActionCadence.jsonassets/enterprise_api/ActionCadenceRule.json

FAQ

Что делает скилл platform-data-and-tooling-api-context-get?

Authoritative field/schema reference for 2161 STANDARD Salesforce objects, including Tooling API records. Use to verify exact field names, types, relationships, Filter/Sort/Group/Create/Update properties, supported calls and query limitations before SOQL/SOSL or DML. Covers Account, Contact, Opportunity, TraceFlag/DebugLevel debug logging and MetadataComponentDependency dependency checks before deletion. Load alongside platform-soql-query for query authoring; use this reference even for offline templates or fictional Ids. Not query syntax/optimization alone. Custom __c objects/fields require live describe. Not authoring/deploying *-meta.xml (use platform-metadata-api-context-get).

Как установить скилл platform-data-and-tooling-api-context-get?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл platform-data-and-tooling-api-context-get запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить platform-data-and-tooling-api-context-get с