onenote-ci-integration

Featured

Set up CI/CD pipelines for OneNote integrations with Graph API testing and mock strategies. Use when configuring GitHub Actions, setting up test credentials, or building mock-based CI tests. Trigger with "onenote ci", "onenote github actions", "onenote test pipeline", "graph api ci".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# OneNote CI Integration ## Overview Testing OneNote integrations in CI requires Azure AD app registration, credential management, and mock strategies for Graph API responses. This skill provides two proven CI strategies: mock-only PR checks (zero Azure credentials required) and nightly live integration tests with proper credential isolation and rate limit awareness. ## Prerequisites - GitHub Actions or equivalent CI platform - Node.js 18+ or Python 3.10+ - For mock-only CI: no Azure credentials needed - For live integration tests: Azure AD test tenant with app registration - GitHub repository secrets configured (live tests only) ## Instructions ### Strategy 1: Mock-Only CI (PR Checks) Use `msw` (Mock Service Worker) to intercept Graph API calls with zero Azure dependency: ```typescript // tests/mocks/handlers.ts import { http, HttpResponse } from "msw"; const GRAPH = "https://graph.microsoft.com/v1.0"; export const handlers = [ http.get(`${GRAPH}/me/onenote/notebooks`, () => HttpResponse.json({ value: [ { id: "nb-001", displayName: "Work Notes", createdDateTime: "2026-01-15T10:00:00Z" }, ]})), http.get(`${GRAPH}/me/onenote/sections/:sectionId/pages`, () => HttpResponse.json({ value: [ { id: "page-001", title: "Sprint Review", createdDateTime: "2026-03-10T14:00:00Z" }, ]})), http.post(`${GRAPH}/me/onenote/sections/:sectionId/pages`, async ({ request }) => { const body = await request.text(); if (!body.includes("<html")) { ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

onenote-local-dev-loop

Set up a local development loop for OneNote integrations with mock Graph API responses. Use when developing OneNote features without Azure credentials or to avoid rate limits during development. Trigger with "onenote local dev", "onenote mock", "onenote testing setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

evernote-ci-integration

Configure CI/CD pipelines for Evernote integrations. Use when setting up automated testing, continuous integration, or deployment pipelines for Evernote projects. Trigger with phrases like "evernote ci", "evernote github actions", "evernote pipeline", "automate evernote tests".

2,266 Updated today
jeremylongshore
AI & Automation Featured

onenote-core-workflow-a

Full CRUD lifecycle for OneNote notebooks, section groups, sections, and pages via Graph API. Use when building notebook management features, creating page hierarchies, or working with XHTML content. Trigger with "onenote crud", "onenote page management", "onenote notebook workflow".

2,266 Updated today
jeremylongshore
AI & Automation Featured

onenote-prod-checklist

Production readiness checklist for OneNote Graph API integrations covering auth, rate limits, and failure modes. Use when preparing a OneNote integration for production deployment or conducting a launch review. Trigger with "onenote production checklist", "onenote launch review", "onenote prod ready".

2,266 Updated today
jeremylongshore
AI & Automation Featured

onenote-reference-architecture

Reference architecture for OneNote integrations covering all notebook locations and API path patterns. Use when designing multi-tenant OneNote integrations or choosing between personal, SharePoint, and group notebook APIs. Trigger with "onenote architecture", "onenote api paths", "onenote sharepoint vs personal".

2,266 Updated today
jeremylongshore