onenote-hello-world

Featured

Create your first OneNote notebook, section, and page with correct XHTML content. Use when starting a new OneNote integration or testing Graph API connectivity. Trigger with "onenote hello world", "first onenote page", "create onenote notebook".

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 Hello World ## Overview Create your first OneNote notebook, section, and page through the Graph API. The critical pitfall this skill addresses: OneNote pages require strict XHTML (not regular HTML). Missing closing tags, unsupported attributes, or table features like `rowspan`/`colspan` cause silent content corruption where the API returns 200 OK but the page renders incorrectly or with missing content. This skill walks through the full creation chain — notebook, section, page — with correct XHTML, then reads back the content to demonstrate that output HTML differs from input HTML. ## Prerequisites - Completed `onenote-install-auth` — you have a working `GraphServiceClient` (Python) or `Client` (TypeScript) - Azure AD app with `Notes.ReadWrite` permission scope - Node.js 18+ or Python 3.10+ ## Instructions ### Step 1: Create a Notebook ```typescript // TypeScript — create a new notebook const notebook = await client.api("/me/onenote/notebooks").post({ displayName: "Dev Integration Test" }); console.log(`Notebook created: ${notebook.displayName} (${notebook.id})`); // Save notebook.id — you need it for creating sections ``` ```python # Python — create a new notebook from msgraph.generated.models.notebook import Notebook request_body = Notebook(display_name="Dev Integration Test") notebook = await client.me.onenote.notebooks.post(request_body) print(f"Notebook created: {notebook.display_name} ({notebook.id})") ``` **Naming rules:** Notebook names must be ...

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-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

evernote-hello-world

Create a minimal working Evernote example. Use when starting a new Evernote integration, testing your setup, or learning basic Evernote API patterns. Trigger with phrases like "evernote hello world", "evernote example", "evernote quick start", "simple evernote code", "create first note".

2,266 Updated today
jeremylongshore
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

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
AI & Automation Featured

onenote-install-auth

Install and configure OneNote SDK/API authentication with delegated auth (MSAL). Use when setting up a new OneNote integration, configuring Azure AD app registration, or migrating from deprecated app-only auth. Trigger with "install onenote", "setup onenote auth", "onenote credentials", "azure ad onenote".

2,266 Updated today
jeremylongshore