/grammarly-pack:grammarly-migration-deep-divefrom grammarly-pack
Guides migration from the deprecated Grammarly Text Editor SDK to current REST APIs (Writing Score v2, AI Detection v1, Plagiarism Detection v1). Includes code examples and key differences.
Ships in grammarly-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flight505/skill-forge --plugin grammarly-pack24 skills in this plugin
/grammarly-ci-integrationConfigure Grammarly CI/CD integration with GitHub Actions and testing.
Use when setting up automated testing, configuring CI pipelines,
or integrating Grammarly tests into your build process.
Trigger with phrases like "grammarly CI", "grammarly GitHub Actions",
"grammarly automated tests", "CI grammarly".
/grammarly-common-errorsDiagnose and fix Grammarly common errors and exceptions.
Use when encountering Grammarly errors, debugging failed requests,
or troubleshooting integration issues.
Trigger with phrases like "grammarly error", "fix grammarly",
"grammarly not working", "debug grammarly".
/grammarly-core-workflow-aExecute Grammarly primary workflow: Core Workflow A.
Use when implementing primary use case,
building main features, or core integration tasks.
Trigger with phrases like "grammarly main workflow",
"primary task with grammarly".
/grammarly-core-workflow-bExecute Grammarly secondary workflow: Core Workflow B.
Use when implementing secondary use case,
or complementing primary workflow.
Trigger with phrases like "grammarly secondary workflow",
"secondary task with grammarly".
/grammarly-cost-tuningOptimize Grammarly costs through tier selection, sampling, and usage monitoring.
Use when analyzing Grammarly billing, reducing API costs,
or implementing usage monitoring and budget alerts.
Trigger with phrases like "grammarly cost", "grammarly billing",
"reduce grammarly costs", "grammarly pricing", "grammarly expensive", "grammarly budget".
/grammarly-data-handlingImplement Grammarly data handling patterns for document processing.
Use when handling large documents, managing text chunking,
or implementing data pipelines for Grammarly API.
Trigger with phrases like "grammarly data", "grammarly documents",
"grammarly text processing", "grammarly pipeline".
Other plugins' skills for the same job