
sergiodxa/agent-skills
3 skills3.5k installs262 starsGitHub
Install
npx skills add https://github.com/sergiodxa/agent-skillsSkills in this repo
1Frontend Testing Best PracticesFrontend Testing Best Practices is a concise agent skill for solo builders shipping React interfaces who want tests that survive refactors and actually prove features work. It argues against unit-testing components in isolation with Testing Library snapshots of props and JSX structure, because those tests entangle implementation details, demand elaborate context and hook mocks, and still fail to show the feature works for users. The recommended alternative is to cover components naturally through end-to-end tests that follow realistic flows—orders, forms, navigation—so behavioral confidence rises without maintaining parallel brittle suites. Use it when planning or refactoring test strategy during Ship, and when reviewing whether existing component specs are worth keeping. Complexity is beginner-friendly opinionated guidance rather than a framework install.1.7kinstalls2Owasp Security CheckOWASP Security Check (REST API Security) is an agent skill for solo builders shipping JSON APIs who need a repeatable review beyond generic linting. It targets classic REST failures: mass assignment on PATCH/PUT bodies, list endpoints without pagination, missing Content-Type checks, absent versioning, over-fetching sensitive fields, and missing rate limits. The readme frames why each class matters—privilege escalation via hidden fields, database melt from unbounded findMany, and abuse from undocumented surfaces—and pairs bad-code snippets with a six-item what-to-check list. Use it while hardening handlers in build and again in ship before launch. It complements injection and authentication skills rather than replacing full penetration testing.967installs3Frontend React Best PracticesFrontend React Best Practices is an agent skill that encodes a structured performance playbook for React: 33 rules spanning six categories, with bundle size called out as CRITICAL—including avoiding barrel imports that can cost hundreds of milliseconds, loading heavy modules only when a feature activates, and preloading on hover or focus for perceived speed. Solo builders shipping dashboards, browser extensions, or hybrid mobile shells can invoke it whenever they author JSX, tune hooks, or chase unnecessary re-renders. The skill doubles as a review lens during ship-phase PR passes because its When to Apply section explicitly lists reviewing and refactoring, not just greenfield UI. Agents follow categorized rule files rather than ad-hoc chat advice, which makes outputs more repeatable for Cursor, Claude Code, or Codex workflows. It does not replace end-to-end testing or design systems; it tightens implementation quality on the React layer so production bundles and render paths stay defensible as features accrue.873installs