grammarly-security-basics

Featured

Security fundamentals for Grammarly API credential management. Use when setting up secure authentication and token handling for Grammarly integrations.

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

# Grammarly Security Basics ## Overview Grammarly processes user-written text content for grammar, tone, and style suggestions. Integrations handle document text that may contain confidential business communications, legal drafts, or personal correspondence. Security concerns include OAuth client credential management, ensuring user text is not persisted or logged unnecessarily, and protecting access tokens that grant read/write access to user documents and suggestion history. ## API Key Management ```typescript function createGrammarlyClient(): { clientId: string; clientSecret: string } { const clientId = process.env.GRAMMARLY_CLIENT_ID; const clientSecret = process.env.GRAMMARLY_CLIENT_SECRET; if (!clientId || !clientSecret) { throw new Error("Missing GRAMMARLY_CLIENT_ID or GRAMMARLY_CLIENT_SECRET"); } // Access tokens from client_credentials grant — never persist to disk console.log("Grammarly client initialized (client ID:", clientId.slice(0, 8), "...)"); return { clientId, clientSecret }; } ``` ## Webhook Signature Verification ```typescript import crypto from "crypto"; import { Request, Response, NextFunction } from "express"; function verifyGrammarlyWebhook(req: Request, res: Response, next: NextFunction): void { const signature = req.headers["x-grammarly-signature"] as string; const secret = process.env.GRAMMARLY_WEBHOOK_SECRET!; const expected = crypto.createHmac("sha256", secret).update(req.body).digest("hex"); if (!signature || !crypto...

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

grammarly-install-auth

Install and configure Grammarly SDK/CLI authentication. Use when setting up a new Grammarly integration, configuring API keys, or initializing Grammarly in your project. Trigger with phrases like "install grammarly", "setup grammarly", "grammarly auth", "configure grammarly API key".

2,266 Updated today
jeremylongshore
AI & Automation Solid

grammarly-webhooks-events

Implement Grammarly webhook signature validation and event handling. Use when setting up webhook endpoints, implementing signature verification, or handling Grammarly event notifications securely. Trigger with phrases like "grammarly webhook", "grammarly events", "grammarly webhook signature", "handle grammarly events", "grammarly notifications".

2,266 Updated today
jeremylongshore
AI & Automation Featured

glean-security-basics

Token security: Indexing tokens have write access -- never expose in frontend. Trigger: "glean security basics", "security-basics".

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-prod-checklist

Production readiness checklist for Grammarly API integrations. Use when preparing a Grammarly integration for production deployment.

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-sdk-patterns

Apply production-ready Grammarly SDK patterns for TypeScript and Python. Use when implementing Grammarly integrations, refactoring SDK usage, or establishing team coding standards for Grammarly. Trigger with phrases like "grammarly SDK patterns", "grammarly best practices", "grammarly code patterns", "idiomatic grammarly".

2,266 Updated today
jeremylongshore