Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Built to work across modern frontend, backend, mobile, cloud, and media stacks.
- **Languages & Runtimes:** TypeScript, Node.js, Go, Bun, Deno, Dart
- **Backend & APIs:** Express, Hono, NestJS, Spring Boot
- **Mobile & Desktop:** Expo, React Native, Flutter, SwiftUI, Android, Kotlin Multiplatform, Tauri, Electron
- **Data & Storage:** Supabase, Neon, Prisma, Drizzle ORM, Zod, React Hook Form
- **Data & Storage:** Supabase, Neon, Prisma, Drizzle ORM, Zod, React Hook Form, SWR
- **Auth & Billing:** Better Auth, Clerk, Stripe
- **Testing:** Vitest, Playwright
- **Cloud & Infrastructure:** Vercel, Vercel AI SDK, Cloudflare, Durable Objects, Cloudflare Agents, Cloudflare AI, AWS, Azure, Terraform
Expand Down
1 change: 1 addition & 0 deletions packages/autoskills/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ If `claude-code` is auto-detected or passed with `-a`, `autoskills` writes a `CL
| Supabase | `@supabase/supabase-js`, `@supabase/ssr` |
| Zod | `zod` package |
| React Hook Form | `react-hook-form` package |
| SWR | `swr` package |
| Neon Postgres | `@neondatabase/serverless` |
| Prisma | `prisma`, `@prisma/client` |
| Drizzle ORM | `drizzle-orm`, `drizzle-kit` |
Expand Down
8 changes: 8 additions & 0 deletions packages/autoskills/skills-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@ export const SKILLS_MAP: Technology[] = [
},
skills: ["pproenca/dot-skills/react-hook-form"],
},
{
id: "swr",
name: "SWR",
detect: {
packages: ["swr"],
},
skills: ["https://github.com/vercel-labs/vercel-plugin#swr"],
},
{
id: "zod",
name: "Zod",
Expand Down
8 changes: 8 additions & 0 deletions packages/autoskills/tests/detect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,14 @@ describe("detectTechnologies", () => {
ok(combos.some((c) => c.id === "react-hook-form-zod"));
});

it("detects SWR from dependencies", () => {
writePackageJson(tmp.path, { dependencies: { swr: "^2.3.4" } });
const { detected } = detectTechnologies(tmp.path);
const swr = detected.find((t) => t.id === "swr");
ok(swr);
ok(swr.skills.includes("https://github.com/vercel-labs/vercel-plugin#swr"));
});

it("detects Go from go.mod", () => {
writePackageJson(tmp.path);
writeFile(tmp.path, "go.mod", "module example.com/test\n\ngo 1.24.0\n");
Expand Down
1 change: 1 addition & 0 deletions src/icons/swr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const popularityOrder = [
'typescript',
'zod',
'react-hook-form',
'swr',
'react',
'nextjs',
'node',
Expand Down
Loading