From codepresso
Generate next month's on-call schedule by invoking the oncall allocator Lambda
How this skill is triggered — by the user, by Claude, or both
Slash command
/codepresso:oncall-generateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<Purpose>
<Use_When>
/codepresso:oncall-generate is invoked<Do_Not_Use_When>
codepresso:oncall-swap)codepresso:oncall-sync-calendar)
</Do_Not_Use_When>oncall-allocator-stack-OnCallAllocatorFunction-pQRyUZlV0CChap-northeast-2oncall-assignments-historyc_b96d007ccd3a348ceab92e4d7cab4be4ae91197da9f383a7a7bb0e4bd74f12f1@group.calendar.google.comCheck DynamoDB if assignments already exist for that month:
aws dynamodb scan --table-name oncall-assignments-history --region ap-northeast-2 \
--filter-expression "begins_with(AssignmentDate, :prefix)" \
--expression-attribute-values '{":prefix":{"S":"YYYY-MM"}}' \
--select COUNT --output json
If assignments exist, warn the user and ask for confirmation to overwrite.
Invoke the Lambda with the target month's first day:
aws lambda invoke --function-name oncall-allocator-stack-OnCallAllocatorFunction-pQRyUZlV0CCh \
--region ap-northeast-2 \
--payload '{"time":"YYYY-MM-01T09:00:00Z"}' \
--cli-binary-format raw-in-base64-out \
/tmp/oncall-result.json && cat /tmp/oncall-result.json
Show the generated plan from the Lambda response.
After Lambda completes, sync to Google Calendar:
gcal_create_event:
온콜: {primary} (주) / {secondary} (부)주 담당자: {primary}\n부 담당자: {secondary}date format (all-day event) for Monday to Sundaygcal_list_events + gcal_delete_event.Send confirmation to the user with the full schedule table.
<Tool_Usage>
Bash for AWS CLI (aws dynamodb scan, aws lambda invoke)gcal_list_events, gcal_create_event, gcal_delete_event for calendarAskUserQuestion for month selection / overwrite confirmation
</Tool_Usage>npx claudepluginhub codepresso-dev/codepresso-ai-plugin --plugin codepressoCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.