frontend-testing-best-practices 是做什么的?
前端测试最佳实践。强调端到端测试优于单元测试,最小化模拟,测试行为而非实现细节。在编写测试或审查测试代码时使用。
前端测试最佳实践。强调端到端测试优于单元测试,最小化模拟,测试行为而非实现细节。在编写测试或审查测试代码时使用。
该技能旨在为开发者提供前端测试的最佳实践指南。它强调端到端(E2E)测试应优先于单元测试,减少模拟(mocking)的使用,并聚焦于测试行为而非实现细节。这对于编写健壮、可维护的测试至关重要,能确保应用程序在实际使用场景中的可靠性。该技能适用于任何前端项目,支持主流测试框架和工具。它基于详细的文档(SKILL.md)提供具体建议,帮助开发者避免常见陷阱,如过度模拟或测试内部实现,从而提升测试质量。通过遵循这些实践,开发者可以更有效地回归测试并捕获真实用户问题。
npx skills add https://github.com/sergiodxa/agent-skills/tree/main/skills/frontend-testing-best-practicesInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
前端测试最佳实践。强调端到端测试优于单元测试,最小化模拟,测试行为而非实现细节。在编写测试或审查测试代码时使用。
This repo contains 2 individual skills — each has its own dedicated page.
React performance optimization guidelines. Use when writing, reviewing, or refactoring React components to ensure optimal rendering and bundle patterns. Triggers on tasks involving React components, hooks, memoization, or bundle optimization.
Security audit guidelines for web applications and REST APIs based on OWASP Top 10 and web security best practices. Use when checking code for vulnerabilities, reviewing auth/authz, auditing APIs, or before production deployment.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.