webdev
A set of resources for building web based applications and the default architectural preferences that should be mmade for projects
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
A set of resources for building web based applications and the default architectural preferences that should be mmade for projects
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Design or review domain models, APIs, state machines, wire contracts, and persistence schemas so invalid states are difficult or impossible to represent. Use when creating or changing lifecycle, status, error, request/result, Rust enum, TypeScript discriminated-union, or boolean/optional-field models.
Use when performing version-control work, including status inspection, diffs, checkpoints, commit descriptions, stack cleanup, splitting, squashing, rebasing mutable stacks, workspace management, or deciding whether jj or git commands are appropriate.
Manage Nix flakes, NixOS or nix-darwin configurations, Home Manager setups, package overlays, dev shells, and lockfiles. Use when Codex needs to inspect or modify `flake.nix`, `flake.lock`, `*.nix`, `home-manager`, `nixos`, `darwin`, `overlays`, `packages`, `checks`, or `devShells`, and when validating changes with `nix flake check`, `nix build`, `nix develop`, `home-manager`, `darwin-rebuild`, or `nixos-rebuild`.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
Use when adding or reorganizing GNU Stow-managed dotfiles in this repo. Covers the local package layout conventions, when to use dot-config plus --dotfiles, and how Home Manager activation should target each package.
| name | webdev |
| description | A set of resources for building web based applications and the default architectural preferences that should be mmade for projects |
Create content-forward React components with Tailwind styling and shadcn/ui building blocks. Keep scope to frontend UI only, type props, and provide a fallback data object for review. Use the subresources below to branch into Convex data, TanStack integration, or auth when the request requires it.
bunx over npx for one-off CLIs.lucide-react when icons are needed.const object that can be replaced later.skills/webdev/references/content-ui.md.skills/webdev/references/monorepo-bun-turbo.md.skills/webdev/references/convex-queries-mutations-actions.md.skills/webdev/references/autumn-billing.md.skills/webdev/references/routing-ssr.md.skills/webdev/references/better-auth.md.skills/webdev/references/cloudflare-deploy.md.any); keep types close to the component.const object with realistic placeholder copy (titles, paragraphs, lists, CTAs).Use a minimal pattern like this when building new content components:
// Example only; adapt to the project structure.
type Feature = {
title: string
description: string
}
type ContentSectionProps = {
heading: string
subheading?: string
features: Feature[]
ctaLabel?: string
}
const fallbackContent: ContentSectionProps = {
heading: "Ship content faster",
subheading: "Reusable sections built with shadcn/ui and Tailwind.",
features: [
{ title: "Consistent layout", description: "Composable cards and grids." },
{ title: "Typed props", description: "Clear data contracts for review." },
],
ctaLabel: "View components",
}
export function ContentSection(props: ContentSectionProps) {
const { heading, subheading, features, ctaLabel } = props
// Use shadcn/ui components + Tailwind classes here
}
Use the subresources above to guide implementation details. Avoid loading all references at once; pick only the ones that match the user request.