Implements OAuth 2.0 and OpenID Connect flows with PKCE, state validation, and exact redirect allowlisting. Use when adding sign-in with a provider or integrating third-party APIs.
OAuth hands a third party a token to act as your user, so every gap in the flow is a path to account takeover. The dangerous mistakes are predictable: an authorization code interceptable in transit, a missing state check that opens cross-site request forgery, and a loose redirect that ships the code to an attacker's site. A correct implementation binds the request end to end and never trusts a redirect target it did not preregister.
code_challenge on the authorization request and the code_verifier on
the token exchange, for confidential and public clients alike. PKCE binds
the code to the client that started the flow, so an intercepted code is
useless. Do not use the deprecated implicit flow.state on every request. Create a random
state, store it in the user's session, and reject the callback if the
returned value does not match. Without it, an attacker can graft their
own authorization onto your user's session.https://app.com/* lets an attacker
redirect the code to their own host.iss, aud, and nonce, and ask only
for the scopes the feature needs. Do not treat a valid token issued to
one client as authorization for another.code_challenge and reject a token exchange
with the wrong code_verifier?state rejected?redirect_uri that is not on the exact allowlist fail before any
code is issued?This covers implementing the flows as a client or relying party, not running an authorization server, which carries its own token-issuance and consent duties. What a token authorizes once validated is an access-control question (see least-privilege). Follow your provider's documented endpoints and any extensions they require.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job