agentsclimarketplace

Grammarly common errors

Skill jeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/grammarly-pack/skills/grammarly-common-errors

'Diagnose and fix Grammarly common errors and exceptions.From its SKILL.md

Install
npx -y skills add jeremylongshore/claude-code-plugins-plus-skills --skill grammarly-common-errors

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.1 KB, 411 tokens by cl100k_base, as published. Nobody here has run it

Grammarly Common Errors

Error Reference

400 Bad Request — Text Too Short

Cause: Text has fewer than 30 words. Fix: Ensure minimum 30 words. Pad short texts with context if needed.

401 Unauthorized

Cause: Token expired or invalid. Fix: Re-authenticate with client credentials grant.

413 Payload Too Large

Cause: Text exceeds 100,000 characters or 4 MB. Fix: Split into chunks using paragraph boundaries. See grammarly-sdk-patterns for chunking function.

429 Too Many Requests

Cause: Rate limit exceeded. Fix: Implement exponential backoff. See grammarly-rate-limits.

Plagiarism Check Stuck on "pending"

Cause: Large document processing or service delay. Fix: Poll every 3-5 seconds, timeout after 90 seconds.

AI Detection — Inconsistent Scores

Cause: Short text produces unreliable results. Fix: AI detection works best on 200+ words. Scores on short text are less reliable.

Quick Diagnostics

# 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

Resources

  • Grammarly API Support

Next Steps

For debugging tools, see grammarly-debug-bundle.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.