Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

astro-best-practices

Sterne11
Forks6
Aktualisiert7. Mai 2026 um 20:16

Best practices and conventions for writing Quickspense application code on Astro 5 SSR + Cloudflare Workers + D1 + Drizzle ORM in a pnpm monorepo (apps/web, apps/worker, packages/domain). Covers server-first data fetching in `.astro` frontmatter, Astro Actions for client → server mutations (`apps/web/src/actions/`), Astro API route handlers reserved for webhooks and external integrations, Zod schemas exported from `@quickspense/domain`, `Astro.locals.user` auth, Drizzle/D1 query patterns via `createDb(locals.runtime.env.DB)` and the `@quickspense/domain` services namespace, React component data flow (props from server, no useEffect fetching), Workflows (background processing via service binding to apps/worker), MCP server patterns, design tokens in `apps/web/src/styles/global.css`, named exports, shared types from `@quickspense/domain`, and file placement across the monorepo. Use this skill whenever writing or modifying `.astro` pages, Astro Actions, files under `apps/web/src/pages/api/`, Drizzle queries, val

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly