skills/development/react-component-generator/SKILL.md
Generates production-ready React components with TypeScript, Tailwind CSS, proper accessibility, and test scaffolding. Use when asked to create a new React component.
npx skillsauth add abhiunix/community-registry react-component-generatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When asked to create a React component, follow this process:
Before generating code, clarify:
Create a functional component with:
interface ${ComponentName}Props {
/** Description of each prop */
}
/** Brief description of what this component does */
export function ${ComponentName}({ ...props }: ${ComponentName}Props) {
return (
<div className="...">
{/* Implementation */}
</div>
);
}
Generate a co-located test file (ComponentName.test.tsx) with:
function declarations, not arrow functions, for componentsclsx or template literals for conditional classes, not ternaries in classNameany type — define proper types or use unknowndata-testid attributes on interactive elementsdevelopment
Generate a STRIDE-based threat model from codebase and architecture analysis. Identifies assets, trust boundaries, data flows, threats, and mitigations. Language-agnostic.
development
Run a comprehensive security audit against a codebase. Covers OWASP Top 10, secrets exposure, dependency vulnerabilities, misconfigurations, and insecure patterns. Language-agnostic.
development
Security-focused code review for staged changes or specified files. Checks for injection, auth flaws, crypto misuse, data exposure, and insecure patterns. Works with any language.
development
Manage Trello boards, lists, and cards via the Trello REST API.