marketingjuliancongdanh79-pixel/skill-generator
skill-creator-ultra
VerifiedTạo AI Skill mới từ ý tưởng hoặc quy trình công việc. Kết hợp phỏng vấn thông minh, pattern detection, và quantitative evaluation để tạo skill chất lượng production. Dùng khi user nói "tạo skill", "biến quy trình thành skill", "make a new skill", "tự động hóa công việc này", hoặc mô tả quy trình lặp lại mà họ muốn AI tự làm. Cũng dùng khi user muốn cải thiện, test, hoặc optimize skill hiện có.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 14.4 KB |
| agents/analyzer.md | markdown | 10.1 KB |
| agents/comparator.md | markdown | 7.1 KB |
| agents/grader.md | markdown | 8.8 KB |
| assets/eval_review.html | other | 6.9 KB |
| examples/example_anthropic_frontend.md | markdown | 4.9 KB |
| examples/example_anthropic_pdf.md | markdown | 4.5 KB |
| examples/example_api_docs.md | markdown | 5.3 KB |
| examples/example_db_migration.md | markdown | 8.8 KB |
| examples/example_git_commit.md | markdown | 4.1 KB |
| scripts/ci_eval.py | script | 6.4 KB |
| scripts/package_skill.py | script | 4.9 KB |
| scripts/simulate_skill.py | script | 14.2 KB |
| scripts/skill_audit.py | script | 22.7 KB |
| scripts/skill_compare.py | script | 9.3 KB |
| scripts/skill_export.py | script | 9.6 KB |
| scripts/skill_scaffold.py | script | 11.7 KB |
| scripts/skill_stats.py | script | 11.6 KB |
| scripts/validate_skill.py | script | 15.0 KB |
examples/example_anthropic_pdf.md
View on GitHub# Example: pdf-processor (🟠 Phức tạp — Complexity 18)
> **Nguồn gốc:** Dựa trên Anthropic's official `pdf` skill — 1 trong 16 skills chính thức.
> **Điểm hay:** Description cực "pushy", progressive disclosure 3 tầng, reference docs dày.
> **Bài học:** Skill phức tạp nhưng SKILL.md vẫn lean nhờ tách logic vào resources.
## 📂 Cấu trúc (Anthropic thật)
```
skills/pdf/
├── SKILL.md ← 315 dòng — Guide + code snippets
├── forms.md ← 11KB — Chi tiết riêng về PDF forms/fill
├── reference.md ← 16KB — Advanced: pypdfium2, JavaScript libs
└── scripts/
└── ... ← Helper scripts
```
---
## 📄 File 1: SKILL.md (trích — Anthropic style)
```markdown
---
name: pdf
description: |
Use this skill whenever the user wants to do anything with PDF files.
This includes reading or extracting text/tables from PDFs, combining or
merging multiple PDFs into one, splitting PDFs apart, rotating pages,
adding watermarks, creating new PDFs, filling PDF forms, encrypting/
decrypting PDFs, extracting images, and OCR on scanned PDFs to make
them searchable. If the user mentions a .pdf file or asks to produce
one, use this skill.
---
# PDF Processing Guide
## Overview
This guide covers essential PDF processing operations using Python
libraries and command-line tools. For advanced features, JavaScript
libraries, and detailed examples, see REFERENCE.md. If you need to
fill out a PDF form, read FORMS.md and follow its instructions.
## Quick Start
from pypdf import PdfReader, PdfWriter
reader = PdfReader("document.pdf")
print(f"Pages: {len(reader.pages)}")
text = ""
for page in reader.pages:
text += page.extract_text()
## Python Libraries
### pypdf - Basic Operations
#### Merge PDFs
[code snippets...]
#### Split PDF
[code snippets...]
### pdfplumber - Text and Table Extraction
[code snippets...]
### reportlab - Create PDFs
[code snippets...]
## Quick Reference
| Task | Best Tool | Command/Code |
|------------------|--------------|-----------------------------|
| Merge PDFs | pypdf | writer.add_page(page) |
| Split PDFs | pypdf | One page per file |
| Extract text | pdfplumber | page.extract_text() |
| Extract tables | pdfplumber | page.extract_tables() |
| Create PDFs | reportlab | Canvas or Platypus |
| Fill PDF forms | See FORMS.md | See FORMS.md |
## Next Steps
- For advanced pypdfium2 usage, see REFERENCE.md
- For JavaScript libraries (pdf-lib), see REFERENCE.md
- If you need to fill out a PDF form, follow FORMS.md
```
---
## 🔍 Phân tích: Bài học từ Anthropic
### ✅ Điểm hay — nên học
| Pattern | Chi tiết | Áp dụng |
|---|---|---|
| **Description cực "pushy"** | Liệt kê TOÀN BỘ use cases: "reading, extracting, combining, merging, splitting, rotating, watermarks, creating, filling forms, encrypting, decrypting, extracting images, OCR" | Viết description cover mọi cách user có thể hỏi |
| **Progressive Disclosure** | SKILL.md = quick reference, FORMS.md = deep dive, REFERENCE.md = advanced | Tách complexity ra resources/, SKILL.md giữ lean |
| **Code-as-documentation** | Thay vì giải thích cách merge PDF, cho luôn code snippet | Cho AI copy paste, nhanh hơn đọc text |
| **Quick Reference Table** | Bảng tổng hợp cuối: Task → Best Tool → Command | User scan nhanh, AI chọn đúng tool |
| **Routing to resources** | "If you need to fill out a PDF form, read FORMS.md" | Lazy loading — chỉ đọc khi cần |
### ⚠️ Điểm khác biệt với skill-generator
| Anthropic style | Skill-generator style | Nên dùng |
|---|---|---|
| Không có Examples section | Có 2-3 ví dụ Input → Output | ✅ Giữ Examples — AI hiểu pattern tốt hơn |
| Không có Constraints section | Có safety guardrails | ✅ Giữ Constraints — đặc biệt cho production |
| Viết bằng tiếng Anh | Viết bằng tiếng Việt | 🔀 Tùy user |
| Code snippets inline | Tách script riêng | 🔀 Tùy complexity |
### 🎯 Key Insight
Anthropic's description viết theo kiểu **"bắn phủ"** — liệt kê MỌI THỨ skill làm được.
Đây là cách tốt nhất để AI trigger đúng, vì AI agent chỉ đọc description để quyết định.
**Rule:** Description nên dài 50-200 ký tự và cover ≥ 80% use cases có thể xảy ra.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |