Skip to content
Prompt

passport — Cursor Rules

by passportxyz

AI Summary

You are working with the Gitcoin Passport monorepo, a Lerna/Yarn workspace project for identity verification through verifiable credentials. This is a monorepo with these key packages: The app uses a palette system with CSS custom properties. ALWAYS use theme-defined color tokens:

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "passport — Cursor Rules" prompt rules to my project.
Repository: https://github.com/passportxyz/passport

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

Passport allows users to prove their identity through a secure, decentralized UI

Architecture Overview

This is a monorepo with these key packages: • app - Next.js frontend (React/TypeScript, Tailwind CSS, Chakra UI) • iam - Express backend for credential issuance/verification • embed - Service for embedding passport functionality • database-client - Database connection layer (Ceramic Network) • identity - Helper package for DIDKit and identity functions • platforms - Shared platform providers and verification logic • types - Shared TypeScript definitions • embed-popup - Vite-based UI for embedded experiences

Gitcoin Passport Monorepo - Cursor AI Rules

You are working with the Gitcoin Passport monorepo, a Lerna/Yarn workspace project for identity verification through verifiable credentials.

Build specific package

yarn workspace @gitcoin/passport-app build yarn workspace @gitcoin/passport-iam build `

Package-Specific Commands:

App (Frontend): `bash cd app/ yarn start # Dev server on port 3000 yarn test # Vitest tests yarn test:watch # Watch mode ` IAM Service: `bash cd iam/ yarn debug # Start on port 65535 with nodemon yarn test # Jest tests ` Embed Service: `bash cd embed/ yarn debug # Start with nodemon yarn test # Jest tests `

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 9d ago
Active
Adoption1K+ stars on GitHub
1.2k ★ · Popular
DocsMissing or thin
Undocumented

GitHub Signals

Stars1.2k
Forks515
Issues929
Updated9d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more