@spardutti/claude-skills
v1.8.1
Published
CLI to install Claude Code skills from the claude-skills collection
Maintainers
Readme
@spardutti/claude-skills
Interactive CLI to install reusable Claude Code skills into any project.
Usage
npx @spardutti/claude-skillsRun this from your project's root directory. The CLI will:
- Fetch the latest skills from GitHub
- Let you interactively select which skills to install
- Copy them into your project's
.claude/skills/directory - Ask to set up automatic skill evaluation (hook + CLAUDE.md rule)
Automatic Skill Evaluation
Skills alone don't guarantee Claude will use them. The CLI can optionally set up enforcement:
- Hook (
.claude/hooks/skill-forced-eval-hook.sh) — Runs on every prompt, injects a mandatory skill evaluation sequence into Claude's context - CLAUDE.md rule (
skill_evaluationblock) — Instructs Claude to list every skill as ACTIVATE/SKIP before writing any code
Together, these force Claude to explicitly evaluate and activate relevant skills instead of silently ignoring them.
Available Skills
| Skill | Description |
|-------|-------------|
| react-best-practices | React 19 — component design, state management, performance, React 19 features, TypeScript integration |
| react-use-effect | React 19 useEffect best practices and anti-patterns |
| react-query | TanStack React Query with query-key-factory patterns |
| tanstack-router-best-practices | TanStack Router — file-based routing, type-safe navigation, loaders, search params, auth guards |
| typescript-best-practices | TypeScript 5.x — type design, type safety, generics, error handling, tsconfig |
| react-single-responsibility | React single responsibility — component splitting, hook isolation, file size limits, complexity rules |
| tailwind-tokens | Enforce Tailwind CSS design tokens — no arbitrary values when a token exists |
| drf-best-practices | Django REST Framework — thin serializers, service layer, queryset optimization, object-level permissions |
| fastapi-best-practices | FastAPI — async correctness, Pydantic validation, dependency injection, service layer, structured error handling |
| security-practices | Web security — OWASP Top 10 prevention, input validation, auth, SQL injection, XSS, CSRF, secure defaults |
| alembic-migrations | Alembic — naming conventions, autogenerate review, data migration safety, downgrades, production deployment |
| testing-best-practices | Testing — Arrange-Act-Assert, factory-based test data, test isolation, mocking boundaries, pyramid-balanced coverage |
| docker-best-practices | Docker — multi-stage builds, layer caching, security hardening, Compose Watch for local dev, health checks |
| trpc-react-query | tRPC v11 — queryOptions/mutationOptions patterns, router organization, middleware, cache invalidation, optimistic updates |
| express-best-practices | Express.js — feature-based structure, 3-layer architecture, Zod validation, centralized error handling, security middleware |
GitHub Authentication
The CLI fetches skills via the GitHub API. Unauthenticated requests are limited to 60/hour. To avoid rate limits:
- Install the GitHub CLI and run
gh auth login— the token is detected automatically - Or set
GITHUB_TOKEN/GH_TOKENas an environment variable
What are Claude Code Skills?
Skills are markdown files placed in .claude/skills/ that give Claude Code domain-specific knowledge and guidelines. They help Claude follow your team's patterns and best practices automatically.
License
MIT
