Web 开发 · CloudBase Web Development
Use when users need to implement, integrate, debug, build, deploy, or validate a Web frontend after the product direction is already clear, especially for React, Vue, Vite, browser flows, or CloudBase Web integration.
Rank
62
Safety
84
Downloads
6.9k
Updated
Oct 9, 2026
Version
1.27.58
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 6.9K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 6.9K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.27.58release · observed Sep 30, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17cgdbxp195f7dy8f5h6p0d9183h6nq:web-development- Install using `clawhub skill install s17cgdbxp195f7dy8f5h6p0d9183h6nq:web-development` in an isolated environment before connecting it to live workloads.
- No published capability contract is available yet, so validate auth and request/response behavior manually.
- Review the upstream CLAWHUB listing at https://clawhub.ai/binggg/web-development before using production credentials.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-binggg-web-development/snapshot"
Documentation
CLAWHUB
160,000 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: web-development description: Use when users need to implement, integrate, debug, build, deploy, or validate a Web frontend after the product direction is already clear, especially for React, Vue, Vite, browser flows, or CloudBase Web integration. version: 2.34.8 alwaysApply: false --- ## Sibling skills (local only) Sibling CloudBase skills ship beside this skill. Use local relative paths such as `../auth-tool-cloudbase/SKILL.md`. If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do **not** HTTP-fetch remote skill or protocol markdown into the agent context. **Cross-cutting protocols** (required before code changes or deployments): - Change Safety Protocol: `../cloudbase-platform/references/protocols/change-safety-protocol.md` - Deployment Gate: `../cloudbase-platform/references/protocols/deployment-gate.md` # Web Development ## Activation Contract ### Use this first when - The request is to implement, integrate, debug, build, deploy, or validate a Web frontend or static site. - The design direction is already decided, or the user is asking for engineering execution rather than visual exploration. - The work involves React, Vue, Vite, routing, browser-based verification, or CloudBase Web integration. ### Read before writing code if - The task includes project structure, framework conventions, build config, deployment, routing, or frontend test and validation flows. - The request includes UI implementation but the visual direction is already fixed; otherwise read `ui-design` first. - **⚠️ Any task involving interface styling, layout, color scheme, or font selection — before writing the first line of CSS/Tailwind, you MUST load the `ui-design` skill and output a Design Specification.** Skipping this step causes frontend styling to degrade to generic AI template defaults. The `ui-design` skill must be loaded before any visual implementation begins, not retroactively after the user complains about the appearance. ### Then also read - General React / Vue / Vite guidance -> `frameworks.md` - Browser flow checks or page validation -> `browser-testing.md` - Login flow -> `../auth-tool-cloudbase/SKILL.md`, then `../auth-web-cloudbase/SKILL.md` - Official Account JSAPI Pay, Native QR-code Pay, or WeChat OAuth on CloudBase -> `../cloudbase-wechat-integration/SKILL.md` (official docs: `https://docs.cloudbase.net/integration/introduce.md`) - CloudBase database work -> matching database skill ### Do NOT use for - Visual direction setting, prototype-first design work, or pure aesthetic exploration. - Mini programs, native Apps, or backend-only services. - WeChat payment or Official Account OAuth contract details; use `cloudbase-wechat-integration` after identifying the Web surface. ### Common mistakes / gotchas - Starting implementation before clarifying whether the task is design or engineering execution. - Mixing framework setup, deployment, a
_meta.json
{
"ownerId": "kn7emfp36dbn1xx4fz4s5q4a6180439j",
"slug": "web-development",
"version": "1.27.58",
"publishedAt": 1790775965187
}browser-testing.md
# Browser Validation (with `agent-browser`) This file is the concrete playbook for the `agent-browser` tool. Use it whenever the Engineering constitution in `SKILL.md` says "verify in the browser before claiming done". Code reading, static types, and a clean build are **necessary but not sufficient**. Any change that affects what the user sees, clicks, or navigates must be opened in a real browser and exercised. ## When `agent-browser` is required (not optional) Trigger browser validation for changes that touch any of: - **Routing / navigation** — new routes, redirects, route guards, 404s, hash vs history mode, nested layouts - **Forms** — submit handlers, controlled inputs, validation errors, disabled states, file uploads - **Auth flows** — sign in, sign up, logout, session guards, token refresh, `getSession` - **Async UI** — loading spinners, skeletons, error banners, retry buttons, streaming responses - **Conditional rendering** — empty states, permission-gated sections, feature flags - **Third-party SDK calls from the browser** — CloudBase Web SDK (auth, database, AI model, storage), analytics, payment Skip browser validation only for pure build-config edits, README / documentation-only changes, backend-only work, or changes guarded by CI tests you verified pass. ## When `agent-browser` is NOT the right tool - Pure visual direction / aesthetic exploration → use the `ui-design` skill first. - Backend-only logic that never renders in the browser → use unit tests or direct API calls. - Smoke-testing a production URL against real user credentials → do not automate; ask the user. ## Standard workflow Follow these steps in order. Do not skip the "before the fix" reproduction — it is what proves the bug was real and that your change actually fixed it. 1. **Start the app** (or confirm it is already running). - Typical: `npm run dev` / `pnpm dev` / `vite`. Record the local URL (often `http://localhost:5173`). - If the project uses a build-and-serve flow instead of a dev server, document the exact commands you ran. 2. **Open the target route with `agent-browser`**, starting from the entry URL, not deep-linking into private pages unless you already have a valid session. 3. **Reproduce the current (pre-fix or pre-feature) behavior.** Capture: route, user action, observed outcome, console errors if any. This is the baseline. 4. **Apply the code change.** Rely on HMR where available; otherwise rebuild. 5. **Re-run the exact same flow in the browser.** Capture the new observed outcome. 6. **Check adjacent routes you touched** — if you edited a shared component or route guard, visit at least one other page that depends on it. 7. **Inspect the browser console for new warnings / errors** introduced by your change (React hydration mismatches, missing keys, uncaught promise rejections, CloudBase SDK init errors, etc.). New noise is a regression even if the happy path works. ## What to record in the final summary For each flow you exercised, re
frameworks.md
# Framework Guidance
## React
- Follow the existing router, data-fetching, and component patterns already used by the repo.
- Prefer focused page and component changes over broad refactors.
- Keep state close to where it is used unless the project already relies on shared state primitives.
- For form, navigation, and async UI bugs, verify the behavior in browser after code changes.
## Next.js
### SDK boundary
`@cloudbase/js-sdk` is a **browser-only** SDK. It must not be imported in Server Components, `getServerSideProps`, or API Routes.
- Auth flows (sign in, sign up, session check) → **Client Component only** (`"use client"`)
- API Routes / Route Handlers → use `@cloudbase/node-sdk` (Node.js SDK) for server-side token verification
- Server Components → read tokens from cookies/headers, do NOT import `@cloudbase/js-sdk`
### Auth pattern (App Router)
```tsx
// components/auth-guard.tsx — Client Component
"use client"
import { useEffect, useState } from "react"
import cloudbase from "@cloudbase/js-sdk"
const app = cloudbase.init({
env: process.env.NEXT_PUBLIC_CLOUDBASE_ENV_ID!,
region: process.env.NEXT_PUBLIC_CLOUDBASE_REGION || "ap-shanghai",
accessKey: process.env.NEXT_PUBLIC_CLOUDBASE_ACCESS_KEY!,
auth: { detectSessionInUrl: true },
})
const auth = app.auth
export function AuthGuard({ children }: { children: React.ReactNode }) {
const [session, setSession] = useState<any>(null)
const [loading, setLoading] = useState(true)
useEffect(() => {
auth.getSession().then(({ data }) => {
if (data?.session) {
setSession(data.session)
// Store access_token in cookie for API route verification
document.cookie = `cloudbase_token=${data.session.access_token}; path=/; max-age=3600`
}
setLoading(false)
})
}, [])
if (loading) return <div>Loading...</div>
if (!session) return <div>Please sign in</div>
return <>{children}</>
}
```
### Passing auth to API Routes
```tsx
// app/api/protected/route.ts — Server-side Route Handler
import { NextRequest, NextResponse } from "next/server"
export async function GET(request: NextRequest) {
const token = request.cookies.get("cloudbase_token")?.value
if (!token) {
return NextResponse.json({ error: "Unauthorized" }, { status: 401 })
}
// Verify token with Node SDK or forward to your backend
return NextResponse.json({ data: "protected resource" })
}
```
### Deployment
- Build output: `next build` → `.next` directory
- CloudBase static hosting expects `package.json` with build scripts and the output directory configured; prefer `manageApps` for deployment
- If deploying via `manageHosting`, set error document to `index.html` for client-side routing (even though Next.js defaults to file-based routing, fallback handling is needed for SPA-like paths)
## Vue
- Respect the existing composition style in the repo, such as Composition API or Options API.
- Keep template, script, and style responsibilities clear instead of mixing unrelskill-card.md
## Description: Use when users need to implement, integrate, debug, build, deploy, or validate a Web frontend after the product direction is already clear, especially for React, Vue, Vite, browser flows, or CloudBase Web integration. This skill is ready for commercial/non-commercial use. ## Publisher: [binggg](https://clawhub.ai/user/binggg) ### License/Terms of Use: MIT-0 ## Use Case: Developers use this skill to build, debug, deploy, and validate React, Vue, or Vite web frontends, including browser flows and CloudBase Web integration when needed. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Authentication examples may lead to protected routes accepting unverified tokens. Mitigation: Require authoritative server-side token or session verification and secure cookie or session handling before using generated authentication code in production. ## Reference(s): - [ClawHub skill release](https://clawhub.ai/binggg/skills/web-development) - [Browser validation guidance](artifact/browser-testing.md) - [Framework guidance](artifact/frameworks.md) - [CloudBase integration documentation](https://docs.cloudbase.net/integration/introduce.md) ## Skill Output: **Output Type(s):** [Code, Shell commands, Configuration, Guidance] **Output Format:** [Code and Markdown guidance with commands and configuration examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [Recommends type, build, and browser validation for changed web flows.] ## Skill Version(s): 1.27.58 (source: server-resolved ClawHub release; artifact frontmatter lists 2.34.8) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/binggg/skills/web-development",
"sourceUrl": "https://clawhub.ai/binggg/skills/web-development",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T03:11:47.137Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-binggg-web-development/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-binggg-web-development/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T03:11:47.137Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "6.9K downloads",
"href": "https://clawhub.ai/binggg/web-development",
"sourceUrl": "https://clawhub.ai/binggg/web-development",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T03:11:47.137Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.27.58",
"href": "https://clawhub.ai/binggg/web-development",
"sourceUrl": "https://clawhub.ai/binggg/web-development",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-30T13:46:05.187Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-binggg-web-development/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-binggg-web-development/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.27.58",
"description": "Recent commits / 最近提交: | - fix(clawhub): 🏷️ publish the curated display name and topics (#1124) | - docs: 🔄 sync CloudBase CloudAPI reference page | - feat(evals): ✨ score the secret and migration tasks (#1122) | - feat(evals): add the scenario runner and point it at a local endpoint (#1119) | - fix(mcp): 🔧 report local endpoint failures directly (#1118)",
"href": "https://clawhub.ai/binggg/web-development",
"sourceUrl": "https://clawhub.ai/binggg/web-development",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-30T13:46:05.187Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
