OpenParable
Skip to content
← Back to skills

Passkeys Web

Development
passkeys-web

Passkeys Web is an Agent Skill for development published in the GoogleChrome/modern-web-guidance-src repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

A skill for implementing passkey in web applications. You MUST use this skill whenever a user asks about passkey registartion, passkey authentication or passkey management. It defines the required database schema, API usage, and security best practices.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/GoogleChrome/modern-web-guidance-src/blob/HEAD/skills-src/passkeys/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/passkeys-web, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Passkeys Implementation Guide (Web)

This skill provides a modular guide to implementing passkeys

Implementation Phase

Evaluation

References

You MUST read the following references when implementing their respective features:

  • Conditional Create: Read this before implementing automatic passkey creation or conditional create.
  • Conditional Mediation: Read this before implementing form autofill based passkey authentication.
  • Signal API: Read this before implementing any PublicKeyCredential.signal* methods.
  • AAGUID Resolution: Read this before saving a new credential to the database during registration to map the provider name and icon.

Recommended Libraries

For backend, using a library is recommended. Here's a list of recommended open source libraries per language:

If you are using one of the libraries above, use the following skills:

  • Use [[simplewebauthn]] skill when implementing passkeys using SimpleWebAuthn