Agent Skills: Grammarly Multi-Environment Setup

|

UncategorizedID: jeremylongshore/claude-code-plugins-plus-skills/grammarly-multi-env-setup

Install this agent skill to your local

pnpm dlx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/HEAD/plugins/saas-packs/grammarly-pack/skills/grammarly-multi-env-setup

Skill Files

Browse the full folder contents for grammarly-multi-env-setup.

Download Skill

Loading file tree…

plugins/saas-packs/grammarly-pack/skills/grammarly-multi-env-setup/SKILL.md

Skill Metadata

Name
grammarly-multi-env-setup
Description
|

Grammarly Multi-Environment Setup

Instructions

Step 1: Environment-Specific Credentials

const config = {
  development: {
    clientId: process.env.GRAMMARLY_DEV_CLIENT_ID!,
    clientSecret: process.env.GRAMMARLY_DEV_CLIENT_SECRET!,
  },
  production: {
    clientId: process.env.GRAMMARLY_PROD_CLIENT_ID!,
    clientSecret: process.env.GRAMMARLY_PROD_CLIENT_SECRET!,
  },
};

const env = process.env.NODE_ENV || 'development';
const client = new GrammarlyClient(config[env].clientId, config[env].clientSecret);

Step 2: Rate Limit Tiers by Environment

const rateLimits = {
  development: { concurrency: 1, intervalCap: 2 },
  staging: { concurrency: 2, intervalCap: 5 },
  production: { concurrency: 5, intervalCap: 10 },
};

Resources