idorgham/gateflow/architecture

Claude Code and agent skill by idorgham/gateflow

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Monorepo structure, tech stack, and development patterns for GateFlow. Use when making codebase changes, architectural decisions, or debugging cross-app issues.

Install

npx vskill@latest install idorgham/gateflow/architecture

SKILL.md

The same SKILL.md was published earlier as idorgham/gateflow/architecture.

GateFlow Architecture

Monorepo Structure

LayerDetails
BuildTurborepo 2.x, pnpm 8.x workspaces
Appsclient-dashboard (3001), admin-dashboard (3002), scanner-app (8081), marketing (3000), resident-portal (3004), resident-mobile (8082)
Packages@gate-access/db, @gate-access/types, @gate-access/ui, @gate-access/config, @gate-access/api-client, @gate-access/i18n

Tech Stack

  • Frontend: Next.js 14 App Router only
  • Mobile: Expo SDK 54 with React Native
  • Database: PostgreSQL 15+, Prisma 5.x
  • Package manager: pnpm only — never npm or yarn
  • TypeScript: Strict, ES2020
  • Styling: Tailwind CSS 3.4+ with design tokens

Critical Conventions

  1. Multi-tenancy: Every DB query MUST scope by organizationId
  2. Soft deletes: Filter deletedAt: null; never hard delete
  3. IDs: Use cuid() for all model IDs
  4. Imports: Use workspace packages (@gate-access/*) not relative paths across apps
  5. Prisma: Schema at packages/db/prisma/schema.prisma — run prisma generate after changes

Commands

bash
pnpm install
pnpm turbo dev
pnpm turbo dev --filter=client-dashboard
pnpm turbo build
cd packages/db && npx prisma generate
cd packages/db && npx prisma migrate dev

Adding a New Feature

  1. Types → packages/types
  2. UI components → packages/ui if shared
  3. Prisma schema → migrate → prisma generate
  4. Implement in app(s)
  5. Update docs

Cross-App Communication

  • Shared types: @gate-access/types
  • API client: @gate-access/api-client
  • Never import directly between apps

Anti-Patterns

  • ❌ npm or yarn
  • ❌ Hard deletes
  • ❌ Queries without organizationId
  • ❌ Relative imports across apps
  • ❌ Storing secrets in code

Reference: CLAUDE.md, docs/PROJECT_STRUCTURE.md

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
7-day trend score
13

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/idorgham/gateflow/architecture/badge)](https://verified-skill.com/skills/idorgham/gateflow/architecture)

Something wrong with this skill or its page? Tell us.