AI SummaryA Windsurf rules booster that guides development of a production-ready Rust authentication library supporting OAuth2/OIDC and WebAuthn/Passkey for web applications. Developers building secure web services with Axum will benefit from structured development guidelines and best practices.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "oauth2-passkey — Windsurf Rules" prompt rules to my project. Repository: https://github.com/ktaka-ccmp/oauth2-passkey Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Authentication library for Rust web applications with OAuth2/OIDC and WebAuthn/Passkey support.
Development Guidelines
Primary Reference: See CLAUDE.md for complete development guidelines. All development guidelines have been consolidated into CLAUDE.md including:
Library Design Principles
• Publication readiness for crates.io • Simplicity and minimal dependencies • Error handling with thiserror (not anyhow) • Minimal visibility and proper re-exports
Development Workflow
• Minimal, targeted changes only • Explicit approval required for scope changes • Meaningful commit messages • Error safety (avoid unwrap/expect)
Testing Standards
• Incremental testing (one test at a time) • Approval required before proceeding to next file • Non-invasive testing approach • Test placement at bottom of files • Use test_utils module for setup
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts