From grammarly-pack
Configures Grammarly Enterprise RBAC with OAuth scopes and TypeScript clients for team-specific access to scores, AI detection, and plagiarism APIs.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin grammarly-packThis skill is limited to using the following tools:
Manage Grammarly enterprise access with OAuth scopes and organization-level API credentials.
Configures Grammarly API authentication via OAuth for enterprise accounts. Sets up env vars, fetches bearer tokens, and verifies connection with TypeScript scripts.
Implements RBAC for Gamma API integrations using TypeScript role definitions and Express middleware. Enforces per-user permissions for teams, multi-tenant access, and enterprise auth.
Configures Documenso enterprise RBAC and team management with TypeScript SDK examples for permissions, API keys, roles, and app-level authorization.
Share bugs, ideas, or general feedback.
Manage Grammarly enterprise access with OAuth scopes and organization-level API credentials.
| Scope | Access |
|---|---|
scores-api:read | Read writing scores |
scores-api:write | Submit text for scoring |
ai-detection:read | Read AI detection results |
plagiarism:read | Read plagiarism results |
const teamClients = {
content: new GrammarlyClient(process.env.GRAMMARLY_CONTENT_ID!, process.env.GRAMMARLY_CONTENT_SECRET!),
marketing: new GrammarlyClient(process.env.GRAMMARLY_MARKETING_ID!, process.env.GRAMMARLY_MARKETING_SECRET!),
};
function canUseAPI(team: string, api: 'score' | 'ai' | 'plagiarism'): boolean {
const permissions: Record<string, string[]> = {
content: ['score', 'ai', 'plagiarism'],
marketing: ['score'],
engineering: ['score', 'ai'],
};
return permissions[team]?.includes(api) ?? false;
}