From grammarly-pack
Provides reference architecture, TypeScript project structure, and API matrix for Grammarly integrations including client, scoring, detection, and chunking.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin grammarly-packThis skill is limited to using the following tools:
```
Sets up Grammarly API local dev with TypeScript client, mocked Vitest tests, project structure, and fixtures for fast iteration and testing.
Optimizes project docs and READMEs for LLMs like Claude/Copilot via c7score scoring, llms.txt generation, question restructuring, and quality analysis.
Identifies grammar, logical, and flow errors in text with categorized, targeted fix suggestions. Useful for proofreading docs, emails, marketing copy, or drafts.
Share bugs, ideas, or general feedback.
┌────────────────────────────────────┐
│ Your Application │
├────────────────────────────────────┤
│ Content Quality Service │
│ (Score, AI Detect, Plagiarism) │
├────────────────────────────────────┤
│ Grammarly API Client │
│ (Auth, Retry, Cache, Chunking) │
├────────────────────────────────────┤
│ Grammarly APIs │
│ api.grammarly.com │
└────────────────────────────────────┘
grammarly-integration/
├── src/grammarly/
│ ├── client.ts # API client with token management
│ ├── scoring.ts # Writing Score API
│ ├── detection.ts # AI + Plagiarism detection
│ ├── chunking.ts # Large document splitting
│ └── types.ts # TypeScript interfaces
├── src/services/
│ ├── quality-gate.ts # Threshold enforcement
│ └── content-audit.ts # Full audit pipeline
├── tests/
└── .env.example
| Need | API | Notes |
|---|---|---|
| Grammar/style quality | Writing Score v2 | Sync, fast |
| AI content detection | AI Detection v1 | Sync, fast |
| Source matching | Plagiarism v1 | Async, poll |
| All three | Combined pipeline | Parallel where possible |
Start with grammarly-install-auth.