rule-api-auth

Community

Enforce API auth conventions with consistency.

Authorbtabaska
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enforces consistent authentication and authorization practices for the API by codifying project-wide rules for editing files under api/src/auth and related test patterns.

Core Features & Use Cases

  • Module Organization: Enforces placing each auth mechanism in its own file under api/src/auth and requires matching test files following the repository conventions.
  • Security Scheme Registration: Requires explicit registration of every auth scheme in get_app_security_scheme() to ensure API security surfaces are declared and auditable.
  • Multi-Auth Composition & Testing: Guides the creation of multi-auth configurations with proper decorators, and defines testing approaches using isolated Flask mini-app fixtures as the baseline.

Quick Start

Run a minimal Flask-based auth test to validate a new module against the repository's security rules.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rule-api-auth
Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#rule-api-auth

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.