aws-solutions-library-samples

API Rbac Test — Testing skill for Claude Code

Testing community

API RBAC Test — GenAI IDP Accelerator.

How to install API Rbac Test

Installs to ~/.claude/skills/aws-solutions-library-samples-accelerated-intelligent-document-processing-on-aws-api-rbac-test/SKILL.md

Terminal
mkdir -p ~/.claude/skills/aws-solutions-library-samples-accelerated-intelligent-document-processing-on-aws-api-rbac-test && curl -fsSL https://raw.githubusercontent.com/aws-solutions-library-samples/accelerated-intelligent-document-processing-on-aws/HEAD/.claude/skills/api-rbac-test.md -o ~/.claude/skills/aws-solutions-library-samples-accelerated-intelligent-document-processing-on-aws-api-rbac-test/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What API Rbac Test does

API RBAC Test — GenAI IDP Accelerator

Use this skill to verify that **every** UI API operation is correctly protected by (a) its required Cognito group(s) and (b) config-version scope, using two complementary layers that share one source of truth:

  1. Static scan (make api-test-static) — no AWS, CI-safe. Cross-checks the op universe, the schema directives, and the expectations file for drift and missing server-side checks.
  2. Dynamic tests (make api-test STACK_NAME=)

Alternatives in Testing

  • Webapp Testing — Test local web applications using Playwright for UI verification and debugging 94.1k ★
  • Regen API — Regenerate the OpenAPI spec and web API client after server API changes 2.5k ★
  • Inkline — by inkline - Structures development workflow using pnpm with emphasis on TypeScript and Vue 3 Composition API 1.4k ★

Full documentation available on GitHub

View Source Repository