grammarly-local-dev-loop

Solid

Configure Grammarly local development with hot reload and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Grammarly. Trigger with phrases like "grammarly dev setup", "grammarly local development", "grammarly dev environment", "develop with grammarly".

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

Install

View on GitHub

Quality Score: 97/100

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

Skill Content

# Grammarly Local Dev Loop ## Overview Set up a development workflow for Grammarly API integrations with mocked responses and vitest. ## Instructions ### Step 1: Project Structure ``` grammarly-integration/ ├── src/grammarly/ │ ├── client.ts # API client with token management │ ├── scoring.ts # Writing Score API │ ├── detection.ts # AI + Plagiarism detection │ └── types.ts # TypeScript interfaces ├── tests/ │ ├── fixtures/ # Mock API responses │ └── scoring.test.ts ├── .env.local └── package.json ``` ### Step 2: Mocked Tests ```typescript import { describe, it, expect, vi } from 'vitest'; const mockFetch = vi.fn(); vi.stubGlobal('fetch', mockFetch); describe('Writing Score', () => { it('should return scores for valid text', async () => { mockFetch.mockResolvedValueOnce({ ok: true, json: async () => ({ overallScore: 85, engagement: 80, correctness: 90, clarity: 85, tone: 82 }), }); // Test scoring logic }); it('should reject text under 30 words', async () => { mockFetch.mockResolvedValueOnce({ ok: false, status: 400, text: async () => 'Text too short' }); // Test error handling }); }); ``` ## Resources - [Grammarly API Docs](https://developer.grammarly.com/) ## Next Steps See `grammarly-sdk-patterns` for production patterns.

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

deepgram-local-dev-loop

Configure Deepgram local development workflow with testing and mocks. Use when setting up development environment, configuring test fixtures, or establishing rapid iteration patterns for Deepgram integration. Trigger: "deepgram local dev", "deepgram development setup", "deepgram test environment", "deepgram dev workflow", "deepgram mock".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-local-dev-loop

Configure Klaviyo local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with the Klaviyo API. Trigger with phrases like "klaviyo dev setup", "klaviyo local development", "klaviyo dev environment", "develop with klaviyo", "klaviyo testing".

2,266 Updated today
jeremylongshore
AI & Automation Featured

groq-local-dev-loop

Configure Groq local development with hot reload, mocking, and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Groq. Trigger with phrases like "groq dev setup", "groq local development", "groq dev environment", "develop with groq".

2,266 Updated today
jeremylongshore
AI & Automation Featured

hootsuite-local-dev-loop

Configure Hootsuite local development with hot reload and testing. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Hootsuite. Trigger with phrases like "hootsuite dev setup", "hootsuite local development", "hootsuite dev environment", "develop with hootsuite".

2,266 Updated today
jeremylongshore
AI & Automation Featured

cohere-local-dev-loop

Configure Cohere local development with mocking, testing, and hot reload. Use when setting up a development environment, configuring test workflows, or establishing a fast iteration cycle with Cohere API v2. Trigger with phrases like "cohere dev setup", "cohere local development", "cohere dev environment", "develop with cohere", "mock cohere".

2,266 Updated today
jeremylongshore