Skip to content

forcedotcom/sf-skills / skills/consumer-goods-promotion-bo-api-deploy

consumer-goods-promotion-bo-api-deploy

Verified

Use to enable the Consumer Goods Cloud TPM Promotion Business Object (BO) API framework in a Salesforce org, interview the user for the custom Workflow Step they want to add, generate and deploy that Apex class, wire it into the create/update/copy workflows, and prove it end-to-end via headless REST ingest. Ships a worked reference example (SetCommentValue) but the customization is user-supplied per org. Triggers on "deploy the promotion BO API", "set up promotion BO API", "headless promotion create", "add a BO API workflow step".

assets/set-comment-value/README.md

View on GitHub
# preset: `set-comment-value`

Worked reference example for the `consumer-goods-promotion-bo-api-deploy` skill. The
skill's default flow interviews the user for the customization; this
preset short-circuits the interview with a pre-canned answer set.

Invoke with:

```text
--preset set-comment-value
```

or, during the interview, tell the skill "use the SetCommentValue
reference".

## What it does

Copies the top-level `Comment` value from a tactic ingest payload onto
`Tactic__c.Comment__c` on the resulting Tactic record. Wired into all
three workflows (`create`, `update`, `copy`).

## Files

- `interview-answers.json` — Phase 5 interview answers the skill loads
  when this preset is chosen. Also a starting template for customers who
  want to hand-edit before running `--interview-file`.
- `SetCommentValue.cls` + `.cls-meta.xml` — the class the skill deploys.
  Namespace-agnostic: the tactic-namespace prefix is derived from
  `SObject.getSObjectType()` at runtime.
- `payloads/create.json`, `update.json`, `copy.json` — Phase 6 smoke-test
  fixtures with `REPLACED-AT-RUNTIME` markers for the ids captured
  during the run.
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall