From grammarly-pack
Guides migration from Grammarly's deprecated Text Editor SDK to server-side REST APIs for writing scores, AI detection, and plagiarism checking.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin grammarly-packThis skill is limited to using the following tools:
The Grammarly Text Editor SDK was deprecated January 2024. Current APIs are Writing Score (v2), AI Detection (v1), and Plagiarism Detection (v1). This skill covers migrating from the deprecated SDK to the current REST APIs.
Provides reference architecture, TypeScript project structure, and API matrix for Grammarly integrations including client, scoring, detection, and chunking.
Audits prose for 21 AI writing patterns and rewrites using 43-entry replacement table. Use after AI drafting docs, blogs, marketing copy, or communications.
Removes signs of AI-generated writing from text to make it sound natural and human-like. Fixes patterns like inflated symbolism, promotional language, em dash overuse, passive voice, and filler phrases.
Share bugs, ideas, or general feedback.
The Grammarly Text Editor SDK was deprecated January 2024. Current APIs are Writing Score (v2), AI Detection (v1), and Plagiarism Detection (v1). This skill covers migrating from the deprecated SDK to the current REST APIs.
<!-- The deprecated approach embedded Grammarly in text editors -->
<script src="https://cdn.grammarly.com/grammarly-sdk.js"></script>
<grammarly-editor-plugin client-id="YOUR_ID">
<textarea></textarea>
</grammarly-editor-plugin>
// Server-side scoring replaces client-side editor integration
async function scoreContent(text: string) {
const token = await getAccessToken();
const response = await fetch('https://api.grammarly.com/ecosystem/api/v2/scores', {
method: 'POST',
headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json' },
body: JSON.stringify({ text }),
});
return response.json();
}
| Feature | Deprecated SDK | Current API |
|---|---|---|
| Execution | Client-side | Server-side |
| Real-time suggestions | Yes | No |
| Writing scores | No | Yes |
| AI detection | No | Yes |
| Plagiarism detection | No | Yes |