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_git_commit.md
View on GitHub# Example: git-commit-formatter (🟢 Đơn giản — Complexity 4)
> **Nguồn cảm hứng:** Conventional Commits spec + Anthropic's atomic skill design.
> **Mức độ:** Đơn giản — chỉ cần SKILL.md, không cần resources hay scripts.
> **Tham khảo:** Anthropic's `frontend-design` skill cũng chỉ 43 dòng, không resources.
## 📂 Cấu trúc
```
skills/git-commit-formatter/
├── SKILL.md ← 1 file duy nhất, đủ cho skill đơn giản
└── README.md ← Hướng dẫn cài đặt
```
---
## 📄 File 1: SKILL.md
```markdown
---
name: git-commit-formatter
description: |
Định dạng commit Git theo chuẩn Conventional Commits (feat, fix, docs,
style, refactor, test, chore). Dùng khi user nói "commit", "commit message",
"viết commit", "conventional commit", "format commit", hoặc khi staged
changes đang chờ commit. KHÔNG dùng cho: tạo PR, viết changelog, review code.
---
# Goal
Sinh commit message chuẩn Conventional Commits từ staged changes,
đảm bảo nhất quán và dễ trace trong lịch sử Git.
# Instructions
1. Chạy `git diff --cached --stat` → xem danh sách files staged.
2. Chạy `git diff --cached` → đọc nội dung thay đổi chi tiết.
3. Phân tích thay đổi → xác định type phù hợp nhất:
- **feat** = tính năng mới
- **fix** = sửa lỗi
- **docs** = chỉ tài liệu
- **style** = format, không thay đổi logic
- **refactor** = tái cấu trúc, không thêm feature hay fix bug
- **test** = thêm/sửa test
- **chore** = bảo trì (deps, config, CI)
4. Xác định scope — module/component chính bị ảnh hưởng.
- Nếu thay đổi ≤ 3 files cùng module → scope = tên module
- Nếu thay đổi > 3 files hoặc cross-module → bỏ scope
5. Viết description ≤ 72 ký tự, bắt đầu bằng chữ thường.
6. Nếu breaking change → thêm `!` sau type: `feat!: description`
7. Đề xuất: `git commit -m "<type>(<scope>): <description>"`
# Examples
## Ví dụ 1: Thêm tính năng đăng nhập
**Input:** Staged: `src/auth/login.ts`, `src/auth/login.test.ts`
**Output:** `git commit -m "feat(auth): add login functionality with unit tests"`
## Ví dụ 2: Sửa lỗi giao diện
**Input:** Staged: `src/components/Header.tsx` (sửa 3 dòng CSS)
**Output:** `git commit -m "fix(ui): resolve header alignment issue on mobile"`
## Ví dụ 3: Cập nhật tài liệu
**Input:** Staged: `README.md`, `docs/setup.md`
**Output:** `git commit -m "docs: update setup instructions and readme"`
# Constraints
- Dòng commit đầu tiên ≤ 72 ký tự — Git và GitHub truncate nếu dài hơn
- Bắt đầu description bằng chữ thường — convention chuẩn, không capitalize
- Không kết thúc bằng dấu chấm — tiết kiệm ký tự, convention chuẩn
- Dùng tiếng Anh cho description — trừ khi user yêu cầu tiếng Việt
- Chọn type chính xác nhất — nếu vừa feat vừa fix, tách thành 2 commits
<!-- Generated by Skill Creator Ultra v1.0 -->
```
---
## 📄 File 2: README.md
```markdown
# 🔧 Git Commit Formatter
> Sinh commit message chuẩn Conventional Commits từ staged changes.
## ⚙️ Cài đặt
### Antigravity (Global)
cp -r git-commit-formatter ~/.gemini/antigravity/skills/
## 🚀 Dùng thử
Mở chat mới, nói: "commit đi" hoặc "viết commit message"
## 📦 Nguồn gốc
> Generated by Skill Creator Ultra v1.0
```
---
## 🔍 Phân tích: Tại sao skill này tốt?
| Tiêu chí | Đánh giá | Ghi chú |
|---|---|---|
| **Description "pushy"** | ✅ | Liệt kê 6 trigger phrases + 3 anti-triggers |
| **Atomic Logic** | ✅ | 1 skill = 1 việc (chỉ commit, không PR/changelog) |
| **Examples** | ✅ 3 cái | Happy path + edge case + minimal |
| **Explain The Why** | ✅ | "≤ 72 ký tự — Git truncate nếu dài hơn" |
| **Error Recovery** | ⚠️ Thiếu | Có thể thêm: "Nếu không có staged files → hỏi user" |
| **SKILL.md < 500 dòng** | ✅ | ~70 dòng |
| **Không cần resources** | ✅ | Đúng cho skill đơn giản |
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 |