grammarly-core-workflow-a

Featured

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

AI & Automation 2,926 stars 433 forks Updated yesterday 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 Writing Score Integration ## Overview Integrate Grammarly's Writing Score API into your application. Score documents, track writing quality over time, and provide feedback. The API evaluates text across four dimensions: engagement, correctness, clarity, and tone. ## Prerequisites - Completed `grammarly-install-auth` setup - Understanding of score dimensions ## Instructions ### Step 1: Typed Score Client ```typescript // src/grammarly/scoring.ts interface WritingScore { overallScore: number; engagement: number; correctness: number; clarity: number; tone: number; } interface ScoreRequest { text: string; audienceType?: 'general' | 'knowledgeable' | 'expert'; domain?: 'academic' | 'business' | 'general' | 'email' | 'casual'; } async function scoreDocument(req: ScoreRequest, token: string): Promise<WritingScore> { 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(req), }); if (!response.ok) throw new Error(`Grammarly API ${response.status}: ${await response.text()}`); return response.json(); } ``` ### Step 2: Batch Document Scoring ```typescript async function batchScore(documents: string[], token: string): Promise<WritingScore[]> { const results: WritingScore[] = []; for (const doc of documents) { if (doc.split(/\s+/).length < 30) { console.warn('Skipping...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category