Trong video trên kênh, mình đã giới thiệu 6 skill có thể biến Claude thành cả một đội lập trình. Tài liệu này là bản mở rộng — không phải tóm tắt video, mà là giải thích kỹ hơn: skill đó làm được gì, dùng khi nào, cài ra sao nếu bạn chưa từng cài trước đây, và có file tải về để dùng ngay.
Claude là gì? Claude là một trợ lý AI do công ty Anthropic (Mỹ) phát triển — giống như ChatGPT nhưng được nhiều lập trình viên đánh giá mạnh hơn về khả năng viết code. Bạn dùng Claude qua trình duyệt tại claude.ai, hoặc tải app máy tính về dùng. Hoàn toàn miễn phí để bắt đầu.
Nếu bạn chưa rành về AI hay lập trình, đừng lo — tài liệu này viết cho cả người mới. Mỗi thuật ngữ kỹ thuật sẽ được giải thích ngay lần đầu nhắc đến.
Trong tài liệu này
Skill là gì? Tại sao cần cài?
Skill — hiểu nôm na là một file hướng dẫn bạn đưa thêm cho Claude để nó biết phải làm việc theo quy trình cụ thể nào đó. Giống như bạn thuê nhân viên mới: thay vì giải thích lại từ đầu mỗi lần, bạn đưa cho họ một bộ quy trình chuẩn — từ đó họ tự biết cách xử lý mà không cần nhắc nhở thêm.
Về mặt kỹ thuật, skill thường là một file văn bản tên SKILL.md — đuôi .md là Markdown, một định dạng văn bản đơn giản. File này chứa hướng dẫn bằng tiếng Anh cho Claude: "khi gặp tình huống X, hãy làm theo quy trình Y". Claude đọc file này và áp dụng vào mọi cuộc trò chuyện sau đó.
Mặc định, Claude rất giỏi nhưng không có quy trình làm việc cố định. Cài skill vào là bạn "lập trình" thêm quy trình cho nó — ví dụ: "trước khi viết code, luôn lên kế hoạch và hỏi tôi xác nhận đã". Skill biến Claude từ một người giỏi thành một người giỏi và có kỷ luật làm việc.
- Bấm nút Tải SKILL.md ở mục skill bên dưới. File sẽ tải về máy (hoặc giải nén file .zip nếu bạn tải cả bộ). Đuôi .zip là định dạng file nén — giống như file RAR, bạn chuột phải → "Giải nén" hoặc "Extract" là ra folder chứa các file bên trong.
- Mở Claude tại claude.ai trên trình duyệt (hoặc mở app Claude trên máy tính nếu đã cài). Kéo-thả file SKILL.md vào khung chat (ô gõ tin nhắn ở dưới cùng), rồi nhắn: "Cài giúp mình skill này nha".
- Claude sẽ tự đọc và cài. Từ đó trở đi, trong cùng phiên làm việc đó — tức là cùng cửa sổ trình duyệt, chưa tắt tab — Claude sẽ áp dụng quy trình trong skill vào mọi việc bạn nhờ.
- Muốn skill tồn tại vĩnh viễn (không cần kéo thả mỗi lần mở tab mới): vào Claude → Settings → Capabilities → Skills → bấm thêm file.
Lưu ý: Tính năng cài skill vĩnh viễn cần tài khoản Claude Pro (khoảng 20$/tháng) hoặc Max. Cách kéo-thả vào chat hoạt động với mọi tài khoản, kể cả miễn phí.
Chi tiết 6 skill & cách dùng hiệu quả
Mỗi skill dưới đây giải quyết một "điểm yếu" khác nhau của Claude khi dùng để lập trình. Cài đủ 6 là bạn có một đội hoàn chỉnh.
Superpowers — Biến Claude thành Senior Developer thực thụ
GitHub là mạng xã hội dành cho lập trình viên — nơi họ chia sẻ code và công cụ miễn phí. "127.000 sao" có nghĩa là 127.000 người đã đánh dấu yêu thích công cụ này, tương đương "lượt thích" trên Facebook. Senior Developer là lập trình viên kỳ cựu — người vừa viết code giỏi vừa biết lên kế hoạch, tránh sai lầm, và đảm bảo chất lượng.
Vấn đề lớn nhất khi dùng Claude để code là nó hay lao vào viết code ngay mà không suy nghĩ kỹ. Kết quả thường sai yêu cầu, thiếu edge case (những tình huống đặc biệt ít gặp nhưng vẫn phải xử lý được, ví dụ: người dùng nhập số âm, để trống form, hoặc upload file sai định dạng), hoặc phải làm lại từ đầu. Superpowers giải quyết điều này bằng một quy trình 5 bước bắt buộc.
Claude làm gì sau khi cài Superpowers?
- Bước 1 — Hiểu trước, code sau: Khi bạn đưa task, Claude sẽ hỏi lại để đảm bảo nó hiểu đúng mục tiêu thực sự. Không đoán mò, không giả định.
- Bước 2 — Viết spec: Claude soạn một bản đặc tả ngắn gọn ("sẽ làm gì, không làm gì, xong thì trông ra sao") và đưa cho bạn xem trước khi bắt tay vào code.
- Bước 3 — Viết test trước (TDD): TDD — Test-Driven Development — là phương pháp viết bài kiểm tra trước rồi mới viết code để vượt qua bài kiểm tra đó. Cách này giúp code ít lỗi hơn và dễ sửa hơn về sau.
- Bước 4 — Implement từng bước nhỏ: Claude code từng phần nhỏ, chạy test sau mỗi bước. Không làm ồ ạt rồi gặp vấn đề không biết lỗi ở đâu.
- Bước 5 — Tự review: Trước khi nói "xong", Claude đọc lại code của mình như thể đang review code của người khác — tìm lỗi logic, edge case, vấn đề bảo mật. Chỉ khai "done" khi thực sự ổn.
Cách dùng hiệu quả nhất: Dùng Superpowers cho mọi task lập trình có độ phức tạp trung bình trở lên. Với task nhỏ (sửa 1 dòng code), không cần thiết.
Superpowers Skill
File SKILL.md kích hoạt quy trình làm việc của Senior Developer: lên kế hoạch → đặc tả yêu cầu → viết test trước → triển khai → tự review.
---
name: using-superpowers
description: Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
---
<SUBAGENT-STOP>
If you were dispatched as a subagent to execute a specific task, skip this skill.
</SUBAGENT-STOP>
<EXTREMELY-IMPORTANT>
If you think there is even a 1% chance a skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill.
IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT.
This is not negotiable. This is not optional. You cannot rationalize your way out of this.
</EXTREMELY-IMPORTANT>
## Instruction Priority
Superpowers skills override default system prompt behavior, but **user instructions always take precedence**:
1. **User's explicit instructions** (CLAUDE.md, GEMINI.md, AGENTS.md, direct requests) — highest priority
2. **Superpowers skills** — override default system behavior where they conflict
3. **Default system prompt** — lowest priority
If CLAUDE.md, GEMINI.md, or AGENTS.md says "don't use TDD" and a skill says "always use TDD," follow the user's instructions. The user is in control.
## How to Access Skills
**In Claude Code:** Use the `Skill` tool. When you invoke a skill, its content is loaded and presented to you—follow it directly. Never use the Read tool on skill files.
**In Gemini CLI:** Skills activate via the `activate_skill` tool. Gemini loads skill metadata at session start and activates the full content on demand.
**In other environments:** Check your platform's documentation for how skills are loaded.
## Platform Adaptation
Skills use Claude Code tool names. Non-CC platforms: see `references/codex-tools.md` (Codex) for tool equivalents. Gemini CLI users get the tool mapping loaded automatically via GEMINI.md.
# Using Skills
## The Rule
**Invoke relevant or requested skills BEFORE any response or action.** Even a 1% chance a skill might apply means that you should invoke the skill to check. If an invoked skill turns out to be wrong for the situation, you don't need to use it.
## Red Flags
These thoughts mean STOP—you're rationalizing:
| Thought | Reality |
|---------|---------|
| "This is just a simple question" | Questions are tasks. Check for skills. |
| "I need more context first" | Skill check comes BEFORE clarifying questions. |
| "Let me explore the codebase first" | Skills tell you HOW to explore. Check first. |
| "I can check git/files quickly" | Files lack conversation context. Check for skills. |
| "I know what that means" | Knowing the concept ≠ using the skill. Invoke it. |
## Skill Priority
When multiple skills could apply, use this order:
1. **Process skills first** (brainstorming, debugging) - these determine HOW to approach the task
2. **Implementation skills second** (frontend-design, mcp-builder) - these guide execution
## Skill Types
**Rigid** (TDD, debugging): Follow exactly. Don't adapt away discipline.
**Flexible** (patterns): Adapt principles to context.
The skill itself tells you which.
## User Instructions
Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
Frontend Design — Dẹp giao diện AI "mẫu" ra, tạo UI đỉnh thực sự
Vấn đề quen thuộc: bạn nhờ Claude tạo giao diện, nó ra một trang web trắng với nút xanh bo tròn và font Arial. Trông đúng là AI làm. Skill Frontend Design của Anthropic giải quyết điều này — nó ép Claude phải suy nghĩ về aesthetic trước khi viết code.
Claude làm gì sau khi cài Frontend Design?
- Chọn hướng thiết kế rõ ràng: Trước khi viết một dòng code, Claude sẽ hỏi (hoặc tự quyết định): giao diện này cần cảm giác gì? Tối giản? Luxury? Editorial? Retro? Nó commit vào một hướng và nhất quán từ đầu đến cuối.
- Chọn font độc đáo: Không bao giờ dùng Arial hay Inter mặc định. Claude tự chọn cặp font phù hợp aesthetic (ví dụ: Playfair Display + DM Sans cho luxury, Space Grotesk + Sora cho tech hiện đại).
- Layout không "mẫu": Thay vì lưới card đều đặn, Claude tạo layout bất đối xứng, tận dụng khoảng trắng, và phá lưới có chủ đích để tạo nhấn mạnh.
- Code sản phẩm thực: HTML semantic, CSS custom properties, mobile-first responsive. Code bàn giao được luôn.
Dùng khi nào: Bất cứ khi nào bạn nhờ Claude làm giao diện — landing page, dashboard, component. Đặc biệt hiệu quả khi bạn nói rõ aesthetic muốn hướng đến ("làm kiểu luxury", "làm kiểu editorial báo online").
Thử: "Làm landing page cho app nhắc nhở uống nước. Phong cách: organic/natural, màu xanh lá nhẹ, cảm giác tươi mát và tối giản. Font không được dùng Arial hay Inter." — Kết quả sẽ khác hẳn so với không có skill.
Frontend Design Skill
Skill chính thức từ Anthropic — tạo giao diện đẹp, chuyên nghiệp, tránh "AI slop" (giao diện AI nhạt nhẽo mẫu sẵn).
---
name: frontend-design
description: Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
license: Complete terms in LICENSE.txt
---
# Frontend Design
Approach this as the design lead at a small studio known for giving every client a visual identity that could not be mistaken for anyone else's. This client has already rejected proposals that felt templated, and is paying for a distinctive point of view: make deliberate, opinionated choices about palette, typography, and layout that are specific to this brief, and take one real aesthetic risk you can justify.
## Ground it in the subject
If the brief does not pin down what the product or subject is, pin it yourself before designing: name one concrete subject, its audience, and the page's single job, and state your choice. The subject's own world, its materials, instruments, artifacts, and vernacular, is where distinctive choices come from.
## Design principles
For web designs, the hero is a thesis. Open with the most characteristic thing in the subject's world, in whatever form makes sense for it: a headline, an image, an animation, a live demo, an interactive moment.
Typography carries the personality of the page. Pair the display and body faces deliberately, not the same families you would reach for on any other project, and set a clear type scale with intentional weights, widths, and spacing.
Structure is information. Structural devices, numbering, eyebrows, dividers, labels, should encode something true about the content, not decorate it.
Leverage motion deliberately. Think about where and if animation can serve the subject: a page-load sequence, a scroll-triggered reveal, hover micro-interactions, ambient atmosphere.
## Process: brainstorm, explore, plan, critique, build, critique again
Work in two passes. First, brainstorm a short design plan: create a compact token system with color, type, layout, and signature. Color: describe the palette as 4–6 named hex values. Type: the typefaces for 2+ roles. Layout: a layout concept using one-sentence prose descriptions and ASCII wireframes.
Then review that plan against the brief before building: if any part reads like the generic default rather than a choice made for this specific brief — revise that part.
## Restraint and self-critique
Spend your boldness in one place. Let the signature element be the one memorable thing, keep everything around it quiet and disciplined, and cut any decoration that does not serve the brief. Build to a quality floor without announcing it: responsive down to mobile, visible keyboard focus, reduced motion respected.
## Writing in design
Words appear in a design for one reason: to make it easier to understand. Write from the end user's side of the screen. Use active voice as default. Treat failure and emptiness as moments for direction, not mood.
Code Review — 5 AI Agent review song song, không sót một lỗi
Review code thủ công rất tốn thời gian và dễ bỏ sót. Skill Code Review của awesome-skills chạy 5 agent chuyên biệt cùng lúc — mỗi con chỉ tập trung vào một khía cạnh, sau đó tổng hợp thành một báo cáo duy nhất.
5 agent hoạt động song song là gì? Agent — hiểu đơn giản là một phiên bản Claude chạy song song, được giao một nhiệm vụ cụ thể. 5 agent nghĩa là 5 "con mắt" soi code của bạn cùng lúc, mỗi con nhìn theo góc độ riêng:
- Agent Bảo mật: Tìm lỗ hổng SQL injection, XSS, rò rỉ thông tin nhạy cảm, vấn đề xác thực.
- Agent Hiệu năng: Phát hiện render thừa (React), truy vấn N+1 cơ sở dữ liệu, thuật toán chậm, memory leak.
- Agent Đúng đắn: Bắt lỗi logic, xử lý null/undefined thiếu sót, race condition, lỗi off-by-one.
- Agent Chất lượng code: Tên biến/hàm tối nghĩa, hàm quá dài, code trùng lặp, thiếu test.
- Agent Chuẩn ngôn ngữ: React 19 patterns, TypeScript strict mode, Vue 3 Composition API, Rust ownership.
Dùng khi nào: Trước khi gộp code mới vào phiên bản chính (merge — tức là tích hợp code mới vào code gốc đang chạy), sau khi hoàn thành một tính năng lớn, hoặc khi cần "peer review" (đồng nghiệp xem xét code) nhanh mà không có ai ngồi cạnh.
Code Review Skill
5 agent review song song: bảo mật, hiệu năng, đúng đắn, chất lượng code, và chuẩn ngôn ngữ. Hỗ trợ React 19, TypeScript, Vue 3, Rust và nhiều hơn nữa.
---
name: code-review-excellence
description: |
Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Python, Django, Go, C#/.NET, Kotlin, NestJS, C/C++, and more.
Helps catch bugs, improve code quality, and give constructive feedback.
Use when: reviewing pull requests, conducting PR reviews, code review, reviewing code changes,
establishing review standards, mentoring developers, architecture reviews, security audits,
checking code quality, finding bugs, giving feedback on code.
allowed-tools:
- Read
- Grep
- Glob
- Bash
- WebFetch
---
# Code Review Excellence
Transform code reviews from gatekeeping to knowledge sharing through constructive feedback, systematic analysis, and collaborative improvement.
## Core Principles
### 1. The Review Mindset
**Goals of Code Review:**
- Catch bugs and edge cases
- Ensure code maintainability
- Share knowledge across team
- Enforce coding standards
### 2. Effective Feedback
**Good Feedback is:**
- Specific and actionable
- Educational, not judgmental
- Focused on the code, not the person
- Balanced (praise good work too)
```
❌ Bad: "This is wrong."
✅ Good: "This could cause a race condition when multiple users
access simultaneously. Consider using a mutex here."
```
### 3. Differentiate Severity
Use labels to indicate priority:
- 🔴 `[blocking]` - Must fix before merge
- 🟡 `[important]` - Should fix, discuss if disagree
- 🟢 `[nit]` - Nice to have, not blocking
- 💡 `[suggestion]` - Alternative approach to consider
- 📚 `[learning]` - Educational comment, no action needed
- 🎉 `[praise]` - Good work, keep it up!
## Review Process
### Phase 1: Context Gathering (2-3 minutes)
1. Read PR description and linked issue
2. Check PR size (>400 lines? Ask to split)
3. Review CI/CD status (tests passing?)
4. Understand the business requirement
### Phase 2: High-Level Review (5-10 minutes)
1. **Architecture & Design** - Does the solution fit the problem?
2. **Performance Assessment** - Are there performance concerns?
3. **File Organization** - Are new files in the right places?
4. **Testing Strategy** - Are there tests covering edge cases?
### Phase 3: Line-by-Line Review (10-20 minutes)
For each file, check:
- **Logic & Correctness** - Edge cases, off-by-one, null checks, race conditions
- **Security** - Input validation, injection risks, XSS, sensitive data
- **Performance** - N+1 queries, unnecessary loops, memory leaks
- **Maintainability** - Clear names, single responsibility, comments
### Phase 4: Summary & Decision
1. Summarize key concerns
2. Highlight what you liked
3. Make clear decision: ✅ Approve / 💬 Comment / 🔄 Request Changes
4. Offer to pair if complex
## Language-Specific Guides
| Language/Framework | Key Topics |
|-------------------|------------|
| **React** | Hooks, useEffect, React 19 Actions, RSC, Suspense |
| **Vue 3** | Composition API, Reactivity, Props/Emits, Composables |
| **Angular 17+** | Signals, Standalone components, RxJS, Zoneless |
| **Rust** | Ownership/Borrowing, Unsafe, Async, Error handling |
| **TypeScript** | Type safety, async/await, Immutability |
| **Python** | Mutable defaults, Exception handling, Class attributes |
| **Go** | Error handling, goroutine/channel, context, Interfaces |
Security Review — Quét lỗ hổng bảo mật trước khi bàn giao
Bảo mật là phần hay bị bỏ qua nhất trong quá trình phát triển — không phải vì lười, mà vì nó đòi hỏi kiến thức chuyên sâu mà không phải ai cũng có. Skill Security Review giải quyết điều này bằng cách tự động chạy một danh sách kiểm tra (checklist — hiểu là danh sách các mục cần kiểm tra) toàn diện dựa trên OWASP Top 10.
OWASP Top 10 là danh sách 10 lỗ hổng bảo mật phổ biến nhất trên web, do tổ chức bảo mật OWASP công bố mỗi vài năm. Đây là chuẩn tham chiếu mà mọi dev nghiêm túc đều phải biết.
Skill này kiểm tra những gì?
- Xác thực và phân quyền: Mật khẩu có được mã hóa đúng không? JWT token có hết hạn hợp lý không? Quyền truy cập có được kiểm tra phía server không?
- Validation đầu vào: Dữ liệu user nhập vào có được lọc không? Có dùng parameterized query (cách an toàn để truy vấn database) thay vì nối chuỗi SQL không?
- Bảo vệ dữ liệu: Dữ liệu nhạy cảm có được mã hóa không? Cookie có cài đúng flag (HttpOnly, Secure, SameSite) không? Không có secret nào bị đặt trong code nguồn?
- Bảo mật API: Mọi endpoint cần đăng nhập có bắt buộc xác thực không? CORS có cấu hình chặt chẽ không?
- Dependencies: Có package nào có lỗ hổng đã biết không?
Dùng khi nào: Trước mỗi lần deploy lên production — tức là đưa sản phẩm lên server thật để người dùng thật trên internet có thể truy cập. Đặc biệt quan trọng khi có tính năng đăng nhập, thanh toán, hoặc lưu trữ thông tin cá nhân.
Lỗ hổng bảo mật trong code có thể khiến dữ liệu người dùng bị đánh cắp, hoặc trang web của bạn bị chiếm quyền kiểm soát. Tốn 5 phút chạy Security Review còn hơn tốn hàng giờ xử lý sự cố sau này.
Security Review Skill
Audit bảo mật toàn diện trước khi deploy: xác thực, input validation, bảo vệ dữ liệu, bảo mật API, và kiểm tra dependencies.
---
name: security-review
description: Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.
---
# Security Review Skill
This skill ensures all code follows security best practices and identifies potential vulnerabilities.
## When to Activate
- Implementing authentication or authorization
- Handling user input or file uploads
- Creating new API endpoints
- Working with secrets or credentials
- Implementing payment features
- Storing or transmitting sensitive data
## Security Checklist
### 1. Secrets Management
❌ NEVER hardcode secrets in source code
✅ ALWAYS use environment variables
```typescript
// ❌ DANGEROUS
const apiKey = "sk-proj-xxxxx"
// ✅ SAFE
const apiKey = process.env.OPENAI_API_KEY
if (!apiKey) throw new Error('OPENAI_API_KEY not configured')
```
Verification:
- [ ] No hardcoded API keys, tokens, or passwords
- [ ] All secrets in environment variables
- [ ] `.env.local` in .gitignore
### 2. Input Validation
Always validate user input with schemas (e.g., Zod):
```typescript
import { z } from 'zod'
const CreateUserSchema = z.object({
email: z.string().email(),
name: z.string().min(1).max(100),
})
```
### 3. SQL Injection Prevention
❌ NEVER concatenate SQL strings
✅ ALWAYS use parameterized queries
### 4. Authentication & Authorization
- Store tokens in httpOnly cookies, NOT localStorage
- Check authorization before every sensitive operation
- Enable Row Level Security (RLS) in Supabase
### 5. XSS Prevention
- Sanitize user-provided HTML with DOMPurify
- Configure Content Security Policy headers
### 6. Rate Limiting
Apply rate limiting to all API endpoints, stricter for expensive operations.
### 7. Sensitive Data
- Never log passwords, tokens, or secrets
- Show generic error messages to users
- Never expose stack traces to users
## Pre-Deployment Security Checklist
- [ ] **Secrets**: No hardcoded secrets, all in env vars
- [ ] **Input Validation**: All user inputs validated
- [ ] **SQL Injection**: All queries parameterized
- [ ] **XSS**: User content sanitized
- [ ] **CSRF**: Protection enabled
- [ ] **Authentication**: Proper token handling
- [ ] **Authorization**: Role checks in place
- [ ] **Rate Limiting**: Enabled on all endpoints
- [ ] **HTTPS**: Enforced in production
- [ ] **Error Handling**: No sensitive data in errors
- [ ] **Logging**: No sensitive data logged
- [ ] **Dependencies**: Up to date, no vulnerabilities
## Resources
- [OWASP Top 10](https://owasp.org/www-project-top-ten/)
- [Next.js Security](https://nextjs.org/docs/security)
- [Web Security Academy](https://portswigger.net/web-security)
**Remember**: Security is not optional. One vulnerability can compromise the entire platform.
Claude-mem — Bộ nhớ dai xuyên phiên làm việc
Vấn đề lớn nhất khi dùng Claude để lập trình lâu dài là: nó quên hết sau mỗi lần tắt cửa sổ trình duyệt. Bạn phải giải thích lại dự án, lại context, lại các quyết định thiết kế — mỗi phiên mới là bắt đầu từ đầu.
Claude-mem giải quyết điều này. Nó hoạt động như một hệ thống ghi nhớ thông minh:
- Capture: Trong suốt phiên làm việc, mọi hành động quan trọng — quyết định thiết kế, lỗi đã sửa, cấu trúc code đã chọn — đều được ghi lại tự động.
- Compress: AI tóm tắt và phân loại các ghi chú đó, tránh lưu thông tin thừa.
- Index: Ký ức được đánh index theo ngữ nghĩa (semantic indexing — tìm theo ý nghĩa, không phải từ khóa chính xác).
- Retrieve: Phiên sau, Claude tìm kiếm và tự động đưa context liên quan vào cuộc trò chuyện mới.
Ví dụ thực tế: Hôm nay bạn làm việc với Claude về tính năng đăng nhập. Claude-mem ghi lại: "Đã chọn dùng JWT với refresh token; biết store token trong HttpOnly cookie; đang có bug ở flow reset mật khẩu". Ngày mai mở Claude mới, nó tự nhớ lại context này mà không cần bạn kể lại.
Dùng khi nào: Với mọi dự án kéo dài hơn một buổi làm việc. Cài một lần, hưởng lợi mãi.
Claude-mem Skill
Nhớ dai xuyên phiên làm việc: ghi lại hành động, nén bằng AI, tìm kiếm theo ngữ nghĩa, đưa lại thông tin vào phiên mới. Lưu ý: Claude-mem là plugin đầy đủ (cần cài từ GitHub), không chỉ là một file SKILL.md đơn lẻ. MCP server — hiểu đơn giản là một chương trình nhỏ chạy ngầm trên máy tính, giúp Claude kết nối với bộ nhớ được lưu sẵn.
# Claude-Mem: Bộ nhớ bền vững cho Claude Code
Claude-Mem là hệ thống MCP plugin (không phải SKILL.md thông thường) giúp Claude
ghi nhớ ngữ cảnh xuyên suốt các phiên làm việc khác nhau.
## Cài đặt
```bash
npx claude-mem install
```
Hoặc qua plugin marketplace trong Claude Code:
```bash
/plugin marketplace add thedotmack/claude-mem
/plugin install claude-mem
```
## Cách hoạt động
5 lifecycle hooks tự động chạy:
- SessionStart: Load bộ nhớ từ phiên trước
- UserPromptSubmit: Tìm kiếm ngữ cảnh liên quan
- PostToolUse: Ghi lại kết quả tool call
- Stop: Tóm tắt tiến độ
- SessionEnd: Lưu toàn bộ ngữ cảnh
## MCP Search Tools (3-layer workflow)
1. `search` — Tìm kiếm index (~50-100 tokens/kết quả)
2. `timeline` — Xem ngữ cảnh theo thời gian
3. `get_observations` — Lấy chi tiết đầy đủ theo ID
Tiết kiệm ~10x token bằng cách filter trước khi fetch chi tiết.
## Tính năng chính
- 🧠 **Bộ nhớ bền vững** - Ngữ cảnh tồn tại xuyên phiên
- 📊 **Progressive Disclosure** - Lấy bộ nhớ theo lớp
- 🔍 **Skill-Based Search** - Tìm kiếm lịch sử project
- 🖥️ **Web Viewer UI** - Xem bộ nhớ tại http://localhost:37777
- 🔒 **Privacy Control** - Dùng thẻ `<private>` để loại trừ nội dung nhạy cảm
- 🤖 **Tự động hoàn toàn** - Không cần can thiệp thủ công
## Yêu cầu hệ thống
- Node.js 18.0.0+
- Claude Code (latest)
- Bun runtime (tự cài nếu thiếu)
Source: https://github.com/thedotmack/claude-mem
Gstack — 23 kỹ năng, một công ty công nghệ thu nhỏ
Gstack là bộ plugin do Garry Tan — CEO của Y Combinator (tổ chức đầu tư khởi nghiệp hàng đầu thế giới, đã rót vốn vào Airbnb, Dropbox, Stripe) — tự dùng và quyết định chia sẻ công khai. Nó đóng gói 23 kỹ năng chuyên biệt vào một plugin duy nhất, tạo thành một "công ty ảo" phục vụ bạn.
Các vai trò trong đội ngũ ảo của Gstack:
- CEO / Product Strategist: Hỏi "Có nên làm cái này không?" trước khi bắt đầu. Đánh giá giá trị người dùng, tác động business, và chi phí cơ hội (opportunity cost — nếu làm cái này thì không làm được cái khác).
- Designer: Định hướng UI/UX và user flow trước khi code. Hỏi "Giao diện đơn giản nhất giải quyết được vấn đề là gì?"
- Engineering Manager: Lập kế hoạch kỹ thuật, phân tích rủi ro, chia nhỏ task thành milestones. Hỏi "Làm sao để build được cái này một cách đáng tin cậy?"
- Release Manager: Quản lý quy trình deploy, version control, kế hoạch rollback (cách quay lại nếu có sự cố). Hỏi "Làm sao để ship an toàn?"
- Documentation Engineer: Viết tài liệu người dùng và tài liệu kỹ thuật song song với code, không phải sau khi xong. Hỏi "Người không tham gia dự án có thể tự maintain được không?"
- QA Engineer: Lên kế hoạch test, viết test tự động, kiểm tra regression (lỗi cũ có bị quay lại không). Hỏi "Cái gì có thể sai? Làm sao để chứng minh nó đúng?"
Điểm đặc biệt nhất của Gstack: Tất cả vai trò này phối hợp với nhau theo một quy trình. Không có code nào được viết cho đến khi CEO và Engineering Manager đồng ý về "tại sao" và "như thế nào". Garry Tan tự nhận rằng setup này giúp ông chạy 10-15 sprint song song cùng lúc.
Dùng khi nào: Với mọi dự án có độ phức tạp từ trung bình trở lên. Với task nhỏ đơn giản, dùng Superpowers là đủ. Gstack tỏa sáng khi bạn cần suy nghĩ chiến lược về sản phẩm, không chỉ viết code.
Gstack bao gồm 23 file skill và nhiều cấu hình bổ sung — không phải chỉ một SKILL.md. Cách cài đúng: vào trang github.com/garrytan/gstack, bấm nút xanh Code → Download ZIP, giải nén về máy, rồi làm theo hướng dẫn trong file README.md (file hướng dẫn cài đặt). File SKILL.md bên dưới chỉ là bản đại diện để bạn hiểu quy trình hoạt động.
Gstack Plugin
23 kỹ năng trong một plugin: CEO, Designer, Engineering Manager, Release Manager, Documentation Engineer, QA — phối hợp như một công ty công nghệ thực sự.
---
name: office-hours
version: 2.0.0
description: |
YC Office Hours — two modes. Startup mode: six forcing questions that expose
demand reality, status quo, desperate specificity, narrowest wedge, observation,
and future-fit. Builder mode: design thinking brainstorming for side projects,
hackathons, learning, and open source. Saves a design doc.
Use when asked to "brainstorm this", "I have an idea", "help me think through
this", "office hours", or "is this worth building".
allowed-tools:
- Bash
- Read
- Grep
- Glob
- Write
- Edit
- AskUserQuestion
---
# YC Office Hours (Gstack)
You are a YC office hours partner. Your job is to ensure the problem is understood
before solutions are proposed. This skill produces design docs, not code.
## Two Modes
### Startup Mode
Six forcing questions:
1. **Demand Reality** — Strongest evidence someone actually wants this?
2. **Status Quo** — What are users doing right now to solve this problem?
3. **Desperate Specificity** — Name the actual human who needs this most.
4. **Narrowest Wedge** — Smallest version someone would pay for this week?
5. **Observation** — Watched someone use it without helping? What surprised you?
6. **Future-Fit** — In 3 years, does your product become more essential or less?
### Builder Mode
Generative questions for side projects, hackathons, open source:
- What's the coolest version of this?
- Who would you show this to?
- What's the fastest path to something you can actually use or share?
## Core Principles (Startup Mode)
- **Specificity is the only currency.** "Enterprises in healthcare" is not a customer.
- **Interest is not demand.** Waitlists don't count. Money counts.
- **The status quo is your real competitor.** Not other startups — the spreadsheet workaround.
- **Narrow beats wide, early.** Find the wedge first.
## Completeness Principle — Boil the Lake
AI-assisted coding makes the marginal cost of completeness near-zero.
If Option A is the complete implementation and Option B saves modest effort — recommend A.
## Output
Always produces a design doc saved to `~/.gstack/projects/{slug}/`.
Never starts implementation — design docs only.
## Gstack Virtual Team
Gstack includes 23 specialized roles for different tasks:
/plan-eng-review, /plan-ceo-review, /plan-design-review, /office-hours,
/tdd, /debug, /security-review, /frontend-design, and more.
Install: https://github.com/garrytan/gstack
Tải về & bắt đầu ngay
Tải cả 5 file SKILL.md (trừ Gstack — cần cài đầy đủ từ GitHub) vào một file .zip, rồi cài lần lượt vào Claude theo hướng dẫn ở đầu tài liệu.
Mỗi skill card ở trên có nút Xem chi tiết — bấm vào sẽ hiện nội dung bên trong file SKILL.md để bạn đọc xem hướng dẫn ghi gì. Bạn không cần làm gì với nội dung đó — chỉ cần bấm Tải SKILL.md để tải file về, rồi kéo-thả vào Claude theo hướng dẫn ở phần đầu tài liệu là xong.
Các file SKILL.md trong tài liệu này là bản tự soạn dựa trên thông tin công khai của từng repo — đủ để chạy và hiểu quy trình, nhưng không phải bản gốc 100%. Để dùng bản chính xác nhất của từng tác giả, hãy bấm "Xem trên GitHub" và tải từ repo chính thức. Với Claude-mem và Gstack, bắt buộc phải cài đầy đủ từ GitHub vì chúng là plugin nhiều file, không chỉ một SKILL.md.
Tải 5 skill một lần Superpowers · Frontend Design · Code Review · Security Review · Claude-mem — đóng gói sẵn thành một file .zip
Gợi ý thứ tự cài để hiệu quả nhất
- Bắt đầu với Superpowers — nó thay đổi cách Claude tiếp cận mọi task, và là nền tảng cho các skill khác.
- Thêm Frontend Design nếu bạn hay làm giao diện — kết quả thấy ngay từ lần đầu.
- Thêm Security Review trước khi deploy dự án đầu tiên có người dùng thật.
- Cài Claude-mem khi bạn bắt đầu làm dự án kéo dài nhiều ngày — cài sớm để nó ghi lại ký ức từ đầu.
- Thêm Code Review khi codebase đủ lớn để cần review nghiêm túc trước mỗi merge.
- Cài Gstack từ GitHub khi bạn muốn đưa dự án lên cấp độ "team có quy trình" — không chỉ code solo.
Bình luận để nhận tài liệu
Comment "AI" bên dưới video để nhận link tài liệu này và các tài nguyên bổ sung từ kênh.
Xem video trên kênh Theo dõi Cường Mê AI