← All skills
Tencent SkillHub Β· AI

Web Architecture

Multi-agent orchestration for complex TypeScript/Next.js/Convex projects. Phased builds, functional verification, the full playbook for delegating to sub-agents without chaos.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Multi-agent orchestration for complex TypeScript/Next.js/Convex projects. Phased builds, functional verification, the full playbook for delegating to sub-agents without chaos.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
CODING-STANDARDS.md, CONTRACTS-TEMPLATE.md, SKILL.md, TECH-REQ.md

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
0.1.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 16 sections Open source page

Web Architecture

Multi-agent development workflow for TypeScript/Next.js/Convex projects. Born from: 29 agents, 50K lines, 212 errors, 1 hard lesson

No Timeouts

Sub-agents MUST run without timeout limits. A 10-minute timeout that cuts off an agent mid-implementation leaves broken, partial code. Let agents finish.

Completion Means Working, Not Compiling

"Build passes" is necessary but NOT sufficient. Before marking ANY phase complete, verify: Functions actually work β€” Call them, verify data flows UI actually renders data β€” Not just loading spinners forever User flows complete end-to-end β€” Click through, verify state changes persist Error states are handled β€” Not just happy path

The Lesson

An agent produced 15K lines of "working" code that: βœ… Compiled with zero TypeScript errors βœ… Passed bun run build ❌ Had ZERO actual functionality ❌ All data was mocked or hardcoded ❌ Every button was a no-op Self-grade: 5/10 β€” A prototype, not a product.

The Core Lesson

Single agent with full context > Many agents with partial context 29 parallel agents wrote 50K lines of code that didn't compile. Why? No schema coordination β†’ duplicate table definitions No type contracts β†’ frontend expected user.role, backend returned profile.plan No initialization β†’ npx convex dev never ran, no generated types No integration checkpoints β†’ errors discovered only at the end The fix: One agent with full context rewrote the entire Convex backend in 11 minutes.

When to Use Multi-Agent

βœ… Good for parallel work: Marketing pages (after design system exists) Documentation files (independent) Isolated features with clear contracts ❌ Bad for parallel work: Schema design (needs single owner) Core type definitions (must be shared) Interconnected backend functions Component library (needs consistency)

Phase 0: Bootstrap (SEQUENTIAL β€” One Agent)

Must complete before spawning ANY other agents. Initialize project structure Initialize Convex: npx convex dev --once Create complete schema.ts (ALL tables) Run npx convex dev to generate types Create CONTRACTS.md (all data shapes) Create shared types in lib/types.ts Verify: bun run build passes Deliverables: convex/schema.ts β€” Complete, no TODOs convex/_generated/ β€” Types generated CONTRACTS.md β€” API shapes documented lib/types.ts β€” Shared frontend types bun run build β€” Passes with 0 errors

Phase 1: Foundation Documents (CAN BE PARALLEL)

Only spawn AFTER Phase 0 completes. AgentOutputDependenciesTech RequirementsTECH-REQ.mdNoneComplianceCOMPLIANCE.mdNoneDesign PrinciplesDESIGN.mdNoneCoding StandardsSTANDARDS.mdNone Rule: These agents READ the schema. They do NOT modify it.

Phase 2: Backend Implementation (SEQUENTIAL or CAREFUL PARALLEL)

Option A: Single Backend Agent (Recommended) One agent implements all Convex functions Consistent patterns, no conflicts Option B: Parallel with File Locks Each agent owns specific files NO shared file writes Must reference CONTRACTS.md Functional Requirements: Test CRUD operations β€” Create, read, update, delete Verify queries return data β€” Not empty arrays Check mutations persist β€” Data survives refresh Test auth guards β€” Protected functions reject unauthorized Verify indexes work β€” Queries return correct filtered data

Phase 3: Component Library (SEQUENTIAL)

Single agent builds the component library. Why? Components reference each other. Parallel work creates duplicate components with different APIs. Functional Requirements: Interactive states work β€” Buttons trigger onClick Form components submit β€” Not just styled divs Loading/error states exist Accessibility basics β€” Labels, ARIA, keyboard nav Consistent API β€” All components follow same patterns

Phase 4: Features & Pages (CAN BE PARALLEL)

Now safe to parallelize because schema is locked, types exist, components exist. AgentScopeCan ModifyAdmin Suite/app/(admin)/**Own files onlySupport Portal/app/(support)/**Own files onlyMarketing Pages/app/(marketing)/**Own files onlyUser Flows/app/(app)/**Own files only Rules: Read schema, types, contracts β€” don't modify Use existing components β€” don't recreate Write to assigned directories only Functional Requirements: Page loads without console errors Data appears (not mock/placeholder) Forms submit and persist data Can complete full user flow (create β†’ view β†’ edit β†’ delete) Refresh preserves state Red flags (NOT complete): // TODO comments in business logic Hardcoded arrays instead of useQuery onClick handlers that console.log instead of mutate "Coming soon" placeholders in core features

Phase 5: Integration & QA (SEQUENTIAL)

bun run build (must pass) npx convex dev --once (must pass) Generate sitemap from routes Route crawl & 404 check Browser smoke test (all routes return 200) End-to-end flow verification E2E Verification Checklist: Auth Flow: Sign up creates user in database Sign in authenticates and redirects Protected routes redirect to sign-in Core CRUD Flow: Create: Form submits β†’ record appears Read: List shows real data Update: Edit form saves β†’ changes persist Delete: Remove action β†’ record gone

Directory Structure

project/ β”œβ”€β”€ convex/ β”‚ β”œβ”€β”€ schema.ts # πŸ”’ Phase 0 only β”‚ β”œβ”€β”€ _generated/ # πŸ”’ Auto-generated β”‚ └── [domain].ts β”œβ”€β”€ lib/ β”‚ β”œβ”€β”€ types.ts # πŸ”’ Phase 0 only β”‚ └── utils.ts β”œβ”€β”€ components/ β”‚ β”œβ”€β”€ ui/ # Component library agent β”‚ └── [domain]/ # Feature agents β”œβ”€β”€ app/ β”‚ β”œβ”€β”€ (admin)/ # Admin agent β”‚ β”œβ”€β”€ (app)/ # App agent β”‚ └── (marketing)/ # Marketing agents └── CONTRACTS.md # πŸ”’ Phase 0 only πŸ”’ = Locked after Phase 0. Agents read, don't modify.

Agent Spawn Order

1. Bootstrap Agent (MUST COMPLETE FIRST) └── schema.ts, types, contracts 2. Doc Agents (parallel) β”œβ”€β”€ TECH-REQ.md β”œβ”€β”€ COMPLIANCE.md └── DESIGN.md 3. Backend Agent (single) └── All convex/*.ts functions 4. Component Agent (single) └── All components/ui/* 5. Feature Agents (parallel, isolated directories) β”œβ”€β”€ Admin Suite β”œβ”€β”€ Support Portal β”œβ”€β”€ Marketing Pages └── User Flows 6. Integration Agent (single) └── Final build, fixes, QA

Anti-Patterns

❌ Spawn all agents at once β€” No coordination, duplicate work ❌ Let agents invent types β€” Use CONTRACTS.md, not imagination ❌ Skip Phase 0 β€” "We'll figure out the schema later" = disaster ❌ Parallel schema writes β€” One owner only ❌ Frontend before backend types β€” Generates type mismatches ❌ No build checkpoints β€” Errors compound

Related Files

TECH-REQ.md β€” Full stack specification CODING-STANDARDS.md β€” TypeScript/React/Convex patterns CONTRACTS-TEMPLATE.md β€” API contracts template

Category context

Agent frameworks, memory systems, reasoning layers, and model-native orchestration.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
4 Docs
  • SKILL.md Primary doc
  • CODING-STANDARDS.md Docs
  • CONTRACTS-TEMPLATE.md Docs
  • TECH-REQ.md Docs