article-prompts-to-skills
Skill này làm gì
Skill này hướng dẫn agent chuyển một bài viết nguồn hoặc bộ prompt thành các skill tập trung, mỗi skill lo một việc có thể tái sử dụng. Nó dành cho người quản lý thư viện skill và muốn bổ sung sạch, đã được kiểm thử.
Khi nào nên dùng
- ✓Khi bạn có một bài viết đầy prompt và muốn tách chúng thành các skill riêng.
- ✓Khi một hướng dẫn có các bước bạn muốn tái sử dụng, mỗi bước thành một skill.
- ✓Khi bạn muốn kiểm tra xem một skill mới có trùng với skill đang có không.
Liên kết skill
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/article-prompts-to-skills/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Biến các prompt trong bài viết này thành những skill riêng có thể tái sử dụng, và kiểm tra xem chúng có trùng với những gì chúng tôi đã có không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent liệt kê mọi prompt và ý tưởng trong nguồn, rồi quyết định cái nào trở thành skill riêng. Nó kiểm tra các skill đang có trước, dựng demo cho từng skill và ghi lại kết quả.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Article Prompts to Skills
Turn source prompts into small, demonstrable capability packages. Preserve the useful behavior, not the source page's brand or layout.
1. Inspect Before Extracting
- Read the repository instructions and the complete source article.
- Run
git status --short; preserve unrelated work. - Inventory every explicit prompt, heading, example, asset, and acceptance criterion.
- Search existing
SKILL.mdfiles for overlapping capabilities before creating folders. - If the source is raw HTML and the prompts do not exist yet, use
$html-to-interaction-promptsfirst, then return here.
Do not infer a family of skills from a title alone. Trace each proposed skill to source evidence.
2. Build an Extraction Ledger
Create a working table before editing files:
| Source prompt | Reusable capability | Keep | Remove | Skill name | Demo proof |
|---|
Apply these boundaries:
- Create one skill per independently reusable behavior.
- Merge steps only when separating them would make either step unusable.
- Update an existing skill when its contract already covers the capability.
- Skip decorative or editorial fragments that do not create a repeatable method.
- Name skills after the outcome or mechanism, never after the source article.
3. Extract the Portable Contract
Keep the source's successful mechanics:
- behavior and state transitions;
- data model and parameter defaults;
- timing, easing, spacing, and responsive rules;
- accessibility, reduced-motion, and keyboard behavior;
- performance constraints and failure modes;
- acceptance checks that prove the result.
Remove source-specific packaging:
- brand names, marketing copy, and proprietary content;
- page layout that is unrelated to the capability;
- hard-coded palettes, assets, and selectors;
- incidental implementation choices that do not affect the outcome.
The result must transfer to a different subject, layout, and visual system without rewriting the core instructions.
4. Package Every Skill
Initialize every new folder with the installed skill-creator initializer, then complete this contract:
agent-skills/<category>/<skill-name>/
SKILL.md
agents/openai.yaml
references/ # only when detailed reusable guidance is needed
assets/ or scripts/ # only when the workflow genuinely reuses them
demo/
index.html
PROMPT.md
preview.jpg
input.md # required for workflow skills
expected-output.md # required for workflow skills
Write SKILL.md in imperative form. Keep only name and description in frontmatter. Put all trigger phrases in the description. Keep operational steps, constraints, pitfalls, and validation commands in the body.
Write agents/openai.yaml from the final skill:
- use a human-readable display name;
- keep the short description between 25 and 64 characters;
- make the default prompt explicitly invoke
$skill-name.
5. Write Three Useful Example Prompts
Put these headings in demo/PROMPT.md:
Minimal prompt
Invoke the skill and ask for one clear outcome.
Use $skill-name to add <capability> to <target>.
Recreate the demo
Describe the reference experience, implementation contract, deliverables, and acceptance checks. Specify what must remain local and self-contained.
Remix prompt
Change the subject, content, palette, and composition while preserving the mechanism, accessibility behavior, responsive rules, and performance contract.
Read references/example-packages.md for visual, mixed-source, and workflow examples.
6. Build Proof, Not Decoration
Make every demo original, self-contained, and inspectable:
- demonstrate the core mechanism on the first screen;
- use realistic content instead of labels such as “demo card”;
- add controls only when they expose meaningful states;
- support 390px through 1440px layouts;
- use semantic HTML and visible focus states;
- provide reduced-motion behavior for animated work;
- keep dependencies local and avoid a build step unless the skill requires one;
- use
input.mdandexpected-output.mdfor nonvisual workflows.
Never treat a screenshot as the implementation. The HTML demo must work.
7. Validate the Complete Package
Run validation in proportion to the artifact:
- Run the skill creator's
quick_validate.pyon every new or changed skill. - Run repository demo validation and any targeted syntax
Câu hỏi thường gặp
Một bài viết có luôn tạo ra nhiều skill không?
Không. Skill nói nên gộp các bước trừ khi tách ra sẽ làm mỗi bước không dùng được.
Skill có sao chép thương hiệu của bài viết không?
Không. Skill giữ phần hành vi hữu ích và bỏ thương hiệu cũng như bố cục của trang nguồn.
Skill có kiểm tra skill trùng lặp không?
Có. Skill tìm các skill hiện có có năng lực chồng chéo trước khi tạo thư mục mới.
Chi tiết
Mô tả gốc của tác giả
Convert an article, tutorial, or prompt pack into focused reusable AgentSkills, one independent capability per skill, with portable instructions, example prompts, working demos, preview screenshots, validation, gallery updates, and a narrow commit. Use when the user asks to turn an article's prompts, tutorial sections, design patterns, interactions, or workflow ideas into complete skills rather than leaving them as prose.
repo: MengTo/Skills
Độ phổ biến
- Sao GitHub
- 7.2k
- Vị trí xếp hạng
- #13329
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
3d-cloth-material
7.2kGiúp agent của bạn tạo vải dệt 3D trông thật trong Three.js, với sợi dệt, ánh bóng nhẹ, nếp gấp tự nhiên, viền gấu và đường may.
3d-falling-leaves
7.2kGiúp agent của bạn thêm lá rơi chân thực vào cảnh 3D, với lá xoay tròn, trôi theo gió và được tái sử dụng khi máy quay di chuyển.
3d-four-seasons
7.2kGiúp agent của bạn thêm diện mạo xuân, hạ, thu, đông vào cảnh 3D, thay đổi cây cối, ánh sáng, bầu trời và tuyết mà không cần dựng lại cảnh.
3d-high-poly-models
7.2kGiúp agent của bạn dựng mô hình 3D chi tiết với hình dạng mượt và cạnh trông thật, rồi tạo các phiên bản nhẹ hơn chạy tốt trên web.
Skill tương tự
writing-skills
311kDạy agent của bạn viết skill mới và kiểm thử từng skill trước, kiểm tra xem skill có thực sự thay đổi cách agent hành xử hay không.
writing-for-agents
310kGiải thích cách viết hướng dẫn rõ ràng cho agent AI, gồm skill, tệp AGENTS.md và CLAUDE.md, để agent cư xử nhất quán.
bengali-nlp
280kGiúp agent của bạn xử lý văn bản tiếng Bengali, hỗ trợ hiểu ngôn ngữ này, chuẩn hóa văn bản và xử lý các đặc điểm riêng của nó.