webdev-readme-fullstack

Guides fullstack web app development on a React, tRPC, Drizzle, and Manus OAuth template.

1|Updated Jul 17, 2026
One-click install
npx skills add https://github.com/waiyanphyo999/telegram-bot-deploy --skill webdev-readme-fullstack-waiyanphyo999
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: webdev-readme-fullstack
Source: https://github.com/waiyanphyo999/telegram-bot-deploy/tree/main/skills/webdev-readme-fullstack
Command: npx skills add https://github.com/waiyanphyo999/telegram-bot-deploy --skill webdev-readme-fullstack-waiyanphyo999

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building a fullstack web app from scratch requires wiring authentication, database access, API contracts, and frontend data fetching, which is error-prone and slow. This Skill provides the complete development guide for a pre-configured template where auth, database, file storage, and typed APIs already work out of the box. ## Core Features & Use Cases - End-to-end typed workflow: Define tRPC procedures in server/routers.ts, add Drizzle schema tables, and consume typed hooks in React with no manual REST routes or contract files. - Built-in auth and RBAC: Manus OAuth is pre-wired with protectedProcedure, adminProcedure, and a role field for gating admin-only features. - Frontend and design guidance: Covers shadcn/ui usage, Tailwind theming, animation timing rules, dashboard vs public-facing layout decisions, and media handling via storage uploads. - Use Case: You need to build an internal analytics dashboard with user login. Follow the build loop: update drizzle/schema.ts, generate migrations, add query helpers and procedures, then wire the UI with trpc hooks and DashboardLayout. ## Quick Start Ask the agent to initialize a new fullstack webdev project and add a feature such as a task list with login-protected pages.

Frequently Asked Questions about webdev-readme-fullstack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new feature to a tRPC fullstack app?

Follow the four-step build loop: update tables in drizzle/schema.ts and generate migrations, add query helpers in server/db.ts, create procedures in server/routers.ts, then wire the UI with trpc.*.useQuery and useMutation hooks. Cover changes with Vitest specs.

How does authentication work in this web template?

Manus OAuth completes at /api/oauth/callback and sets a session cookie. Each tRPC request builds context with the current user as ctx.user, and protectedProcedure guards private logic. The frontend reads auth state via useAuth() and trpc.auth.me.useQuery().

Can I store images in the client public folder?

No, local media in client/public or client/src/assets causes deployment timeouts. Upload assets with the manus-upload-file CLI, reference the returned storage path in code, and keep originals outside the project directory.

How do I implement admin-only access in a tRPC app?

The user table includes a role enum field with admin and user values. Wrap admin-only logic in an adminProcedure that checks ctx.user.role and throws FORBIDDEN, and conditionally render admin routes on the frontend using useAuth().

When should I use optimistic updates versus invalidate in tRPC mutations?

Use optimistic updates with onMutate and onError rollback for list operations, toggles, and profile edits where instant feedback matters. For critical operations like payments or auth, use invalidate with explicit loading states instead.