Generates academic calendar records (Academic Year, Terms, Sessions, registration windows, add/drop deadlines) for Education Cloud orgs from natural language or uploaded documents (PDF, CSV, XLSX). Validates date ranges and handles overlapping sessions.
Ships in sf-skills. 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.
Create the foundational academic calendar infrastructure for Education Cloud orgs, parsing calendar data from documents or natural language and generating validated Academic Year, Term, and Session records with proper date ranges and institutional linkage.
All Salesforce operations use relative-path REST calls. Do not use CLI or shell commands to reach Salesforce (sf, sfdx, curl); the execution environment may not provide them. This does not apply to the skill's own local validation script (scripts/validate_calendar_dates.py, see step 4) — that runs locally and never touches the org.
POST /services/data/<ver>/sobjects/<Object>, GET /services/data/<ver>/sobjects/<Object>/<Id>, PATCH /services/data/<ver>/sobjects/<Object>/<Id>GET /services/data/<ver>/sobjects/<Object>/describe (confirm object + field API names exist before writing)./query is routable: GET /services/data/<ver>/query with the SOQL passed as a structured queryParams: {"q": "..."}, NOT inlined into the URL as ?q=... — confirmed by live test: inlining ?q= 404s (ROUTE_NOT_FOUND/NOT_FOUND) via headless-360 dispatch, while queryParams reliably 200s. Use it to list-scan for existing terms/sessions, or resolve records by the runtime Id captured at create time and read them back with a direct GET .../sobjects/<Object>/<Id> — either is valid.body.id — never hardcode a literal Salesforce Id.Gather or infer before proceeding:
If the user provides a calendar document (PDF, CSV, spreadsheet), parse it to extract all dates. If the user provides natural language, ask for specific dates before proceeding.
Note: AcademicYear, AcademicTerm, and AcademicSession have no Account reference field — calendar records are not linked to a Business Account. Linkage is Year → Term (AcademicYearId) and Term → Session (AcademicTermId) only.
Defaults unless specified:
GET /services/data/ (unversioned) via headless-360 dispatch. Response is a map of endpoint paths already resolved to the org's current max version (e.g. "limits": "/services/data/v69.0/limits") — not an array with a version field. Extract the version from any returned path (regex v\d+\.\d+) and use it as <ver> for every call below.GET /services/data/<ver>/limits via headless-360 dispatch. 2xx → route all calls through it. On absent/4xx/5xx → probe other available transports (other Salesforce MCP, authenticated sf CLI, custom MCP) with the same read, use first healthy, announce it. None healthy → stop, ask user to connect one; never fabricate.All steps are sequential. Do not skip or reorder. If blocked, stop and ask for missing context.
Verify foundation prerequisites — Follow references/foundation_prerequisites.md: org edition, Lightning Experience, Education Cloud license, running user's EDU access, Education Cloud Foundation enabled (self-heal via confirm-then-enable if off). Do not proceed to Step 1 until all checks pass.
Confirm calendar system
Gather calendar data
Verify object and field schema
GET /services/data/<ver>/sobjects/AcademicYear/describe, .../AcademicTerm/describe, .../AcademicSession/describefields array; match your intended field API names (Name, AcademicYearId, StartDate, EndDate, RegistrationOpenDate, RegistrationCloseDate, Season, AcademicTermId, ClassStartDate, ClassEndDate, AddDropDeadline) against it.Season (AcademicTerm.Season, values Fall/Spring/Summer/Winter): only send values present in that field's picklistValues. AcademicSession.Type is a different picklist (Semester/Trimester/Quarter/etc.) not used by this workflow — do not confuse it with Season.Validate date ranges
scripts/validate_calendar_dates.py, then run it once:
python3 scripts/validate_calendar_dates.py <<'EOF'
{"academicYear": {...}, "terms": [...], "sessions": [...]}
EOF
RegistrationCloseDate.valid is false: stop, report each entry in errors to the user, and ask for corrected dates. Do not proceed to step 5.warnings (e.g., intentional session overlaps) do not block — surface each one to the user for confirmation in step 6.computedRegistrationCloseDates forward — step 8 uses it instead of recalculating.Detect duplicate terms
Name is not unique-constrained, so a duplicate name will NOT error on insert. List-scan for existing terms with matching names before creating: GET /services/data/<ver>/query with queryParams: {"q": "SELECT Id, Name, StartDate, EndDate FROM AcademicTerm WHERE Name = 'Fall 2025'"} — pass the SOQL via queryParams, not inlined as ?q= in the URL (inlining 404s) — or, if the user has previously created a calendar for this year in the same session, reuse the Ids captured then instead of re-creating.Display proposed calendar structure and confirm
RegistrationCloseDate, then each session's name and dates grouped under its parent term. See examples/sample-output.md for a filled-in rendering.Create Academic Year record
POST /services/data/<ver>/sobjects/AcademicYear
{"Name": "Academic Year 2025-2026"}
academicYearId from the response body.id for term linkageCreate Academic Term records
AcademicYearId set to academicYearId from step 7:
POST /services/data/<ver>/sobjects/AcademicTerm
{"Name": "Fall 2025", "Season": "Fall", "StartDate": "2025-08-18", "EndDate": "2025-12-12",
"AcademicYearId": "<academicYearId>",
"RegistrationOpenDate": "2025-04-01", "RegistrationCloseDate": "2025-08-17"}
RegistrationCloseDate comes from step 4's computedRegistrationCloseDates[<term name>] — do not recompute it by hand.Season is a restricted picklist: Fall, Spring, Summer, Winter. AcademicTerm has NO add/drop field — add/drop deadlines live on AcademicSession only.termId from the response body.id for session linkageCreate Academic Session records
AcademicTermId set to the parent termId from step 8:
POST /services/data/<ver>/sobjects/AcademicSession
{"Name": "Summer Session 1", "ClassStartDate": "2026-05-26", "ClassEndDate": "2026-07-03",
"AddDropDeadline": "2026-06-11", "AcademicTermId": "<termId>"}
Generate completion summary
examples/sample-output.md for a filled-in rendering.Available at any time after step 10, not a required workflow step — use only when the user asks to spot-check a record or view a calendar range.
GET /services/data/<ver>/query with queryParams: {"q": "SELECT Id,Name,Season,AcademicYearId,StartDate,EndDate,RegistrationOpenDate,RegistrationCloseDate FROM AcademicTerm WHERE Id='<termId>'"} — or, if the Id was not captured, look it up by name with the same call and queryParams: {"q": "SELECT Id FROM AcademicTerm WHERE Name = 'Fall 2025'"} (pass the SOQL via queryParams, not inlined as ?q= in the URL — inlining 404s). Display only the allowlisted fields in table format with parent hierarchy.GET /services/data/<ver>/query with queryParams: {"q": "SELECT Id,Name,Season,AcademicYearId,StartDate,EndDate,RegistrationOpenDate,RegistrationCloseDate FROM AcademicTerm WHERE Id='<termId>'"}, and the same call with queryParams: {"q": "SELECT Id,Name,AcademicTermId,StartDate,EndDate,ClassStartDate,ClassEndDate,AddDropDeadline FROM AcademicSession WHERE Id='<sessionId>'"} per session (a plain sObject GET with ?fields= is not supported on headless-360, so select the calendar fields through SOQL) — and display as a table (Record Type, Name, Start Date, End Date, Duration, Registration Open, Registration Close, Add/Drop). Calculate and display overlap periods if applicable. See examples/sample-output.md for a filled-in rendering.| Constraint | Rationale |
|---|---|
| Verify object + field API names via describe before writing | Prevents a failed POST on an unverified field; Season picklist values must match AcademicTerm.Season's picklistValues |
| Term end date must be after start date | Platform validation will reject invalid date ranges |
| Registration window must open before term starts | Students cannot register after classes begin |
| Add/drop deadline (on AcademicSession) after or equal to term start | Deadline before classes start is logically invalid; AcademicTerm has no add/drop field |
| Academic Year must span all its child terms | Term dates outside year range cause reporting issues |
| Overlapping sessions within same term are allowed | Common pattern for Summer sessions (e.g., Session 1: May-Jul, Session 2: Jun-Aug) |
| Term names should match calendar system convention | Fall/Spring/Summer for semester, Fall/Winter/Spring/Summer for quarter |
| Resolve API version dynamically, don't hardcode | Org's max API version changes over time; a stale hardcoded version drifts from the org's current one |
Check for duplicate terms via SOQL /query before creating, pass q via queryParams not inlined in the URL | /query is routable via headless-360, but only with queryParams — inlining ?q= 404s (confirmed by live test); term Name is not unique-constrained so duplicates do not error on insert; a failed duplicate-check read must block creation, not be skipped |
| Issue | Resolution |
|---|---|
| User provides relative dates ("next Fall") | Convert to absolute dates before inserting (e.g., "next Fall" → "Fall 2026" with specific dates) |
| Overlapping sessions flagged as error | Confirm with user — overlaps are intentional in many institutions (e.g., Summer Session 1 and 2 overlap by 1 week) |
| Duplicate term with different dates | Ask user whether to update existing or skip — do not auto-update without confirmation |
| Registration window after term start | This is invalid — ask user to provide correct registration open date |
| Academic Year end date before last term end date | Extend Academic Year to cover all terms, or adjust term dates |
| Input carries a term-level add/drop date but no session subdivisions | AcademicTerm has no add/drop field — surface the term-vs-session placement to the user or propose a session per term to carry the date; never write it onto AcademicTerm and never silently drop it |
| User provides 3-part year range (2025-2026-2027) | Clarify with user — Academic Year spans exactly 2 years (e.g., 2025-2026) |
| Session without parent term | Every session must link to a term — if user provides session dates without term, ask which term it belongs to |
Deliverables:
Terms link to the parent Academic Year (AcademicYearId); sessions link to the parent Term (AcademicTermId). These objects have no Account reference field.
| Need | Delegate to |
|---|---|
| Institutional hierarchy (Accounts, campuses) | No dedicated skill yet — set up manually |
| Course scheduling and offerings | Course offering generation skills |
| File | When to read |
|---|---|
references/foundation_prerequisites.md | Step 0 — org edition, Lightning Experience, EDU license, permission set assignment, Education Cloud Foundation enablement; run before Step 1 on every standalone invocation |
references/calendar-systems.md | When user's calendar system is unclear or non-standard |
references/date-validation.md | When validating complex date overlaps or multi-session terms |
examples/semester-calendar.json | To verify output structure for semester system |
examples/quarter-calendar.json | To verify output structure for quarter system |
examples/sample-output.md | To see filled-in renderings of the proposed-structure display, completion summary, and calendar-view table |
scripts/validate_calendar_dates.py | Invoked in step 4 to validate date ranges and compute RegistrationCloseDate deterministically |
examples/quarter-calendar.json (opens in a new tab)examples/sample-output.md (opens in a new tab)examples/semester-calendar.json (opens in a new tab)references/calendar-systems.md (opens in a new tab)references/date-validation.md (opens in a new tab)references/foundation_prerequisites.md (opens in a new tab)scripts/validate_calendar_dates.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/sf-skills:education-cloud-academic-calendar-generatefrom sf-skills
sf-skills@sf-skills-plugin is listed by ccmalcom/sf-skills-plugin — review the source before installing
npx claudepluginhub ccmalcom/sf-skills-plugin --plugin sf-skills266 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./agentforce-architecture-analyzeDeclared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins. Renders a human-readable architecture document and Mermaid invocation graph from design-time metadata (not runtime audit rows). TRIGGER when user asks to describe, diagram, inventory, audit, document, or diff (e.g. v3 vs v5) the architecture / action tree / topic structure / tool inventory of a specific agent by agent API name in a specific org. DO NOT TRIGGER for runtime session traces, conversation transcripts, generation timings, or gateway audit chains — this skill reads design-time metadata only (use agentforce-d360-analyze for session traces).3 plugins in 2 repositories ship this exact skill · first indexed Nov 14, 2026
Other plugins' skills for the same job