tano2026/ai-vibe-toolkit/mattpocock-skills-skill

Claude Code and agent skill by tano2026/ai-vibe-toolkit

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Repo: github.com/mattpocock/skills MIT Tác giả: Matt Pocock — Total TypeScript creator

Install

npx vskill@latest install tano2026/ai-vibe-toolkit/mattpocock-skills-skill

SKILL.md

The same SKILL.md was published earlier as tano2026/ai-vibe-toolkit/mattpocock-skills-skill.

mattpocock/skills — Giảm 75% Token, Claude Code Kỷ Luật Hơn (109k⭐)

Repo: github.com/mattpocock/skills | MIT Tác giả: Matt Pocock — Total TypeScript creator Stars: 109k | Trending #1 GitHub 6 ngày liên tiếp


Cài 1 Lệnh

bash
/plugin marketplace add mattpocock/skills
/plugin install skills@mattpocock-skills

Skills Chính

bash
# TypeScript strict mode enforcement
/ts-strict "file.ts"
# No any types
/no-any "component.tsx"
# Type inference optimization
/infer-types "code block"
# Zod schema generation
/gen-schema "interface definition"
# Error handling patterns
/error-handling "async function"

Tại Sao Giảm 75% Token?

Matt Pocock thiết kế skills để:

  1. Pre-filter context không cần thiết
  2. Compress type information
  3. Cache common TypeScript patterns
  4. Skip redundant type checking
Trước: Claude đọc toàn bộ file 500 dòng → 15k tokens
Sau: mattpocock/skills → extract only relevant → 3.7k tokens

Patterns Học Được Từ Skills Này

Pattern 1: Type-first Development
typescript
// Define types TRƯỚC khi viết function
type UserAction =
| { type: 'login'; userId: string }
| { type: 'logout' }
| { type: 'update'; data: Partial<User> }
// Sau đó implement
function handleAction(action: UserAction) { ... }
Pattern 2: Zod Cho Runtime Validation
typescript
import { z } from 'zod'
const UserSchema = z.object({
id: z.string().uuid(),
email: z.string().email(),
name: z.string().min(1),
})
type User = z.infer<typeof UserSchema> // type từ schema
Pattern 3: Error Handling Rõ Ràng
typescript
// Thay vì throw
type Result<T> =
| { ok: true; data: T }
| { ok: false; error: string }
async function fetchUser(id: string): Promise<Result<User>> {
try {
const user = await db.users.findById(id)
return { ok: true, data: user }
} catch (e) {
return { ok: false, error: String(e) }
}
}

Apply Vào CLAUDE.md

markdown
## TypeScript Rules (từ mattpocock/skills)
-Type-first: define types trước khi implement
-Zod cho mọi API input validation
-Result type thay vì throw
-Không dùng `any` — dùng `unknown`
-Infer types từ Zod schemas

skills/mattpocock-skills-skill.md | AI Vibe Toolkit | tháng 6/2026

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tano2026/ai-vibe-toolkit/mattpocock-skills-skill/badge)](https://verified-skill.com/skills/tano2026/ai-vibe-toolkit/mattpocock-skills-skill)

Something wrong with this skill or its page? Tell us.