Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计通过

software-frontend软件前端

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

2,677

周安装

115

GitHub Stars

60

下载量

938
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:software-frontend(软件前端)
来源仓库:https://github.com/vasilyu1983/ai-agents-public
仓库路径:skills/software-frontend
安装命令:
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill software-frontend
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/vasilyu1983/ai-agents-public --skill software-frontend

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码。
  • 可整理组件结构或定位布局和性能问题,需结合项目设计系统使用。
  • 安装命令:npx skills add https://github.com/vasilyu1983/ai-agents-public --skill software-frontend
  • 涉及页面改动时应配合本地预览和构建检查确认视觉效果。

SKILL.md

Frontend Engineering

Production-ready patterns for modern web applications.

Stack (March 2026): Next.js 16 + Turbopack, React 19.x + Server Components, TypeScript 5.9+ (strict), Tailwind CSS v4, TanStack Query, Zustand, Vitest (browser mode).

Breaking Changes: Next.js 16 Upgrade Guide

Shared release gates: ../software-clean-code-standard/assets/checklists/frontend-performance-a11y-checklist.md

If you use React Server Components (RSC), treat security advisories as blocking: see data/sources.json (React RSC advisories).

Quick Reference

TaskToolCommand
Next.js AppNext.js 16 + Turbopacknpx create-next-app@latest
Vue AppNuxt 4npx nuxi@latest init
Angular AppAngular 21ng new
Svelte AppSvelteKit 2.49+npm create svelte@latest
React SPAVite + Reactnpm create vite@latest
UI Componentsshadcn/uinpx shadcn@latest init

Workflow

  1. Pick a framework using the decision tree.
  2. Start from a matching template in assets/.
  3. Implement feature-specific patterns from references/.
  4. Treat accessibility and performance as release gates (shared checklist above).

Framework Decision Tree

Project needs:
|-- React ecosystem?
|   |-- Full-stack + SEO -> Next.js 16
|   |-- Progressive enhancement -> Remix
|   `-- Client-side SPA -> Vite + React
|
|-- Vue ecosystem?
|   |-- Full-stack -> Nuxt 4
|   `-- SPA -> Vite + Vue 3.5+
|
|-- State management?
|   |-- Server data -> TanStack Query
|   |-- Global client -> Zustand
|   `-- WARNING: DECLINING: Redux
|
`-- Styling?
    |-- Utility-first -> Tailwind CSS v4
    `-- WARNING: DECLINING: CSS-in-JS

Next.js 16 Key Changes

proxy.ts replaces middleware.ts

npx @next/codemod@canary upgrade latest   # recommended
mv middleware.ts proxy.ts                  # or manual rename

Cache Components ("use cache")

export default async function Page() {
  "use cache";
  const data = await fetchData();
  return <ProductList data={data} />;
}

React Compiler

// next.config.ts
const nextConfig: NextConfig = {
  experimental: { reactCompiler: true },
};

For the full migration checklist (async APIs, image config, parallel routes, caching APIs), see references/operational-playbook.md (Next.js 16 Migration Checklist section).

Performance Budgets

MetricTarget
LCP<= 2.5s
INP<= 200ms
CLS<= 0.1
TTFB< 600ms

Operational Discipline

Verification Order

  1. Lint edited files only.
  2. Type-check edited feature surface.
  3. Run full project lint/type/build once before handoff.

Avoid repeated full builds while known local lint/type failures remain.

Watch For

  • Lint pitfalls: react-hooks/set-state-in-effect, react-hooks/purity, react-hooks/rules-of-hooks, react/no-unescaped-entities
  • CLI drift: Run npx eslint --help / npx vitest --help before assuming flags from older setups
  • Route deletion: After deleting/renaming any page, grep for stale imports and <Link> hrefs
  • Architecture pre-check: Before adding new context providers or state stores, search for existing patterns first
  • Hydration mismatches: Use useState(null) + useEffect for browser-only values — see references/production-gotchas.md
  • macOS Turbopack: Set ulimit -n 10240 to avoid EMFILE errors in large projects

Handoff Requirements

Include in final output: exact files changed, lint/type/build commands run, whether failures are new or baseline, one prevention note for any repeated class of issue.

Deployment Checklist

Pre-Deployment

  • npm run build — no errors
  • npm run lint — zero ESLint errors
  • vitest run — all tests passing
  • Bundle size within budget
  • Environment variables set

Accessibility

  • axe DevTools — zero critical issues
  • Keyboard navigation works
  • Color contrast >= 4.5:1
  • Screen reader tested

SEO

  • Metadata configured
  • sitemap.xml generated
  • robots.txt configured

Reference Routing

Read only the reference matching the user's framework or problem — not all of them.

User's topicRead this
Next.js, RSC, Server Actions, data fetchingreferences/fullstack-patterns.md (see section index below)
Next.js migration, upgrade, breaking changesreferences/operational-playbook.md
Hydration bugs, storage access, response parsingreferences/production-gotchas.md
Vue 3, Nuxt 4, Pinia, composablesreferences/vue-nuxt-patterns.md
Angular, signals, standalone componentsreferences/angular-patterns.md
Svelte 5, SvelteKit, runesreferences/svelte-sveltekit-patterns.md
Remix, loaders, actions, progressive enhancementreferences/remix-react-patterns.md
Vite + React SPA (no Next.js / no SSR)references/vite-react-patterns.md
State management (Zustand, TanStack Query, Redux)references/state-management-patterns.md
Testing (Vitest, Testing Library, Playwright, MSW)references/testing-frontend-patterns.md
Lighthouse, bundle size, Core Web Vitalsreferences/performance-optimization.md
Quick HTML prototype / artifactreferences/artifacts-builder.md

fullstack-patterns.md Section Index

This file is 2044 lines. Read only the section you need:

SectionLinesWhen to read
Authentication (JWT, Zustand auth store)27–497Auth flow, protected routes, login forms
Blog Posts CRUD (Prisma, API routes, forms)499–1264CRUD features, list/detail pages, create forms
Real-time data with Server Components1266–1355Direct DB access in RSC, streaming
Server Actions for mutations1357–1627Form submissions, "use server", revalidation
tRPC end-to-end type safety1629–2020tRPC setup, type-safe API clients
Key patterns summary1992–2044Quick reference for type sharing, validation

Templates

Related Skills

SkillPurpose
software-backendBackend API
dev-api-designREST/GraphQL
software-code-reviewCode review
ops-devops-platformCI/CD

Fact-Checking

Use web search to verify current external facts, versions, and platform behavior before final answers. Prefer primary sources; report source links and dates for volatile information.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Cursor

28.6%
按下载量换算268

Claude Code

26.15%
按下载量换算245

Antigravity

18.33%
按下载量换算172

Gemini CLI

14.13%
按下载量换算133

OpenCode

8.47%
按下载量换算79

Codex

3.18%
按下载量换算30

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills