/sf-industries-misc:nonprofit-volunteer-management-records-createfrom sf-industries-misc
Creates Salesforce Nonprofit Cloud Volunteer Management records (Volunteer Initiative, Locations, Positions, Job Positions, qualifications, shifts) in an org. Reuses existing records by Id, asks for missing values, shows tables for approval, inserts in dependency order, and reports created Ids.
Ships in sf-industries-misc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill writes Volunteer Management records to an org: a Volunteer Initiative and the Locations, Positions, Job Positions, qualifications and Job Position Shifts under it. It checks the org for records it can reuse, fills each field from references/field-guide.md, shows the user one records table per object, and writes that object only after the user confirms its table. Open every run by telling the user that this skill reads and writes their org, and that nothing is read or written without their yes.
Org calls go through the connection the session has: the headless-360 tools (dispatch_readonly for reads, dispatch for writes) or an authenticated Salesforce CLI. Both return the same results at API v67.0. Tell the user which one is in use. If neither is connected, stop and ask the user to connect one; never guess an org result. The exact call for each step, in both forms, is in references/mcp-invocation.md.
nonprofit-volunteer-management-structure-generate); explaining what an object or field means (nonprofit-volunteer-management-model-get); turning Volunteer Management on; any per-person record — volunteer sign-ups and assignments, a volunteer's availability, a person's qualifications, marking a person as a volunteer, the person or household itself. The full list is in references/field-guide.md "Out of scope".Reuse-check: line. Standalone: ask the user what to create.references/field-guide.md is the authority for every standard field: API name, required flag, tier, default and must-ask rules. Ask for each outstanding input from the plan when its object comes up.Upcoming on a new Volunteer Initiative, Position, Job Position and Job Position Shift — offer Status's live values, and if none fits, offer to add one (step 6). Every other default is in the field guide. Location Type has no default and is always asked.Open and pick the mode. Give the opening notice above. Chained: work from the handed-off plan and don't re-interview. Standalone: gather the records from the user.
Ask for the read consent, once. Say what you'll read and why: the Volunteer Management check, the reuse checks, the existing-shift check, and the object descriptions used for required custom fields and live picklist values. Declining means existing records can't be checked, so duplicates may be created, and required custom fields surface only as write errors. If declined, proceed from the plan without reading: every record not already marked Reuse is New, and picklist values are the user's; one the org doesn't accept surfaces as a write error.
Check that Volunteer Management is on, once, after the user agrees to the org read (calls in references/mcp-invocation.md):
VolunteerManagementEnabled. true → on. false or 404 → off: stop and tell the user an admin turns it on in Setup → Volunteer Management Settings. 403 → the user has no access to org settings: stop and say so.VolunteerInitiative. 200 → the user can see the Volunteer Management objects. Any error → stop and tell the user they need the Manage Volunteer Data permission set. Don't look up permission-set assignments beforehand.Reuse checks, by the plan's Reuse-check: line.
RESOLVED → the plan's Reuse/New mapping is authoritative. Use its reused Ids as-is and don't re-run the reuse checks.DECLINED → run the reuse checks for every record the plan marks New.One bounded query per object, filtered to the planned names (never the whole object). Match a Job Position on Name + Volunteer Initiative, Operating Hours on Time Zone + its set of Time Slot windows (never the name), everything else on Name. Escape an apostrophe in a name with a backslash (O\'Brien); doubling it fails. Query only fields the field guide documents. For a reused Location, read its Visitor Address: if it has one, don't create another.
Existing-shift check — on every plan, including RESOLVED. For each Job Position that is reused, query its shifts by that Job Position's Id and the series' date range; never by name or Position. If N of the M planned shifts already exist, stop and ask: "N of M shifts already exist (dates X–Y). Create only the missing ones, create all M (duplicates), or cancel?" On "only the missing ones", pass the existing shifts to scripts/expand-series.py as excludeExisting. A new Job Position has no shifts to check.
Read the object descriptions for each object you'll write: find required custom fields (custom, createable, not nillable, not defaulted on create) and the live picklist values. Never describe an object to learn its standard fields — the field guide is the source for those — but when a description is in hand and differs from the field guide (a renamed label, a picklist value), the description wins. A required custom field becomes a needs-input column on that object's table.
references/mcp-invocation.md). Use it only once a fresh describe lists it; a value that isn't in the list yet is rejected on write.Summarize, then review one object at a time. Lead with the insert summary in references/review-format.md: what will be written, Reuse ("Name · object") and New counts per object, how the records fit together, and the write order. Ask the fill mode: prefill everything, or generate together. Then, for each object in write order, show its field guide and its records table. Render every records table with scripts/render-review-table.py, never by hand — it keeps every value under its own column. Invite edits and re-render. Confirming an object's table is the yes to write it; there is no second confirm.
Write each confirmed object, parents first. Order: Volunteer Initiative (parents, then child initiatives) → Location → its Address → back-fill the Location's Visitor Address → Competency / Examination → Position → Position Qualification → Job Position → Job Position Qualification → Operating Hours → Time Slot (only on request) → Job Position Shift. Skip objects the plan doesn't use.
@refId reference works only inside the same call.scripts/expand-series.py spec from the plan's schedule details — days and windows (windowsByDay when windows differ by day), start date, end date or count, time zone, volunteers per shift, the confirmed Status, and excludeExisting from step 5. A monthly or irregular schedule goes in as oneOffDates with the dates the user confirms. Tell the user the series ends there; later shifts are added in a later run.Recover from errors. Show the error, propose a fix grounded in the error message and the object description, and re-send only the records that weren't created. If a write fails part-way, say which records exist and which don't; never undo.
Final report. One table of every record this run wrote or reused (object, name, Id, Reuse or New) and the planned-versus-written count, in the layout in references/review-format.md. For a shift series, state the dates it covers.
| Constraint | Rationale |
|---|---|
| One read consent; one write consent per object, given on that object's records table | Approving a read is not approval to write. A partial decline is treated as declined. |
| Reuse existing records; never duplicate | Every planned record gets a reuse decision before it's written; shifts of a reused Job Position are checked on every run. |
| Every org query is bounded to the plan | Filter on the planned names; never read a whole object. The query is a duplicate check, not a listing. |
| Never write tier 4 or 5 fields | They are system-managed, auto-numbered, formulas or owned by another feature; writing them errors or is overwritten. |
| Never create a Recurrence Schedule | Volunteer Management's own recurrence feature owns it; this skill writes one Job Position Shift per occurrence. |
| Every shift series has an end date or a count | Each shift is its own record; an open-ended series would never stop. |
| Operating Hours and Time Slots only when the user asks | Nothing links them to a Location or Job Position; they are used only for volunteer availability matching. |
| Never build a series or a records table by hand | scripts/expand-series.py and scripts/render-review-table.py are reviewed and tested; hand-built dates and tables shift values. |
| Show names, not Ids or API names, before the final report | The user reviews records in plain language; Ids appear only in the final report. |
| Issue | What to do |
|---|---|
| Location and Address point at each other | Write the Location, then the Address with its Parent set to the Location, then update the Location's Visitor Address. |
| Operating Hours and Time Slots | Write the Operating Hours first, then its Time Slots in a second call with the literal Id. |
| Child Volunteer Initiative in the same call as its parent | A self-reference fails with MALFORMED_ID; write parents first, then children with the literal parent Id. |
| Job Position Shift dates and times | Separate StartDate, EndDate, StartTime, EndTime and TimeZone fields; there is no combined date-time field. |
| Qualifications | Matching uses QualificationLevel on Competency qualifications. A Job Position's own qualifications and its Position's qualifications are checked together, keeping the higher level per Competency. Nothing is copied from the Position to the Job Position. |
| Shift capacity | Counted, never enforced: nothing blocks a signup when a shift is full. |
| A required field the description didn't show (a validation rule) | It surfaces as a write error; handle it in step 9. |
references/review-format.md: one field guide and one records table per object, one row per record (a shift series is one row; past 10 series, one row per shared schedule), and say each point once. Don't restate a table in prose, add sections the layout doesn't have, or show a write payload per record; if the user asks to see the payload, show one representative example per object.| When | Do |
|---|---|
| The user doesn't know what to build | Defer to nonprofit-volunteer-management-structure-generate; it produces the plan this skill writes. |
| The user asks what an object or field means | Defer to nonprofit-volunteer-management-model-get. |
| Chained from structure-generate | Work from the handed-off plan. Handle its Reuse-check: line as in step 4, and run the existing-shift check in step 5 regardless. |
| File | When to read |
|---|---|
references/mcp-invocation.md | Steps 3–6, 8 — the exact read and write calls for headless-360 and the Salesforce CLI, the Volunteer Management check, apostrophe escaping, adding a picklist value. |
references/field-guide.md | Steps 4, 6–8 — every object's fields, API names, tiers, defaults, must-ask rules and limits. |
references/review-format.md | Steps 7 and 10 — the insert summary, the per-object review, the origin tags and the final report. |
scripts/render-review-table.py | Step 7 — renders each records table from JSON (field → value + origin tag). Spec in its docstring. Tests: scripts/tests/test_render_review_table.py. |
scripts/expand-series.py | Step 8 — expands a shift or time-slot series into tree-call records: weekly windows or per-day windows, date ranges, one-off dates, excludeDates, count, excludeExisting. Spec in its docstring. Tests: scripts/tests/test_expand_series.py. |
references/field-guide.md (opens in a new tab)references/mcp-invocation.md (opens in a new tab)references/review-format.md (opens in a new tab)scripts/expand-series.py (opens in a new tab)scripts/render-review-table.py (opens in a new tab)scripts/tests/test_expand_series.py (opens in a new tab)scripts/tests/test_render_review_table.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub cloudzlab/sf-team-skills --plugin sf-industries-misc13 skills in this plugin
/afcc-setup-coordinateOrchestrates end-to-end headless setup of Agentforce Contact Center (AFCC) on a Salesforce org. Scans the org first, presents a delta plan for approval, then sequentially provisions demo users, Omni-Channel base settings, a human queue with routing config and members, presence statuses, permission sets, a PSTN voice number, and an active PstnVoice MessagingChannel wired to the queue. Interactive at key decision points — never assumes country, number type, queue names, or user counts. TRIGGER: set up AFCC, configure Agentforce Contact Center, stand up voice contact center, AFCC migration setup, provision AFCC org headlessly./insurance-brokerage-agency-billing-configureConfigure end-to-end Agency Billing on a Salesforce FSC Insurance Brokerage org via dispatch MCP calls. Use this skill when users want to set up brokerage billing, configure agency billing, enable insurance billing features, create billing rules, set up accounting periods, assign billing permission sets, or create a demo policy for the Issue-to-Invoice flow. TRIGGER when: user mentions agency billing setup, brokerage billing configuration, insurance billing enablement, billing treatments, billing rules creation, accounting period setup, insurance policy billing information, or Issue-to-Invoice testing. Also use when users say things like set up my brokerage org for billing, configure billing on my insurance org, enable billing features, create billing treatments, set up GL accounts, or assign billing permissions. DO NOT TRIGGER when: user needs general Revenue Cloud Billing without insurance context, needs CPQ/quoting configuration, or needs claims processing setup./life-sciences-fieldsalesrep-coordinateUse this skill to run the full end-to-end Life Sciences Cloud setup workflow for field sales rep in sequence. Trigger when the user says 'set up Life Sciences Cloud end to end', 'run the full LSC setup', 'orchestrate Life Sciences Cloud configuration', 'complete LSC setup', 'Life Sciences Cloud full install', 'set up Life Sciences Cloud end to end for field sales rep', 'run the full LSC setup for field sales rep', 'orchestrate Life Sciences Cloud configuration for field sales rep', 'complete LSC setup for field sales rep', or 'Life Sciences Cloud full install for field sales rep'. Executes five stages in order: prerequisites validation, starter config deployment, territory configuration, user provisioning, and sample visit creation — gating each stage on the success of the previous one. DO NOT TRIGGER when: user wants to run only one specific stage (prerequisites, config deploy, territory setup, user provisioning, or visit creation individually)./life-sciences-kam-coordinateUse this skill to run the full end-to-end Life Sciences Cloud setup workflow for a key account management (KAM) user in sequence. Trigger when the user says 'set up Life Sciences Cloud end to end for kam user', 'run the full LSC setup for kam user', 'orchestrate Life Sciences Cloud configuration for kam user', 'complete LSC setup for kam user', or 'Life Sciences Cloud full install for kam user'. Executes six stages in order: prerequisites validation, starter config deployment, territory configuration, participant role and sprint creation, KAM data and plan-template (goals, tasks, measures) creation, and KAM user provisioning — gating each stage on the success of the previous one. DO NOT TRIGGER when: the user wants to run only one specific stage individually, or when the request targets a field sales rep rather than a KAM user (use life-sciences-fieldsalesrep-coordinate for that persona)./life-sciences-prerequisites-validateValidate Life Sciences Cloud for Customer Engagement org prerequisites. Use when an admin needs to verify that all required settings, permissions, OWD sharing rules, and feature toggles are correctly configured before deploying Life Sciences Cloud. Checks user profile, permission sets, Life Sciences CE settings, surveys, OWD, inventory, account plans, care plans, Chatter, data protection, multi-currency, state/country picklists, and person accounts. Reports pass/fail for each check with remediation steps. TRIGGER when: user says 'check prerequisites', 'verify org setup for Life Sciences', 'LSC readiness check', 'pre-requisites for Life Sciences Cloud', 'validate org for LSC'. DO NOT TRIGGER when: user wants to automatically enable or configure these settings, or when the user asks for the full end-to-end Life Sciences Cloud setup / orchestration (that is the `life-sciences-fieldsalesrep-coordinate` orchestrator's job — this skill runs only as a standalone prerequisites check)./life-sciences-territory-configureUse this skill to create and activate a Territory Type, Territory Model, and Territories for Life Sciences Cloud. Trigger when the user says 'set up territories', 'create territory model', 'configure territory hierarchy for Life Sciences', 'territory setup for LSC', or 'create territories for Life Sciences Cloud'. Creates a Geographical territory type, an LSC Territory Model, and a 3-level territory hierarchy (Region, District, Territory). Confirms names with the user, shows a preview, then deploys and activates the model. DO NOT TRIGGER when: user wants to validate prerequisites, assign users to territories, create territory assignment rules, or run the full end-to-end Life Sciences Cloud setup / orchestration (that is the `life-sciences-fieldsalesrep-coordinate` orchestrator's job — this skill runs only as a standalone territory setup).3 plugins ship this exact skill · first indexed Oct 15, 2026
Other plugins' skills for the same job