/grammarly-pack:grammarly-common-errorsfrom grammarly-pack
Diagnoses and fixes common Grammarly API errors including 400, 401, 413, 429 status codes and plagiarism check issues. Provides curl-based diagnostics for troubleshooting integration problems.
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.
Cause: Text has fewer than 30 words. Fix: Ensure minimum 30 words. Pad short texts with context if needed.
Cause: Token expired or invalid. Fix: Re-authenticate with client credentials grant.
Cause: Text exceeds 100,000 characters or 4 MB.
Fix: Split into chunks using paragraph boundaries. See grammarly-sdk-patterns for chunking function.
Cause: Rate limit exceeded.
Fix: Implement exponential backoff. See grammarly-rate-limits.
Cause: Large document processing or service delay. Fix: Poll every 3-5 seconds, timeout after 90 seconds.
Cause: Short text produces unreliable results. Fix: AI detection works best on 200+ words. Scores on short text are less reliable.
# Test API connectivity
curl -s -o /dev/null -w "%{http_code}" \
-H "Authorization: Bearer $GRAMMARLY_ACCESS_TOKEN" \
https://api.grammarly.com/ecosystem/api/v2/scores
# Test with sample text
curl -X POST https://api.grammarly.com/ecosystem/api/v2/scores \
-H "Authorization: Bearer $GRAMMARLY_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"text": "This is a test sentence that has more than thirty words so that the API will accept it and return a valid writing score for our diagnostic purposes."}' | python3 -m json.tool
For debugging tools, see grammarly-debug-bundle.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 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-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".
/grammarly-debug-bundleCollect Grammarly debug evidence for support tickets and troubleshooting.
Use when encountering persistent issues, preparing support tickets,
or collecting diagnostic information for Grammarly problems.
Trigger with phrases like "grammarly debug", "grammarly support bundle",
"collect grammarly logs", "grammarly diagnostic".
npx claudepluginhub flight505/skill-forge --plugin grammarly-packOther plugins' skills for the same job