algorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request…
Frontend-focused code review skill for React/TypeScript/Tailwind projects. Analyzes code quality, security vulnerabilities (XSS, CSRF), performance issues, accessibility (WCAG), React best practices, hooks usage, component architecture, responsive design, and SEO. Use when users
$ npx -y skills add smallnest/goskills --skill code-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Frontend-focused code review skill for React/TypeScript/Tailwind projects. Analyzes code quality, security vulnerabilities (XSS, CSRF), performance issues, accessibility (WCAG), React best practices, hooks usage, component architecture, responsive design, and SEO. Use when users
name: code-review description: Frontend-focused code review skill for React/TypeScript/Tailwind projects. Analyzes code quality, security vulnerabilities (XSS, CSRF), performance issues, accessibility (WCAG), React best practices, hooks usage, component architecture, responsive design, and SEO. Use when users request code review, want feedback on components, ask about frontend security, performance optimization, or accessibility compliance. Provides actionable feedback with severity levels and fix suggestions. allowed-tools: Read, Grep, Glob, Bash
This skill provides comprehensive, production-ready code review for modern frontend applications with actionable feedback focused on React/TypeScript/Tailwind stack.
Transform frontend code review from manual inspection into systematic analysis covering: 1. **Frontend Security** - XSS, CSRF, sensitive data exposure, auth issues 2. **React Performance** - Re-renders, memoization, bundle size, lazy loading 3. **Code Quality** - Readability, maintainability, React best practices 4. **Component Architecture** - Layered architecture, separation of concerns, reusability 5. **Type Safety** - TypeScript usage, type correctness, runtime validation 6. **Accessibility** - WCAG compliance, keyboard navigation, screen readers 7. **Responsive Design** - Mobile-first, breakpoints, Tailwind patterns 8. **SEO & Meta** - Meta tags, semantic HTML, performance metrics 9. **Testing** - Component tests, hooks tests, edge cases 10. **State Management** - Zustand/Context patterns, React Query usage
Use this skill when:
Before reviewing, gather context:
1. **Code Type**:
2. **Review Scope**:
3. **Priority**:
Quickly scan for obvious issues:
**Critical Issues (🚨 CRITICAL)**:
**High Priority (⚠️ HIGH)**:
**<br>Medium Priority (⚡ MEDIUM)**:
**Low Priority (💡 LOW)**:
Perform systematic review across all dimensions:
Check against common frontend vulnerabilities:
// ❌ BAD: XSS vulnerability
function UserComment({ comment }: { comment: string }) {
return <div dangerouslySetInnerHTML={{ __html: comment }} />;
}
// ✅ GOOD: Sanitized HTML
import DOMPurify from 'dompurify';
function UserComment({ comment }: { comment: string }) {
return <div dangerouslySetInnerHTML={{ __html: DOMPurify.sanitize(comment) }} />;
}
// ✅ BETTER: No HTML, just text
function UserComment({ comment }: { comment: string }) {
return <div>{comment}</div>;
}
// ❌ BAD: Token in localStorage (XSS vulnerable)
localStorage.setItem('token', response.token);
// ✅ GOOD: HttpOnly cookie (set by server)
// Or use secure session management library
// ❌ BAD: Hardcoded API key
const API_KEY = "pk_live_abc123xyz";
// ✅ GOOD: Environment variable
const API_KEY = process.env.NEXT_PUBLIC_API_KEY;
// ❌ BAD: No CSRF protection
async function transferMoney(to: string, amount: number) {
await fetch('/api/transfer', {
method: 'POST',
body: JSON.stringify({ to, amount })
});
}
// ✅ GOOD: Include CSRF token
async function transferMoney(to: string, amount: number) {
const csrfToken = getCsrfToken();
await fetch('/api/transfer', {
method: 'POST',
headers: {
'X-CSRF-Token': csrfToken
},
body: JSON.stringify({ to, amount })
});
}**Frontend Security Checklist**:
Identify bottlenecks and optimization opportunities:
// ❌ BAD: Unnecessary re-renders
function ProductList({ products }: { products: Product[] }) {
const sortedProducts = products.sort((a, b) => b.price - a.price);
// Re-sorts on every render!
return (
<div>
{sortedProducts.map(p => (
<ProductCard key={p.id} product={p} onUpA powerful command-line tool to parse, manage, and execute Claude Skill packages. GoSkills is designed according to the specifications found in the official Claude documentation.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request…
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React,…
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's…
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to…
调用扣子(Coze)智能体 API 进行对话、工作流执行等操作。当用户需要集成 Coze 智能体、调用 Coze API、或开发 Coze 相关应用时使用。支持流式和非流式对话、工作流调用等功能。
Comprehensive CrewAI framework guide for building collaborative AI agent teams and structured workflows. Use when developing…