Provides setup, API calls, and extension code for the CrestApps Orchard Core Calendars module. Covers calendar types, events with IANA time zones and RFC 5545 recurrence, free/busy, overlap checks, reminders, iCalendar feeds, external sync, and the Report Builder data source.
Ships in crestapps-orchardcore. 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.
You are an Orchard Core expert. Generate accurate setup, recipes, API calls and extension code for the CrestApps Calendars module. It stores calendars and events in the Calendars YesSql collection, expands repeating events, works out free/busy time, enforces overlap limits for rooms, equipment and desks, and tells other features about changes once they are committed. What a calendar is for comes from its calendar type, which a feature registers in code; the module never switches on a type name.
CrestApps.OrchardCore.Calendars (or the CrestApps.OrchardCore.Cms.Core.Targets bundle, which includes it with Scheduling and Bookings) in the web/startup project.CrestApps.OrchardCore.Calendars.Abstractions (models, type builders, services, CalendarTime, TimeWindow, RecurrenceRule, RecurrenceExpander). Reference CrestApps.OrchardCore.Calendars.Core only for the iCalendar reader/writer or the external provider contracts.[RequireFeatures("CrestApps.OrchardCore.Calendars")] instead of a separate feature, as Bookings does.ICalendarEventManager and calendars through ICalendarService, never through a store: validation, handlers, overlap checks and after-commit observers run there.CalendarEvent.Start/End are wall-clock times in the event's IANA TimeZoneId. Never set StartUtc/EndUtc yourself.ICalendarService, not Orchard Core's ICalendarManager (culture calendars). Alias Calendar (using Calendar = CrestApps.OrchardCore.Calendars.Models.Calendar;) in files that import System.Globalization.ILocalClock); convert a wall-clock time a person entered in the site or user zone to UTC with ILocalClock.ToUtcLenientAsync(local) (LocalClockExtensions in CrestApps.OrchardCore.Calendars, Calendars.Abstractions), which moves a time a DST change skips forward by the gap and takes the earlier of a repeated time instead of failing. See orchardcore-time-zones.orchardcore-workforce; the people themselves from orchardcore-staff; appointments and dated sessions from orchardcore-scheduling; commerce bookings from orchardcore-bookings.{ "steps": [...] }.sealed modifier, except View Models.| Feature | ID | Depends on | Adds |
|---|---|---|---|
| Calendars | CrestApps.OrchardCore.Calendars | OrchardCore.Users, OrchardCore.Roles, CrestApps.OrchardCore.Resources | Calendars, events, the General and Personal types, the calendar view, editors, permissions, recipe and deployment |
| Team Calendars | CrestApps.OrchardCore.Calendars.Teams | Calendars | The Team type and Team Availability |
| Resource Calendars | CrestApps.OrchardCore.Calendars.Resources | Calendars | The Room and Equipment types (location, seats, amenities); rooms and equipment invited to events |
| Office Calendars | CrestApps.OrchardCore.Calendars.Office | Calendars | The Office type: in office, desk bookings up to the desk count, visitors, office closed |
| Calendar Reminders | CrestApps.OrchardCore.Calendars.Reminders | Calendars | On-screen reminders until dismissed; once-per-occurrence "starting soon" and "completed" moments |
| Calendar Invitations | CrestApps.OrchardCore.Calendars.Invitations | Calendars, OrchardCore.Email | Invitation, update and cancellation emails with .ics, and answer links |
| Calendar Feeds | CrestApps.OrchardCore.Calendars.Feeds | Calendars | A private iCalendar feed per calendar, .ics import and export |
| External Calendars | CrestApps.OrchardCore.Calendars.External | Calendars | Subscriptions, the sync background task, the ics provider, the calendars-external-sync health check |
| Calendars API | CrestApps.OrchardCore.Calendars.Api | Calendars | /api/calendars/v1 |
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.Calendars",
"CrestApps.OrchardCore.Calendars.Teams",
"CrestApps.OrchardCore.Calendars.Resources",
"CrestApps.OrchardCore.Calendars.Office",
"CrestApps.OrchardCore.Calendars.Reminders",
"CrestApps.OrchardCore.Calendars.Feeds",
"CrestApps.OrchardCore.Calendars.Api"
],
"disable": []
}
]
}
| Feature on | What it adds |
|---|---|
OrchardCore.Workflows | Calendar events and tasks (Starting Soon and Completed also need Calendar Reminders) |
CrestApps.OrchardCore.AI | Six calendar AI tools (AIToolsStartup) |
OrchardCore.DataPipelines.Core | The Calendars Report Builder data source |
OrchardCore.AdminDashboard | The Calendar dashboard widget (CalendarWidget content type) |
CrestApps.OrchardCore.Teams | Members of the team linked to a Team calendar's role get Write (with Team Calendars); the CalendarAbsences team availability source ("Not out of office or on time off in the calendar", honored by default) keeps team assignment from picking people while an absence event is happening on their own calendar or on one they attend and haven't declined. See orchardcore-teams. |
OrchardCore.Recipes.Core / OrchardCore.Deployment | The Calendars recipe step / deployment step |
CrestApps.OrchardCore.Recipes | JSON schemas for the step (CalendarsRecipeStepSchema, CalendarsDeploymentStepSchema) |
| Menu | Route | Permission |
|---|---|---|
| Calendars > Calendar | calendar (?date=&view=&calendars=, or ?schedule=everyone / comma-separated user ids for whose schedule) | AccessCalendars (ListCalendarEvents for others' schedules) |
| Calendars > Manage Calendars | calendars, calendars/create/{type}, calendars/edit/{id} | AccessCalendars (creating needs CreateCalendars; editing needs Manage on the calendar) |
| Calendars > Categories | calendar-categories | AccessCalendars (shared categories need ManageAllCalendars) |
| Calendars > Team Availability | calendar/availability (Team Calendars) | AccessCalendars |
| Event editor | calendar/events/choose, create, edit/{id} (+ cancel, delete, confirm, respond); modal=true returns a partial and { "succeeded", "message" } | per-calendar Write |
| Feed and files | calendars/{id}/feed (Manage), calendars/{id}/export (Read), calendars/{id}/import (Write) (Calendar Feeds) | per-calendar level |
Scheduling adds Appointments, Appointment Types, Scheduling Resources and Waitlist under the same Calendars menu; Workforce adds its shift planning pages there.
The user search behind the calendar user pickers (GET Admin/api/calendars/users/search?query=, route name CalendarsUserSearch) is a minimal API, so it checks access itself: the caller needs both AccessCalendars and AccessAdminPanel, else 403 (a signed-in storefront customer can't list users). It returns up to 30 enabled users matched by user name; emails are matched and returned only to callers with ViewUsers (UsersPermissions.ViewUsers, implied by Manage Users). Build its URL with Url.RouteUrl("CalendarsUserSearch") so tenants with a URL prefix work.
The calendar view uses FullCalendar 7.1.4 from CrestApps Resources (fullcalendar, fullcalendar-locales, fullcalendar-theme scripts, minified locally unless resource debug mode is on; CDN URLs carry SRI hashes). See orchardcore-crestapps-resources.
| Permission | Display name | Implied by | Default role |
|---|---|---|---|
ManageAllCalendars | Manage all calendars | none | Administrator |
ViewAllCalendars | View all calendars | ManageAllCalendars | Administrator |
CreateCalendars | Create calendars | ManageAllCalendars | Administrator, Editor |
AccessCalendars | Use calendars | ViewAllCalendars, CreateCalendars | Administrator, Authenticated |
ListCalendarEvents | List anyone's calendar events | ViewAllCalendars | Administrator |
ListOwnCalendarEvents | List own calendar events | ListCalendarEvents, AccessCalendars | (through Use calendars) |
ViewCalendarEvents | View anyone's calendar events | ViewAllCalendars | Administrator |
ViewOwnCalendarEvents | View own calendar events | ViewCalendarEvents, AccessCalendars | (through Use calendars) |
Per-calendar access is a CalendarAccessLevel from ICalendarAccessService: None < FreeBusy < Read < Write < Manage. In order: ManageAllCalendars gives Manage; ViewAllCalendars at least Read; without AccessCalendars nothing more applies; the owner of a user-owned calendar gets Manage; members of a Team calendar's role get Write; each CalendarShare (user or role) adds its level; Visibility Public raises signed-in users to Read and Shared to FreeBusy; each ICalendarAccessContributor may raise it. FreeBusy callers get occurrences with BusyOnly and no details.
Check the broad permission with a resource; CalendarEventAuthorizationHandler grants it through the Own permission:
await _authorizationService.AuthorizeAsync(User, CalendarPermissions.ListCalendarEvents, new CalendarSchedule(userId)); // or CalendarSchedule.Everyone
await _authorizationService.AuthorizeAsync(User, CalendarPermissions.ViewCalendarEvents, calendarEvent); // false: show as busy
A type is a CalendarTypeDescriptor registered with services.AddCalendarType(name, builder). Calling it again with the same name extends that type.
| Builder | Effect |
|---|---|
WithDisplayName, WithDescription (LocalizationSource), WithIcon, WithColor, WithPosition | How the type shows in Add calendar and the list |
WithOwner(kind, onePerOwner) | CalendarOwnerKind None, User (owner id = user id), Role (role name) or Resource |
WithCapabilities | CalendarCapabilities flags Attendees, Recurrence, AllDay, FreeBusy, ExternalSync, Feed (default All) |
WithVisibility | Default Private, Shared or Public |
LimitConcurrent(capacity = 1) | New calendars refuse a busy event when capacity busy events already overlap |
ManagedByCode() | Not in Add calendar; only code creates calendars of it |
AddEventType(name, displayName, e => ...) | Color, Icon, RemindBefore(minutes), Busy()/Free(), AllDayByDefault(), Lasts(minutes) (60), NeedsApproval() (created Tentative), RequiresAttendee(), IgnoresCapacity(), MarksAbsence() (its people are away while it lasts: team assignment passes them over). A type with none gets Event. |
The LocalizationSource properties of the descriptors (CalendarTypeDescriptor.DisplayName and Description, CalendarEventTypeDescriptor.DisplayName, a provider's DisplayName) are [JsonIgnore]; do the same on your own. OutOfOffice (CalendarsConstants.EventTypes.OutOfOffice) on Personal and Team calendars and Workforce TimeOff mark absence.
| Type | Registered by | Owner | Overlaps | Event types (technical names) |
|---|---|---|---|---|
General | Calendars | None | Allowed | Event, Meeting, Holiday (all day, free), Reminder (15 min, free) |
Personal | Calendars | User, one per user, Shared | Allowed | Event, Meeting, Focus, OutOfOffice |
Team | Team Calendars | Role | Allowed | Meeting, OnCall, OutOfOffice, Milestone |
Room, Equipment | Resource Calendars | Resource, Public | Limit 1 | Booking (room) or Reservation (equipment), Maintenance |
Office | Office Calendars | None, Public | Limit 20 (desk count) | InOffice, DeskBooking, Visitor, Closed |
Appointments | Scheduling | None, managed by code | Allowed (Scheduling locks) | Appointment, Blocked |
Bookings | Bookings (with Calendars on) | None, managed by code | Allowed | Booking |
Workforce | Workforce | None, managed by code, one per team | Allowed | Shift (free), time off, training, meeting, on call |
public sealed class Startup : StartupBase
{
public override void ConfigureServices(IServiceCollection services)
{
services.AddCalendarType("Vehicles", type => type
.WithDisplayName(LocalizationSource.Create<Startup>("Vehicle"))
.WithIcon("fa-solid fa-car")
.WithOwner(CalendarOwnerKind.Resource)
.WithVisibility(CalendarVisibility.Public)
.LimitConcurrent(1)
.AddEventType("Trip", LocalizationSource.Create<Startup>("Trip"), e => e.Color("#1971c2").RequiresAttendee().Lasts(240)));
}
}
Module-managed calendars, writing events from code, type-specific fields and every handler are in references/calendar-types-and-extensions.md.
Calendar: Name, Description, Type, Color, TimeZoneId, OwnerKind, OwnerId, Visibility, Shares (PrincipalKind User/Role, PrincipalId, DisplayName, Access), ConflictPolicy (AllowOverlaps, LimitConcurrent), Capacity, BookingVersion, Enabled, Source, SourceId, FeedToken.CalendarEvent: CalendarId, EventType, Title, Description, Location, Color, CategoryId, AllDay, Start, End, TimeZoneId, Status (Confirmed, Tentative, Cancelled), Transparency (Busy, Free), Visibility (Default, Public, Private), ReminderMinutes, Attendees, Recurrence (Rule, ExceptionDates, EndUtc), SeriesId, OriginalStartUtc, Source, SourceId, Editable, Uid, Sequence, ProviderMappings.CalendarAttendee): UserId, or Email + Name, or ResourceCalendarId; Role (Required, Optional, Organizer, Resource); Response (NeedsAction, Accepted, Tentative, Declined). GetKey() gives user:{id}, email:{address} or resource:{calendarId}.RecurrenceRule supports FREQ (DAILY, WEEKLY, MONTHLY, YEARLY), INTERVAL, COUNT, UNTIL, BYDAY (with ordinals such as 2TU, -1FR), BYMONTHDAY, BYMONTH, BYSETPOS, WKST. BYHOUR, BYMINUTE and BYSECOND are refused. Expansion is in local time with NodaTime, so a 09:00 weekly meeting stays at 09:00 across DST.SeriesId + OriginalStartUtc). This and following ends the master with UNTIL and starts a new master. Use UpdateOccurrenceAsync / CancelOccurrenceAsync with CalendarEditScope ThisOccurrence, ThisAndFollowing or AllOccurrences.LimitConcurrent calendar (or an invited room/equipment calendar), the manager takes the distributed lock CALENDAR_{id} (CalendarLockKeys.Calendar) on each target in id order, checks overlaps (CalendarConflictChecker, next 366 days and up to 500 occurrences for a series), bumps each calendar's BookingVersion with YesSql's concurrency check, then stages the event. A refusal is a CalendarError with Code == CalendarError.ConflictCode.CalendarChangeOptions: Actor, Reason, SkipConflictCheck, CalendarLocksHeld, Notify (true), SendInvitations (true)..ExclusiveToDocumentType(); all but CalendarEventAttendeeIndex (one row per attendee) and CalendarShareIndex (one row per share) are also .SingleRecordPerDocument().CalendarOptions: MaxOccurrencesPerQuery 5000, MaxEventsPerQuery 5000, MaxQueryDays 400; DefaultReminderMinutes 10. Reminder choices are 0, 5, 10, 15, 30, 60, 120 or 1440 minutes.| Contract | Use |
|---|---|
ICalendarTypeManager | List and find calendar and event types |
ICalendarService | NewAsync(type) + CreateAsync, UpdateAsync, DeleteAsync, FindBySourceAsync, GetOrCreatePersonalCalendarAsync |
ICalendarEventManager | NewAsync(calendar, eventType), create, update, cancel, delete, occurrences, attendees, RespondAsync, FindBySourceAsync, ValidateAsync |
ICalendarQueryService | GetOccurrencesAsync(CalendarOccurrenceQuery) (expanded, overrides applied, Viewer reduces to busy blocks) |
ICalendarAvailabilityService | GetBusyAsync(CalendarBusyQuery) and FindFreeWindowsAsync(query, duration, within, maxResults) |
ICalendarAccessService | Access level per calendar, calendars a user reaches, CanCreateAsync |
ICalendarHandler / CalendarHandlerBase | Validate and react to calendars inside the request |
ICalendarEventHandler / CalendarEventHandlerBase | ValidatingAsync (add context.Errors), SavingAsync, SavedAsync, DeletingAsync, inside the request |
ICalendarEventObserver | OnChangedAsync(CalendarEventChange) after commit, in a new scope (Kind, Event, Previous, Calendar, OccurrenceStartUtc, Attendee, Actor, Reason) |
ICalendarBusyTimeSource | Busy time not stored as events; services.AddCalendarBusyTimeSource<T>() |
ICalendarEventSource | Read-only occurrences in the calendar view; services.AddCalendarEventSource<T>() |
ICalendarAccessContributor | Raise a user's level for your own reasons; services.AddCalendarAccessContributor<T>() (Workforce team calendars use it) |
ICalendarReminderOffsetProvider / ICalendarReminderObserver | Starting-soon offsets and once-per-occurrence callbacks (Calendar Reminders) |
DisplayDriver<Calendar> / DisplayDriver<CalendarEvent> | Type-specific fields; calendar tabs General;1, Owner;2, Sharing;3, Overlaps;4, Subscription;5; event tabs General;1, Repeat;2, Attendees;3 |
public sealed class FleetBusyTimeSource : ICalendarBusyTimeSource
{
private readonly ITripStore _trips;
public FleetBusyTimeSource(ITripStore trips)
{
_trips = trips;
}
public string Name => "Fleet";
public async Task<IEnumerable<CalendarBusyInterval>> GetBusyTimeAsync(CalendarBusyQuery query, CancellationToken cancellationToken = default)
{
// Answer only for query.UserIds / query.CalendarIds between query.FromUtc and query.ToUtc, through an index.
var trips = await _trips.ListForDriversAsync(query.UserIds, query.FromUtc, query.ToUtc, cancellationToken);
return trips.Select(trip => new CalendarBusyInterval
{
StartUtc = trip.StartsUtc,
EndUtc = trip.EndsUtc,
UserId = trip.DriverId,
Source = Name,
});
}
}
// Startup: services.AddCalendarBusyTimeSource<FleetBusyTimeSource>();
Free/busy, Team Availability, the API's free-time endpoint and Scheduling's open times include it (unless IncludeBusyTimeSources = false).
public sealed class CancelledMeetingObserver : ICalendarEventObserver
{
private readonly ILogger _logger;
public CancelledMeetingObserver(ILogger<CancelledMeetingObserver> logger)
{
_logger = logger;
}
public Task OnChangedAsync(CalendarEventChange change, CancellationToken cancellationToken = default)
{
if (change.Kind == CalendarEventChangeKind.Cancelled && change.Calendar?.Type == "Team")
{
_logger.LogInformation("Team event {Title} was cancelled by {Actor}.", change.Event.Title, change.Actor);
}
return Task.CompletedTask;
}
}
// Startup: services.AddScoped<ICalendarEventObserver, CancelledMeetingObserver>();
CalendarReminderBackgroundTask runs every minute, raises each offset once per occurrence through CalendarReminderLog, and turns event reminders into a CalendarUserReminder per person. Every full admin page polls GET Admin/api/calendars/reminders and dismisses with POST Admin/api/calendars/reminders/{id}/dismiss. Each reminder carries start/end as UTC instants plus startText, the start already formatted in the local zone (date only for all-day events), so an all-day event keeps its date in a browser in another zone..ics REQUEST), update or cancellation (CANCEL). Answers go to the anonymous calendars/respond/{eventId}/{token}/{response}. Writes with SendInvitations = false (recipes, imports) send nothing.GET /calendars/feed/{token}.ics (anonymous, private events as busy only); import reads up to 10,000 VEVENTs (with RRULE, EXDATE, RECURRENCE-ID, TZID) and matches by UID.CalendarPicker shape and call CrestAppsCalendarPicker.open({ date, durationMinutes, title }); it resolves with { start, end, local } or null.External Calendars keeps a calendar in step with an outside calendar through an ICalendarProvider. Only one provider ships: the read-only iCalendar address provider ics (ICalendarUrlProvider; https://, http:// or webcal://, 30-second timeout, private and loopback addresses refused). There is no Google Calendar or Microsoft 365 / Graph provider in the module; the two-way contracts (IIncrementalCalendarProvider, IWritableCalendarProvider) exist so such providers can be added as separate modules (tracked in issue #1238). For one-way publishing the other way, use Calendar Feeds.
CalendarSubscription in the calendar's properties: Provider (ics), Url, IntervalMinutes (60, 5 to 10,080), Enabled, TwoWay, ConflictPolicy (ExternalWins default, LocalWins), plus sync bookkeeping (SyncToken, PendingPush, PendingDeletes, NeedsReconnect, LastSyncedUtc, LastError, Failures, LastResult).CalendarSyncBackgroundTask runs every five minutes, each calendar in its own scope; failures back off up to 32 times the interval; an authorization failure pauses the subscription (NeedsReconnect) until it is saved again.calendars-external-sync health check (tag calendars) reports Degraded while a subscription needs reconnecting or has failed three times in a row.Calendars): each sync is a crestapps.calendars.sync span with the crestapps.calendars.sync.duration histogram (provider, mode incremental or full, outcome) and the crestapps.calendars.sync.events counter; crestapps.calendars.observer.failures counts failing observers. See orchardcore-opentelemetry.Building a provider (contracts, registration with services.AddCalendarProvider<T>(), event mapping, OAuth, tests) is in references/external-calendar-providers.md.
With OrchardCore.AdminDashboard on, select Manage dashboard, then Add widget and Calendar. The CalendarWidget content type (stereotype DashboardWidget, TitlePart + CalendarWidgetPart) stores Source (MyCalendars, Type, Calendars), CalendarType, CalendarIds and View (Agenda, Day, Week, Month). Each viewer sees only calendars they may open (FreeBusy ones as busy blocks); users without Use calendars see a message. Widgets are content items, so they travel with the Content step.
Activities are in the Calendar category, triggered by CalendarWorkflowObserver after commit and correlated by event id. Every event filters on CalendarIds, CalendarTypes, EventTypes (comma-separated) and IgnoreWorkflowChanges (default true, skips actor workflow).
| Events | Tasks (outcomes) |
|---|---|
CalendarEventCreatedEvent, CalendarEventUpdatedEvent, CalendarEventCancelledEvent, CalendarEventDeletedEvent, CalendarAttendeeInvitedEvent, CalendarAttendeeRespondedEvent; CalendarEventStartingSoonEvent and CalendarEventCompletedEvent (need Calendar Reminders) | Create Calendar Event (Done, Failed), Update and Cancel Calendar Event (Done, NotFound, Failed), Get Calendar Event (Found, NotFound), Find Calendar Events (Found, None), Add/Remove Calendar Attendee (Done, NotFound, Failed), Find Free Time (Found, None) |
Input keys include CalendarEvent, EventId, CalendarId, CalendarName, CalendarType, EventType, Title, StartUtc, EndUtc, Source, SourceId, Kind, Actor, Previous, attendee keys, and OccurrenceStartUtc, OccurrenceEndUtc, MinutesBefore. Task fields are Liquid; times without an offset are wall-clock in the event's zone; attendees are emails, Name <email> or user:{userId}.
The Calendars API maps /api/calendars/v1 (Orchard Core Api scheme, no antiforgery). Each call checks calendar access like the screens; list, events, free-busy and free-time answer 403 without AccessCalendars.
| Method and route | Does |
|---|---|
GET calendars | Reachable calendars with the caller's access |
GET events?calendarIds=&from=&to= | Occurrences (busy blocks for FreeBusy calendars) |
GET events/{id} | One event (Read) |
POST events | Create from calendarId, eventType, title, description, location, allDay, start, end, timeZoneId, status, transparency, recurrence (RRULE), attendees; 201 |
PUT events/{id}?occurrence=&scope= | Change an event or occurrences |
POST events/{id}/cancel?occurrence=&scope= | Cancel |
DELETE events/{id} | Delete; 204 |
POST events/{id}/respond | { "response": "Accepted" } (or Tentative, Declined) |
POST free-busy | Busy intervals for up to 50 calendarIds/userIds, at most 62 days |
POST free-time | Windows of durationMinutes (5 to 1440, default 30), up to 50 |
An overlap refusal is 409 Problem Details; validation errors are 400. Repeated cancels or identical answers succeed without raising a second workflow event.
With CrestApps.OrchardCore.AI on, tools in the Calendar category act for the signed-in user with their calendar access (refusing anonymous callers and callers without AccessCalendars): listCalendars, findCalendarEvents (at most 62 days), findFreeTime (at most 31 days), createCalendarEvent, moveCalendarEvent, cancelCalendarEvent. See orchardcore-ai-tools.
With OrchardCore.DataPipelines.Core on, the Calendars data source (Calendars) offers the data sets Calendars (one row per calendar) and CalendarEvents (one row per stored event; series are not expanded). They need AccessCalendars and only report calendars the report owner can Read; private events on calendars the owner can't change have empty Title and attendees and DetailsHidden = true. Descriptions, locations, attendee names and emails, tokens and external links are never exposed. See orchardcore-report-builder.
The Calendars step (needs OrchardCore.Recipes.Core) imports Categories first, then Calendars with each calendar's Events, matched by itemId. List names start with a capital letter; every other property is camelCase and enums are names. Recipe writes skip the overlap check and send no invitations.
{
"steps": [
{
"name": "Calendars",
"Calendars": [
{
"itemId": "4cmpnycalendar000000000001",
"name": "Company",
"type": "General",
"timeZoneId": "America/New_York",
"visibility": "Public",
"conflictPolicy": "AllowOverlaps",
"Events": [
{
"itemId": "4cmpnyallhands000000000001",
"eventType": "Meeting",
"title": "All hands",
"start": "2026-11-02T09:00:00",
"end": "2026-11-02T10:00:00",
"timeZoneId": "America/New_York",
"recurrence": { "rule": "FREQ=WEEKLY;BYDAY=MO" }
}
]
}
]
}
]
}
The Calendars deployment step (category Calendar, CalendarsDeploymentStep) exports every calendar, with IncludeEvents (false) their events and with IncludeCategories (true) the categories. Full shapes (rooms, shares, categories, attendees, recurrence exceptions) are in references/calendars-recipes.md.
| Symptom | Check |
|---|---|
| A room imported by recipe allows double booking | The step copies conflictPolicy, visibility and enabled as given; omitting conflictPolicy stores AllowOverlaps. Set "conflictPolicy": "LimitConcurrent" and capacity. |
The calendar type '...' is not enabled | Enable the feature that registers the type before the step runs; NewAsync returns null while it is off. |
| Event times shift by hours | Wall-clock DateTimes in your own models need WallClockDateTimeJsonConverter; never set StartUtc/EndUtc. |
| "The calendar ... is busy. Try again in a moment." | The CALENDAR_{id} lock could not be taken; retry. If you hold your own lock, take calendar locks after it in one ordered set and pass CalendarLocksHeld. |
| An event can't be dragged or edited | Editable = false (owned by Scheduling, Bookings or a source) or the user has only Read/FreeBusy. |
| Someone sees busy blocks only | Their level is FreeBusy, or the event is Private. |
| Workflow loops | Keep IgnoreWorkflowChanges on; task changes use actor workflow. |
| Google or Outlook calendar can't be connected | No such provider ships; subscribe to its .ics address with the ics provider, or build a provider. |
User picker returns 403 or no emails | The search needs AccessCalendars and AccessAdminPanel; emails need ViewUsers. |
| Work still assigned to someone out of office | The event type must call MarksAbsence(), the event must be happening now on their own calendar or one they attend (not declined), and Teams must be on. |
Related skills: orchardcore-staff, orchardcore-scheduling, orchardcore-bookings, orchardcore-workforce, orchardcore-teams, orchardcore-contact-center, orchardcore-omnichannel-management, orchardcore-report-builder, orchardcore-ai-tools, orchardcore-time-zones.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, calendar-module, recurring-events, free-busy, icalendar
/crestapps-orchardcore:orchardcore-calendarsfrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcore137 skills in this plugin
/orchardcore-accountsSkill for the CrestApps Orchard Core Accounts module (CrestApps.OrchardCore.Accounts) with its Account Members, Account Team, Account E-mail Domains and Account Locations features. Covers the Account type and AccountPart, the account picker and search, IAccountChildTypeRule, account page sections (AccountPageTabs, AddPageSection, Notes), members and IAccountMemberService, account invitations, the account owner and team picked from staff, e-mail domains, locations with a billing location, the account's billing profile and party members, the Accounts recipe and deployment steps, and the admin menu. Use this skill when requests mention accounts, the businesses or households records belong to, an account page tab, members, invitations, owners, domains or locations. Strong matches include AccountPart, AccountPageTabs, IAccountMemberService, IAccountInvitationService, AccountInvitation, AccountTeamPart, AccountEmailDomainsPart, IAccountEmailDomains, AccountLocationsPart and ManageAccountMembers./orchardcore-accounts-b2bSkill for the CrestApps Orchard Core Accounts B2B module (CrestApps.OrchardCore.Accounts.B2B), business selling on an Account content item. Covers B2BAccountPart and B2BAccount, buyers as account members and ship-to addresses as account locations, terms (deposit, net days, credit limit) through the account-terms tender billed to the account, the account's billing profile, purchase order numbers, quotes, price lists through IBuyerPriceProvider, order limits, approvals and budgets, OCI punchout, the account/business page and API, the PriceLists recipe and deployment steps, the B2BAccounts report source, and the move from the removed Companies module. Use this skill when requests mention B2B, wholesale or business buyers, net terms, purchase orders, price lists, order approvals or punchout. Strong matches include B2BAccountPart, B2BAccount, AccountTerms, AccountTermsTenderProvider, B2BAccountBillingProfileSource, IB2BAccountStore, PriceList, B2BPriceProvider, B2BApprovalService and ManageB2BAccounts.Other plugins' skills for the same job