本文へ移動
cccskills
無料GitHub で公開

agent-deployment-checklist

Canonical go-live checklist for Agentforce deployments with rehearsed rollback and stakeholder sign-off records. NOT for the technical pre-prod verification behind those sign-off rows — cost telemetry, rate limits, canary rollout, latency benchmarks — use agentforce/agentforce-production-readiness-checklist. NOT for general Salesforce release management — use devops/release-management.

インストール方法を見る

含まれるファイル(7)

  • SKILL.md6.7 KB
  • references/examples.md14.0 KB
  • references/gotchas.md10.0 KB
  • references/llm-anti-patterns.md9.1 KB
  • references/well-architected.md9.1 KB
  • scripts/check_agent_deployment_checklist.py943 B
  • templates/agent-deployment-checklist-template.md554 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Agent Deployment Checklist

A single checklist is the artifact that prevents post-deployment incidents. Organized into five blocks: functional tests green, adversarial tests green, observability live, rollback rehearsed, stakeholders signed-off.

Adoption Signals

Every production activation; every material config change (new Invocable, new channel, new persona). Use this skill any time someone asks whether the agent is ready for production.

  • Required for any change that adds a new tool to the agent's toolbox or expands record-access scope.
  • Run before enabling a new channel (Service Cloud, Slack, Experience Cloud) — channel context changes the prompt-injection threat model.

What Makes Agent Deployment Different

Three platform behaviours, none of which apply to an ordinary Salesforce release, and all of which are documented in Retrieve and Deploy Agent Metadata:

  1. A committed agent cannot be edited. "You can't edit a committed agent. Instead, create and edit a new version." There is no quick-fix path — a hotfix costs a full release cycle, so plan the incident response accordingly.
  2. Two version counters must be paired by hand. Saves increment AiAuthoringBundle; commits increment Bot/BotVersion. If you save more than you commit they diverge and you must specify both numbers explicitly.
  3. Observability is not retroactive. Session Tracing records only conversations occurring after the data model is set up, so it is a pre-activation prerequisite rather than an incident response.

Also: the manifest needs API version 66.0 or later for GenAiPlannerBundle and the new agent metadata types — sourced from The New Agentforce Metadata and Development Lifecycle, not from the Retrieve and Deploy Agent Metadata guide page cited above, whose own example shows <version>65.0</version>. Wildcards on ApexClass/Flows/ GenAiPromptTemplates cause deploy timeouts, deploying a lone BotVersion requires the full agent to be present already, and retrieved agent metadata must not be hand-edited.

Recommended Workflow

  1. Functional. sf agent test run --wait green on the routing, golden, and adversarial AiEvaluationDefinition suites. Record the run id on the activation record.
  2. Security. Adversarial suite green; PII classification register reviewed against the channel set this activation covers. A channel is part of the approved condition, not a later configuration tweak.
  3. Runtime user. Verify the agent user in the target org for Apex class access, object CRUD, field-level access, Flow and Named Credential access, record sharing, and the Data Cloud User permission set. Confirm by invoking each action once as that user — the only check that covers CRUD, FLS, and sharing together. This is the most common cause of "deploy succeeded, agent broken."
  4. Observability. Session Tracing and the Session Tracing Data Model enabled before activation, proven with synthetic traffic that appears in the trace data. Alert rules fired at least once and receipt confirmed by the on-call person.
  5. Rollback. Rehearsed in a Partial or Full sandbox with a recorded refresh age. Capture the measured duration and the inventory of what did not revert — Apex, custom fields, and activated prompt templates stay at the new version.
  6. Sign-off. Business owner, security, and SRE lookups populated on Agent_Activation__c, with a validation rule that blocks save when any gate result is null.

Key Considerations

  • The checklist is enforced by a validation rule on the activation record, not by a document. A checklist that cannot block is a memory aid, and memory aids fail under exactly the pressure that makes the rows matter.
  • Rollback reverts the agent and nothing that shipped with it. Prefer additive action changes so the rollback surface stays one artefact wide.
  • Retaining the prior version is the rollback plan, because a committed version cannot be edited. Retire old versions on a date, not on instinct.
  • Sign-off must be queryable, immutable, and linked to a specific version. Chat is none of the three.

Worked Examples (see references/examples.md)

  • Rollback rehearsal — Agent v2 activation.
  • Stakeholder sign-off record — Quarterly audit.

Common Gotchas (see references/gotchas.md)

  • Staging differs from prod — Rehearsal green, prod rollback fails.
  • Alert rules not enabled until after go-live — First incident is observed by a customer.
  • Sign-off via Slack, no record — Post-mortem cannot reconstruct the decision chain.

Top LLM Anti-Patterns (full list in references/llm-anti-patterns.md)

  • Verbal sign-offs.
  • Skipping rollback rehearsal because 'the change is small'.
  • Dashboards deployed post-activation.

Official Sources Used

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use this skill when writing test-first, behavior-driven acceptance criteria in Given/When/Then format for a Salesforce user story. Covers happy path, edge cases, negative paths, permission boundaries, and data-state preconditions so the AC block can drive UAT scripts and Apex test design downstream. Trigger keywords: given when then, gherkin, behavior driven AC, test first acceptance criteria, scenario outline, BDD acceptance criteria. NOT for the user-story format itself (use admin/user-story-writing-for-salesforce). NOT for UAT script writing (use admin/uat-test-case-design). NOT for Apex test method generation (use agents/test-class-generator). NOT for high-level UAT planning (use admin/uat-and-acceptance-criteria). More triggers: acceptance criteria record, ac_id, req_id on a criterion, artefact under test, negative case for a rule-type requirement, no-match fall-through criterion, oracle for a Then clause, test type apex flow manual, criteria linter, check_ac_format.py, --manifest-dir.

日本語の概要は準備中です。原文の説明を表示しています。

PranavNagrecha/AwesomeSalesforceSkills192026年10月4日 更新

Task and Event objects: polymorphic WhatId/WhoId, Activity object model, ActivityHistory vs OpenActivity, activity timeline customization, bulk task creation, Einstein Activity Capture boundaries. NOT for turning on EAC or calendar sync — use admin/einstein-activity-capture-setup. NOT for Email-to-Case — use admin/case-management-setup. Covers ActivitiesSettings metadata, enableActivities, shared Task/Event custom fields and FLS, TaskStatus value sets, Shared Activities and TaskRelation/EventRelation, recurring and child activities, and partial-success bulk DML on Task.

日本語の概要は準備中です。原文の説明を表示しています。

PranavNagrecha/AwesomeSalesforceSkills192026年10月4日 更新

Design Invocable Apex actions that return deterministic, agent-friendly errors instead of surfacing raw exceptions to the LLM. NOT for authoring the action itself — @InvocableMethod schema, labels, security context — use agentforce/custom-agent-actions-apex. NOT for the Apex tests that force each error branch — use agentforce/agent-action-unit-tests.

日本語の概要は準備中です。原文の説明を表示しています。

PranavNagrecha/AwesomeSalesforceSkills192026年10月4日 更新

Use when designing how an Agentforce agent extracts structured input parameters (slots) from a user's natural-language utterance to invoke an action. Triggers: 'agent extract date from user', 'agent action argument extraction', 'agentforce slot filling', 'agent invocable input mapping', 'agent fails to fill required parameter'. NOT for action authoring (use agentforce/agent-actions) or for prompt-template variable binding (use agentforce/prompt-builder-templates).

日本語の概要は準備中です。原文の説明を表示しています。

PranavNagrecha/AwesomeSalesforceSkills192026年10月4日 更新

Apex test patterns for @InvocableMethod agent actions: per-reason-code branch coverage, bulk safety, callout mocking, deterministic assertions. NOT for testing whether the agent routes to the right topic or answers well — use agentforce/agent-testing-and-evaluation. NOT for designing the error envelope the tests assert on — use agentforce/agent-action-error-handling.

日本語の概要は準備中です。原文の説明を表示しています。

PranavNagrecha/AwesomeSalesforceSkills192026年10月4日 更新

Designing or reviewing Agentforce actions: Flow actions, Apex invocable actions, prompt-template actions, action naming, input and output contracts, confirmation requirements, and safe error behavior. Triggers: 'agent actions', 'build an agent that can look up an order', 'make the agent able to check order status', 'give the agent a capability', 'agent that can retrieve a record', 'flow action for agent', 'agent invocable action', 'action schema design'. NOT for writing the Apex class itself — use agentforce/custom-agent-actions-apex. NOT for the reason_code error envelope that stops an agent retry loop — use agentforce/agent-action-error-handling.

日本語の概要は準備中です。原文の説明を表示しています。

PranavNagrecha/AwesomeSalesforceSkills192026年10月4日 更新

PranavNagrecha のスキルをすべて見る

このスキルの問題を報告する