From grammarly-pack
Configures Grammarly Enterprise RBAC with OAuth scopes and TypeScript clients for team-specific access to scores, AI detection, and plagiarism APIs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/grammarly-pack:grammarly-enterprise-rbacThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage Grammarly enterprise access with OAuth scopes and organization-level API credentials.
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;
}
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin grammarly-packConfigures 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.