grammarly-hello-world

Featured

Create a minimal working Grammarly example. Use when starting a new Grammarly integration, testing your setup, or learning basic Grammarly API patterns. Trigger with phrases like "grammarly hello world", "grammarly example", "grammarly quick start", "simple grammarly code".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Grammarly Hello World ## Overview Score a text document using Grammarly's Writing Score API. Returns an overall score plus sub-scores for engagement, correctness, tone, and clarity. ## Prerequisites - Completed `grammarly-install-auth` setup - Valid access token with `scores-api:read` scope ## Instructions ### Step 1: Score a Document ```typescript // hello-grammarly.ts import 'dotenv/config'; const TOKEN = process.env.GRAMMARLY_ACCESS_TOKEN!; async function scoreText(text: string) { 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 }), }); const result = await response.json(); console.log('Overall Score:', result.overallScore); console.log('Engagement:', result.engagement); console.log('Correctness:', result.correctness); console.log('Clarity:', result.clarity); console.log('Tone:', result.tone); return result; } scoreText('Their going to the store tommorow to buy there supplys for the trip.').catch(console.error); ``` ### Step 2: AI Detection ```typescript async function detectAI(text: string) { const response = await fetch('https://api.grammarly.com/ecosystem/api/v1/ai-detection', { method: 'POST', headers: { 'Authorization': `Bearer ${TOKEN}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ text }), }); ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

grammarly-core-workflow-a

Execute 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".

2,266 Updated today
jeremylongshore
AI & Automation Solid

grammarly-common-errors

Diagnose 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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-observability

Implement Grammarly observability with metrics and logging. Use when setting up monitoring, tracking API performance, or implementing alerting for Grammarly integrations. Trigger with phrases like "grammarly monitoring", "grammarly metrics", "grammarly observability", "grammarly logging", "grammarly alerts".

2,266 Updated today
jeremylongshore
AI & Automation Solid

grammarly-data-handling

Implement 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".

2,266 Updated today
jeremylongshore
AI & Automation Featured

grammarly-ci-integration

Configure 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".

2,266 Updated today
jeremylongshore