onenote-local-dev-loop

Featured

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

AI & Automation 2,926 stars 433 forks Updated yesterday 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 Local Dev Loop ## Overview Testing OneNote integrations typically requires Azure AD credentials and live Graph API calls, which means authentication friction on every dev session and risk of hitting the 600 req/60s rate limit during rapid iteration. This skill sets up a local development loop with mock Graph responses so you can develop and test OneNote features without Azure credentials, without rate limits, and with instant feedback. The mock layer intercepts HTTP calls to `graph.microsoft.com` and returns realistic fixture data, including the XHTML output format that differs from input format. You can switch between mock and live Graph with a single environment variable. ## Prerequisites - Node.js 18+ or Python 3.10+ - Familiarity with your project's test framework (vitest/jest for Node, pytest for Python) - Optional: completed `onenote-install-auth` for live mode switching ## Instructions ### Step 1: Project Structure ``` my-onenote-app/ ├── .env # GRAPH_MODE=mock or GRAPH_MODE=live ├── .env.example # Template (commit this, not .env) ├── src/ │ ├── client.ts # Graph client factory (mock/live switching) │ ├── onenote.ts # Business logic (testable) │ └── types.ts # OneNote type definitions ├── tests/ │ ├��─ fixtures/ │ �� ����─ notebooks.json # Mock notebook list response │ │ ├── sections.json # Mock section list response │ │ ├── pag...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category