Stats
Actions
Tags
From grammarly-pack
Executes Grammarly API outage triage: curl health checks, severity classification, TypeScript fallback implementation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grammarly-pack:grammarly-incident-runbookThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
# Test API health
curl -s -o /dev/null -w "%{http_code}" \
https://api.grammarly.com/ecosystem/api/v2/scores
# Test with auth
curl -s -w "\n%{http_code}" \
-H "Authorization: Bearer $GRAMMARLY_ACCESS_TOKEN" \
-X POST https://api.grammarly.com/ecosystem/api/v2/scores \
-H "Content-Type: application/json" \
-d '{"text": "Test sentence with enough words for minimum requirement for the Grammarly writing score API diagnostic check."}'
| Severity | Condition | Action |
|---|---|---|
| P1 | API returns 5xx for all requests | Activate fallback, notify stakeholders |
| P2 | Intermittent 5xx or high latency | Enable retry logic, monitor |
| P3 | Specific endpoint failing | Route around, file support ticket |
async function scoreWithFallback(text: string, token: string) {
try {
return await grammarlyClient.score(text);
} catch {
console.warn('Grammarly API unavailable, returning placeholder');
return { overallScore: -1, correctness: -1, clarity: -1, engagement: -1, tone: -1, fallback: true };
}
}
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin grammarly-packDiagnoses Grammarly API errors like 400/401/413/429 with fixes for auth, chunking, backoff. Includes curl tests for connectivity and scoring endpoint.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.