Imported from tiagogcastro/google-cloud-learning (
AGENTS.md). Install upstream withnpx skills add tiagogcastro/google-cloud-learning. Copyright stays with the author.
AGENTS.md
Guidance for AI coding agents working in this repository.
Project
Google Cloud Document AI study app (2023): Next.js 14 App Router project that processes documents with Google Document AI, with NextAuth (Google provider) protecting the processing area.
Commands
npm install
cp .env.example .env # NextAuth + Google Cloud credentials
npm run dev # http://localhost:3000
Structure
src/app/google-document-ai: processing UI (ProcessFilecomponent)src/app/api/documentai: route handler wrapping Document AI callssrc/app/api/auth/[...nextauth]: Google OAuth configurationsrc/app/api/protegida: example protected route- shadcn/ui setup via
components.json
Rules for agents
- Docs-only maintenance phase: no dependency upgrades or runtime behavior changes