{"id":497,"date":"2025-10-29T07:00:00","date_gmt":"2025-10-28T23:00:00","guid":{"rendered":"https:\/\/smartaiunion.com\/?p=497"},"modified":"2025-10-28T19:32:00","modified_gmt":"2025-10-28T11:32:00","slug":"claude-skills%e5%ae%9e%e8%b7%b5%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/smartaiunion.com\/index.php\/2025\/10\/29\/497\/","title":{"rendered":"Claude Skills\u5b9e\u8df5\u6307\u5357"},"content":{"rendered":"\n<p>\u6700\u8fd1 Claude \u5728&nbsp;<code>github<\/code>&nbsp;\u4e0a\u6709\u4e00\u4e2a\u6bd4\u8f83\u706b\u7684\u9879\u76ee\uff1a<code>https:\/\/github.com\/anthropics\/skills<\/code>\uff0c\u9879\u76ee\u662f\u56f4\u7ed5\u65b0\u6982\u5ff5&nbsp;<code>Skills<\/code>\uff0c\u6211\u89c9\u5f97\u5b9e\u9645\u4e0a\u662f\uff1a\u901a\u8fc7\u5de5\u7a0b\u5316\u7ed3\u6784\u6765\u5b9e\u73b0\u667a\u80fd\u4f53\uff0c\u7528\u4e00\u79cd\u5de5\u7a0b\u8303\u5f0f\u6765\u5b8c\u6210\u5b50\u529f\u80fd\uff0c\u5c31\u50cfC++\u4ee3\u7801\u4e2d\u63d0\u51fa\u4e00\u79cd\u66f4\u597d\u7684\u8bbe\u8ba1\u6a21\u5f0f\u6765\u89e3\u51b3\u901a\u7528\u95ee\u9898\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. \u4ec0\u4e48\u662f&nbsp;<code>Skills<\/code><\/h3>\n\n\n\n<p><code>Skills<\/code>&nbsp;\u662f\u4e00\u7ec4\u7531\u8bf4\u660e\u6587\u6863\u3001\u811a\u672c\u4e0e\u8d44\u6e90\u7ec4\u6210\u7684 \u201c\u6280\u80fd\u5305\u201d\uff0cClaude \u4f1a\u5728\u9700\u8981\u65f6\u52a8\u6001\u52a0\u8f7d\uff0c\u7528\u4e8e\u63d0\u5347\u5728\u7279\u5b9a\u4efb\u52a1\u4e0a\u7684\u4e00\u81f4\u6027\u4e0e\u8868\u73b0\uff0c\u501f\u52a9&nbsp;<code>Skills<\/code>\uff0cClaude \u80fd\u4ee5\u53ef\u590d\u7528\u7684\u65b9\u5f0f\u5b8c\u6210\u67d0\u7c7b\u4efb\u52a1\uff0c\u4f8b\u5982\uff1a\u6309\u516c\u53f8\u54c1\u724c\u89c4\u8303\u521b\u4f5c\u6587\u6863\u3001\u6309\u7ec4\u7ec7\u7279\u5b9a\u6d41\u7a0b\u5206\u6790\u6570\u636e\uff0c\u6216\u81ea\u52a8\u5316\u4e2a\u4eba\u5de5\u4f5c\u6d41\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p3-xtjj-sign.byteimg.com\/tos-cn-i-73owjymdk6\/5af81d9970f54d1d9bc9357a44fa84b7~tplv-73owjymdk6-jj-mark-v1:0:0:0:0:5o6Y6YeR5oqA5pyv56S-5Yy6IEAg5ZGo5pyr56iL5bqP54y_:q75.awebp?rk3s=f64ab15b&amp;x-expires=1761884418&amp;x-signature=YGNcBiTrmXurZ4DFTpTTc3lp2bI%3D\" alt=\"\u56fe\u7247\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><code>Skills<\/code>&nbsp;\u5982\u4f55\u5de5\u4f5c<\/h3>\n\n\n\n<p><code>Skills<\/code>&nbsp;\u901a\u8fc7 \u201c\u9010\u6b65\u8fed\u4ee3\u201d \u7684\u65b9\u5f0f\u5de5\u4f5c\uff1a\u5f53\u4f60\u53d1\u8d77\u4efb\u52a1\u65f6\uff0cClaude \u4f1a\u5ba1\u89c6\u53ef\u7528&nbsp;<code>Skills<\/code>\uff0c\u81ea\u52a8\u6311\u9009\u76f8\u5173\u7684\u6280\u80fd\u5e76\u53ea\u52a0\u8f7d\u5b8c\u6210\u4efb\u52a1\u6240\u9700\u7684\u6307\u4ee4\u4e0e\u8d44\u6e90\uff0c\u8fd9\u6837\u65e2\u80fd\u63d0\u5347\u901f\u5ea6\u4e0e\u6548\u679c\uff0c\u4e5f\u80fd\u907f\u514d\u5c06\u65e0\u5173\u5185\u5bb9\u585e\u6ee1\u4e0a\u4e0b\u6587\u7a97\u53e3\uff0c\u4ece\u800c\u4fdd\u6301\u5bf9\u8bdd\u4e0e\u8ba1\u7b97\u7684\u9ad8\u6548\u4e0e\u7a33\u5b9a\u3002<\/p>\n\n\n\n<p><strong>\u6838\u5fc3\u673a\u5236\uff1a<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4f60\u63d0\u51fa\u4efb\u52a1\u8bf7\u6c42<\/li>\n\n\n\n<li>Claude \u5728\u53ef\u7528\u00a0<code>Skills<\/code>\u00a0\u4e2d\u8fdb\u884c\u5339\u914d\u4e0e\u9009\u62e9<\/li>\n\n\n\n<li>\u81ea\u52a8\u52a0\u8f7d\u76f8\u5173\u6280\u80fd\u7684\u6307\u4ee4\/\u811a\u672c\/\u8d44\u6e90<\/li>\n\n\n\n<li>\u6309\u6280\u80fd\u6d41\u7a0b\u6267\u884c\u4efb\u52a1\uff0c\u63d0\u9ad8\u4e00\u81f4\u6027\u4e0e\u5b8c\u6210\u8d28\u91cf<\/li>\n<\/ol>\n\n\n\n<p><strong>\u4f18\u52bf\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u63d0\u5347\u4e13\u9879\u4efb\u52a1\u8868\u73b0\uff1a\u4e3a\u6587\u6863\u521b\u4f5c\u3001\u6570\u636e\u5206\u6790\u4e0e\u9886\u57df\u4efb\u52a1\u63d0\u4f9b\u4e13\u95e8\u80fd\u529b\uff0c\u8865\u5f3a\u901a\u7528\u6a21\u578b\u7684\u77e5\u8bc6\u4e0e\u6d41\u7a0b\u6267\u884c\u529b<\/li>\n\n\n\n<li>\u7ec4\u7ec7\u77e5\u8bc6\u6c89\u6dc0\uff1a\u5c06\u7ec4\u7ec7\u6d41\u7a0b\u3001\u6700\u4f73\u5b9e\u8df5\u4e0e\u5236\u5ea6\u5316\u77e5\u8bc6\u6253\u5305\uff0c\u4f7f\u56e2\u961f\u6210\u5458\u4e0e Claude \u4fdd\u6301\u4e00\u81f4\u7684\u6267\u884c\u6807\u51c6<\/li>\n\n\n\n<li>\u6613\u4e8e\u5b9a\u5236\uff1a\u4f7f\u7528 Markdown \u7f16\u5199\u8bf4\u660e\u5373\u53ef\u521b\u5efa\u57fa\u7840\u00a0<code>Skills<\/code>\uff0c\u5982\u9700\u66f4\u9ad8\u7ea7\u529f\u80fd\uff0c\u53ef\u4e3a\u81ea\u5b9a\u4e49\u6280\u80fd\u9644\u52a0\u53ef\u6267\u884c\u811a\u672c<\/li>\n\n\n\n<li>\u6613\u4e8e\u7ec4\u5408\uff1a\u5bf9\u4e8e\u590d\u6742\u7684\u4efb\u52a1\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u4e2a\u00a0<code>Skills<\/code>\u00a0\u7ec4\u5408\u8fed\u4ee3\u5904\u7406<\/li>\n<\/ul>\n\n\n\n<p><strong>SKILL.md \u6a21\u7248\u6587\u4ef6\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yaml\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>---\nname: my-skill-name\ndescription: A clear description of what this skill does and when to use it\n---\n\n# My Skill Name\n\n[Add your instructions here that Claude will follow when this skill is active]\n\n## Examples\n- Example usage 1\n- Example usage 2\n\n## Guidelines\n- Guideline 1\n- Guideline 2\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. \u4e0e Claude \u5176\u4ed6\u529f\u80fd\u5bf9\u6bd4<\/h3>\n\n\n\n<p><strong>Skills vs. Projects\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Projects\uff1a\u4e3a\u7279\u5b9a\u9879\u76ee\u5bf9\u8bdd\u63d0\u4f9b \u201c\u6301\u7eed\u52a0\u8f7d\u201d \u7684\u9759\u6001\u80cc\u666f\u77e5\u8bc6<\/li>\n\n\n\n<li>Skills\uff1a\u63d0\u4f9b \u201c\u6309\u9700\u6fc0\u6d3b\u201d \u7684\u4e13\u95e8\u6d41\u7a0b\u4e0e\u64cd\u4f5c\u6307\u5357\uff0c\u5e76\u53ef\u5728\u4efb\u610f\u5bf9\u8bdd\u4e2d\u52a8\u6001\u751f\u6548<\/li>\n<\/ul>\n\n\n\n<p><strong>Skills vs. MCP\uff08Model Context Protocol\uff09\uff1a<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>MCP\uff1a\u5c06 Claude \u8fde\u63a5\u5230\u5916\u90e8\u670d\u52a1\u4e0e\u6570\u636e\u6e90<\/li>\n\n\n\n<li><code>Skills<\/code>\uff1a\u63d0\u4f9b \u201c\u5982\u4f55\u5b8c\u6210\u4efb\u52a1\u201d \u7684\u6d41\u7a0b\u6027\u77e5\u8bc6\u4e0e\u64cd\u4f5c\u6b65\u9aa4<\/li>\n\n\n\n<li>\u4e8c\u8005\u53ef\u534f\u540c\uff1aMCP \u8d1f\u8d23\u63a5\u5165\u5de5\u5177\u4e0e\u6570\u636e\uff0c<code>Skills<\/code>\u00a0\u8d1f\u8d23\u6559\u4f1a Claude \u5982\u4f55\u6709\u6548\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177<\/li>\n<\/ul>\n\n\n\n<p><strong>Skills vs. Prompt<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Prompt\uff1a\u5bf9\u6240\u6709\u5bf9\u8bdd\u751f\u6548\uff0c\u5f3a\u8c03\u901a\u7528\u504f\u597d\u4e0e\u98ce\u683c<\/li>\n\n\n\n<li><code>Skills<\/code>\uff1a\u9762\u5411\u7279\u5b9a\u4efb\u52a1\uff0c\u4ec5\u5728\u76f8\u5173\u65f6\u52a0\u8f7d\uff0c\u66f4\u9002\u5408\u4e13\u4e1a\u5de5\u4f5c\u6d41\u4e0e\u573a\u666f\u5316\u6d41\u7a0b<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">3.&nbsp;<code>Skills<\/code>&nbsp;\u76ee\u5f55\u7ed3\u6784<\/h3>\n\n\n\n<p><strong><code>Skills<\/code>&nbsp;\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">arduino\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>my-skill\/\n\u251c\u2500\u2500 SKILL.md (required)\n\u251c\u2500\u2500 reference.md (optional documentation)\n\u251c\u2500\u2500 examples.md (optional examples)\n\u251c\u2500\u2500 scripts\/\n\u2502 &nbsp; \u2514\u2500\u2500 helper.py (optional utility)\n\u2514\u2500\u2500 templates\/\n&nbsp; &nbsp; \u2514\u2500\u2500 template.txt (optional template)\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">3.1 \u57fa\u7840\u7ed3\u6784<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>Skills<\/code>\u00a0\u76ee\u5f55\u4e0e\u00a0<code>SKILL.md<\/code>\u00a0\u6587\u4ef6<\/li>\n\n\n\n<li>\u6bcf\u4e2a\u00a0<code>Skills<\/code>\u00a0\u81f3\u5c11\u5305\u542b\u4e00\u4e2a\u76ee\u5f55\u548c\u5176\u4e2d\u7684\u00a0<code>SKILL.md<\/code>\u00a0\u6587\u4ef6<\/li>\n\n\n\n<li><code>SKILL.md<\/code>\u00a0\u9876\u90e8\u5fc5\u987b\u4ee5\u00a0<code>YAML frontmatter<\/code>\u00a0\u5f00\u59cb\uff0c\u81f3\u5c11\u5305\u542b\u00a0<code>name<\/code>\u00a0\u4e0e\u00a0<code>description<\/code>\u00a0\u4e24\u4e2a\u5fc5\u586b\u5143\u6570\u636e\u5b57\u6bb5<\/li>\n\n\n\n<li>\u5176\u4f59\u5185\u5bb9\u91c7\u7528 \u201c\u8fed\u4ee3\u6267\u884c\u201d \u539f\u5219\uff1a\u5148\u8bfb\u5143\u6570\u636e\uff0c\u5fc5\u8981\u65f6\u518d\u52a0\u8f7d\u6b63\u6587\u3001\u53c2\u8003\u6587\u4ef6\u4e0e\u811a\u672c\uff0c\u907f\u514d\u4e0a\u4e0b\u6587\u8fc7\u8f7d<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">3.2 \u5143\u6570\u636e<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>name\u3010\u5fc5\u586b\u3011\uff1a\u4eba\u7c7b\u53ef\u8bfb\u7684 Skill \u540d\u79f0\uff08\u2264 64 \u5b57\u7b26\uff09\uff0c\u793a\u4f8b\uff1aBrand Guidelines<\/li>\n\n\n\n<li>description\u3010\u5fc5\u586b\u3011\uff1aSkill \u7684\u7528\u9014\u4e0e\u89e6\u53d1\u6761\u4ef6\uff08\u2264 200 \u5b57\u7b26\uff1bClaude \u4f9d\u6b64\u5224\u65ad\u4f55\u65f6\u8c03\u7528\uff09\uff0c\u793a\u4f8b\uff1aApply Acme Corp brand guidelines to presentations and documents, including official colors, fonts, and logo usage.<\/li>\n\n\n\n<li>version\u3010\u53ef\u9009\u3011\uff1a\u7248\u672c\u53f7\uff08\u4fbf\u4e8e\u6f14\u8fdb\u4e0e\u56de\u6eda\uff09\uff0c\u793a\u4f8b\uff1a1.0.0<\/li>\n\n\n\n<li>dependencies\u3010\u53ef\u9009\u3011\uff1a\u6240\u9700\u8f6f\u4ef6\u5305\uff0c\u793a\u4f8b\uff1apython>=3.8, pandas>=1.5.0<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">3.3&nbsp;<code>SKILL.md<\/code>&nbsp;\u7684\u6b63\u6587<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5f53\u4ec5\u51ed\u5143\u6570\u636e\u4e0d\u8db3\u4ee5\u6267\u884c\u4efb\u52a1\u65f6\uff0cClaude \u4f1a\u52a0\u8f7d\u6b63\u6587<\/li>\n\n\n\n<li>\u6b63\u6587\u53ef\u5305\u542b\uff1a\u6267\u884c\u6b65\u9aa4\u3001\u89c4\u8303\u7ec6\u5219\u3001\u793a\u4f8b\u3001\u4f55\u65f6\/\u4f55\u4e0d\u9002\u7528\u3001\u5f15\u7528\u7684\u8d44\u6e90\u6587\u4ef6\u7b49<\/li>\n<\/ul>\n\n\n\n<p><strong><code>SKILL.md<\/code>\u6837\u4f8b\uff1a<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yaml\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>---\nname: Brand Guidelines\ndescription: Apply Acme Corp brand guidelines to all presentations and documents, including official colors, fonts, and logo usage.\nversion: 1.0.0\ndependencies: []\n---\n\n# Overview\nThis Skill provides Acme Corp's official brand guidelines for creating consistent, professional materials. When creating presentations, documents, or marketing materials, apply these standards to ensure all outputs match Acme's visual identity. Claude should reference these guidelines whenever creating external-facing materials or documents that represent Acme Corp.\n\n## Brand Colors\n- Primary:&nbsp;#FF6B35&nbsp;(Coral)\n- Secondary:&nbsp;#004E89&nbsp;(Navy Blue)\n- Accent:&nbsp;#F7B801&nbsp;(Gold)\n- Neutral:&nbsp;#2E2E2E&nbsp;(Charcoal)\n\n## Typography\n- Headers: Montserrat Bold\n- Body text: Open Sans Regular\n- Size guidelines:\n&nbsp; - H1: 32pt\n&nbsp; - H2: 24pt\n&nbsp; - Body: 11pt\n\n## Logo Usage\n- Use the full-color logo on light backgrounds; use the white logo on dark backgrounds.\n- Maintain minimum spacing of 0.5 inches around the logo.\n\n## When to Apply\nApply these guidelines when creating:\n- PowerPoint presentations\n- Word documents&nbsp;for&nbsp;external sharing\n- Marketing materials\n- Client-facing reports\n\n## Examples\n- Input: \u201cCreate a 10-slide pitch deck&nbsp;for&nbsp;Acme Corp\u2019s new product.\u201d\n- Output: A PPT with the above colors, fonts, logo rules, and spacing applied consistently.\n\n## Resources\nSee the resources folder&nbsp;for&nbsp;logo files and font downloads.\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">3.4&nbsp;<code>Skill<\/code>&nbsp;\u6d89\u53ca\u7684\u8d44\u6e90<\/h4>\n\n\n\n<p><strong><code>SKILL.md<\/code>&nbsp;\u9700\u8981\u5f15\u5165\u7684\u8d44\u6e90\u6587\u4ef6<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u5f53\u4fe1\u606f\u8f83\u591a\u3001\u4e14\u90e8\u5206\u5185\u5bb9\u4ec5\u5728\u7279\u5b9a\u60c5\u5883\u9700\u8981\u65f6\uff0c\u53ef\u5c06\u8865\u5145\u6750\u6599\u62c6\u5206\u4e3a\u72ec\u7acb\u6587\u4ef6\uff08\u5982 REFERENCE.md\u3001CHECKLIST.md\u3001TEMPLATES\/\uff09<\/li>\n\n\n\n<li>\u5728\u00a0<code>SKILL.md<\/code>\u00a0\u4e2d\u5f15\u7528\u8fd9\u4e9b\u6587\u4ef6\uff0cClaude \u5c06\u6309\u9700\u52a0\u8f7d\uff0c\u51cf\u5c11\u65e0\u5173\u5185\u5bb9\u5360\u7528<\/li>\n<\/ul>\n\n\n\n<p><strong>\u53ef\u6267\u884c\u811a\u672c<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u8fdb\u9636\u00a0<code>Skill<\/code>\u00a0\u53ef\u9644\u5e26\u53ef\u6267\u884c\u4ee3\u7801\u6587\u4ef6\uff0c\u4f9b Claude \u8c03\u7528\u4ee5\u5b8c\u6210\u590d\u6742\u4efb\u52a1\uff08\u4f8b\u5982\u6587\u6863\u6279\u91cf\u5904\u7406\u3001\u6570\u636e\u6e05\u6d17\u3001\u53ef\u89c6\u5316\u7b49\uff09<\/li>\n\n\n\n<li>\u5e38\u7528\u8bed\u8a00\u4e0e\u751f\u6001\uff1a\n<ul class=\"wp-block-list\">\n<li>Python\uff08pandas\u3001numpy\u3001matplotlib \u7b49\uff09<\/li>\n\n\n\n<li>JavaScript \/ Node.js\u7b49<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u5305\u7ba1\u7406\u7ea6\u675f\uff1a\n<ul class=\"wp-block-list\">\n<li>Claude \u4e0e Claude Code \u5728\u52a0\u8f7d\u00a0<code>Skill<\/code>\u00a0\u65f6\u53ef\u4ece\u6807\u51c6\u4ed3\u5e93\u5b89\u88c5\u4f9d\u8d56\uff08Python PyPI\u3001JavaScript npm\uff09<\/li>\n\n\n\n<li>\u4f7f\u7528 API Skills \u65f6\uff0c\u8fd0\u884c\u65f6\u65e0\u6cd5\u4e34\u65f6\u5b89\u88c5\u65b0\u5305\uff0c\u6240\u6709\u4f9d\u8d56\u5fc5\u987b\u9884\u88c5\u5728\u5bb9\u5668\u4e2d<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">4. \u5728 Claude \u4e0a\u5982\u4f55\u4f7f\u7528<\/h3>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/p3-xtjj-sign.byteimg.com\/tos-cn-i-73owjymdk6\/5350d180cf0d49e6a28b9f8f01826e03~tplv-73owjymdk6-jj-mark-v1:0:0:0:0:5o6Y6YeR5oqA5pyv56S-5Yy6IEAg5ZGo5pyr56iL5bqP54y_:q75.awebp?rk3s=f64ab15b&amp;x-expires=1761884418&amp;x-signature=Nj%2FUifuH6adnNWfv6jc0OvJXpjQ%3D\" alt=\"\u56fe\u7247\"\/><\/figure>\n\n\n\n<p><strong>\u4e0a\u4f20\u524d\uff1a<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u901a\u8bfb\u00a0<code>SKILL.md<\/code>\uff0c\u786e\u4fdd\u6307\u4ee4\u6e05\u6670\u3001\u6b65\u9aa4\u5b8c\u5907<\/li>\n\n\n\n<li>\u786e\u8ba4 description \u80fd\u51c6\u786e\u63cf\u8ff0 \u201c\u4f55\u65f6\u4f7f\u7528\u201d<\/li>\n\n\n\n<li>\u6821\u9a8c\u88ab\u5f15\u7528\u6587\u4ef6\u8def\u5f84\u4e0e\u547d\u540d\u65e0\u8bef<\/li>\n\n\n\n<li>\u4ee5\u82e5\u5e72\u793a\u4f8b\u63d0\u793a\u8bcd\u672c\u5730\u81ea\u6d4b\uff0c\u89c2\u5bdf Claude \u662f\u5426\u4f1a\u89e6\u53d1\u8be5 Skill<\/li>\n<\/ol>\n\n\n\n<p><strong>\u4e0a\u4f20\u5230 Claude \u540e\uff1a<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u5728 Settings > Capabilities \u4e2d\u542f\u7528\u8be5 Skill<\/li>\n\n\n\n<li>\u4f7f\u7528\u591a\u79cd\u5e94\u89e6\u53d1\u5b83\u7684\u63d0\u793a\u8bcd\u8fdb\u884c\u9a8c\u8bc1<\/li>\n\n\n\n<li>\u786e\u8ba4 Claude \u5728\u54cd\u5e94\u4e2d\u5df2\u52a0\u8f7d Skill\uff08\u4f8b\u5982\u8f93\u51fa\u4e2d\u4f53\u73b0\u6280\u80fd\u540d\u79f0\u6216\u9075\u5faa\u6280\u80fd\u6d41\u7a0b\uff09<\/li>\n\n\n\n<li>\u82e5\u672a\u6309\u9884\u671f\u89e6\u53d1\uff0c\u8fed\u4ee3\u5b8c\u5584 description \u4e0e\u6b63\u6587\u7684\u89e6\u53d1\u6761\u4ef6\u4e0e\u8303\u56f4<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">5. \u6700\u4f73\u5b9e\u8df5\uff1a\u4ec0\u4e48\u6837\u7684&nbsp;<code>Skills<\/code>&nbsp;\u624d\u662f\u597d \u201cSkill\u201d<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6307\u4ee4\u6e05\u6670\u3001\u53ef\u88ab Claude \u7a33\u5b9a\u6267\u884c<\/li>\n\n\n\n<li>\u9762\u5411\u4e00\u4e2a\u660e\u786e\u3001\u53ef\u91cd\u590d\u7684\u4efb\u52a1<\/li>\n\n\n\n<li>\u805a\u7126\u5355\u4e00\u5de5\u4f5c\u6d41\uff1a\u9762\u5411\u4e0d\u540c\u6d41\u7a0b\u5206\u522b\u521b\u5efa\u6280\u80fd\uff0c\u5c0f\u800c\u4e13\u6ce8\u7684 Skills \u66f4\u6613\u7ec4\u5408\u590d\u7528<\/li>\n\n\n\n<li>\u63cf\u8ff0\u8981\u5177\u4f53\uff1a\u660e\u786e\u201c\u9002\u7528\u5bf9\u8c61\u3001\u65f6\u673a\u3001\u8fb9\u754c\u4e0e\u4f8b\u5916\u201d\uff0c\u4fbf\u4e8e Claude \u6b63\u786e\u5224\u5b9a\u8c03\u7528<\/li>\n\n\n\n<li>\u4ece\u7b80\u5165\u624b\uff1a\u5148\u7528 Markdown \u6307\u4ee4\u8dd1\u901a\u9aa8\u67b6\uff0c\u518d\u9010\u6b65\u5f15\u5165\u811a\u672c\u4e0e\u590d\u6742\u903b\u8f91<\/li>\n\n\n\n<li>\u52a0\u793a\u4f8b\uff1a\u5728 Skill.md \u653e\u5165\u5178\u578b\u8f93\u5165\/\u8f93\u51fa\uff0c\u5e2e\u52a9\u5bf9\u9f50 \u201c\u4f55\u4e3a\u6210\u529f\u201d<\/li>\n\n\n\n<li>\u7248\u672c\u5316\uff1a\u6301\u7eed\u7ef4\u62a4 version \u5b57\u6bb5\uff0c\u4fbf\u4e8e\u56de\u6eaf\u4e0e\u6392\u9519<\/li>\n\n\n\n<li>\u6e10\u8fdb\u6d4b\u8bd5\uff1a\u6bcf\u6b21\u91cd\u8981\u53d8\u66f4\u540e\u5feb\u901f\u9a8c\u8bc1\uff0c\u907f\u514d\u4e00\u6b21\u6027 \u201c\u5927\u6539\u5927\u4e0a\u201d<\/li>\n\n\n\n<li>\u7ec4\u5408\u6027\uff1a\u5c3d\u7ba1 Skills \u4e0d\u80fd\u663e\u5f0f\u4e92\u76f8\u5f15\u7528\uff0c\u4f46 Claude \u53ef\u81ea\u52a8\u540c\u65f6\u4f7f\u7528\u591a\u4e2a\u6280\u80fd\uff0c\u53d1\u6325 \u201c\u7ec4\u88c5\u6548\u5e94\u201d<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">6.&nbsp;<code>Claude Skills<\/code>&nbsp;\u5b98\u65b9\u793a\u4f8b<\/h3>\n\n\n\n<p>Claude \u5b98\u65b9\u63d0\u4f9b&nbsp;<code>https:\/\/github.com\/anthropics\/skills<\/code>&nbsp;20+\u4e2a\u6837\u4f8b\uff0c\u672c\u6587\u5c31\u62c6\u89e3\u5176\u4e2d\u4e00\u4e2a\u6bd4\u8f83\u5e38\u7528\u7684\uff0c\u81ea\u52a8\u6267\u884c&nbsp;<code>Web \u5e94\u7528\u7a0b\u5e8f\u6d4b\u8bd5<\/code>&nbsp;\uff0c\u76ee\u5f55\u7ed3\u6784\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">objectivec\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>webapp-testing\/\n\u251c\u2500\u2500 SKILL.md\n\u251c\u2500\u2500 scripts\/\n\u2502 &nbsp; \u2514\u2500\u2500 with_server.py\n\u2514\u2500\u2500 examples\/\n&nbsp; &nbsp; \u2514\u2500\u2500 console_logging.py\n&nbsp; &nbsp; \u2514\u2500\u2500 element_discovery.py\n&nbsp; &nbsp; \u2514\u2500\u2500 static_html_automation.py\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">6.1 \u529f\u80fd\u63cf\u8ff0<\/h4>\n\n\n\n<p>\u6839\u636e description \u4ecb\u7ecd\u5f53\u524d\u529f\u80fd\uff0c\u7528\u4e8e\u4f7f\u7528 Playwright \u4ea4\u4e92\u548c\u6d4b\u8bd5\u672c\u5730 Web \u5e94\u7528\u7a0b\u5e8f\u7684\u5de5\u5177\u5305\uff0c\u652f\u6301\u9a8c\u8bc1\u524d\u7aef\u529f\u80fd\u3001\u8c03\u8bd5 UI \u884c\u4e3a\u3001\u6355\u83b7\u6d4f\u89c8\u5668\u622a\u56fe\u4ee5\u53ca\u67e5\u770b\u6d4f\u89c8\u5668\u65e5\u5fd7\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">yaml\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>---\nname: webapp-testing\ndescription: Toolkit&nbsp;for&nbsp;interacting with and testing&nbsp;local&nbsp;web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.\nlicense: Complete terms&nbsp;in&nbsp;LICENSE.txt\n---\n\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">6.2 \u6b63\u6587-\u5de5\u4f5c\u6d41\u7a0b<\/h4>\n\n\n\n<p>\u8fd9\u90e8\u5206\u662f\u6b63\u6587\u91cd\u70b9\u7684\u90e8\u5206\uff0c\u4ecb\u7ecd\u5f53\u524d\u51b3\u7b56\u6811\u7684\u5de5\u4f5c\u6d41\uff0c\u4e0d\u8fc7\u6211\u89c9\u5f97\u7528\u65f6\u5e8f\u56fe\uff0cEARS\u7b49\u4e5f\u53ef\u4ee5\uff0c\u53ea\u8981\u80fd\u4ecb\u7ecd\u6e05\u695a\u6bcf\u4e2a\u6b65\u9aa4\u9700\u8981\u505a\u4ec0\u4e48\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sql\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>## Decision Tree: Choosing Your Approach\n\nUser task \u2192 Is it static HTML?\n&nbsp; &nbsp; \u251c\u2500 Yes \u2192 Read HTML file directly to identify selectors\n&nbsp; &nbsp; \u2502 &nbsp; &nbsp; &nbsp; &nbsp; \u251c\u2500 Success \u2192 Write Playwright script using selectors\n&nbsp; &nbsp; \u2502 &nbsp; &nbsp; &nbsp; &nbsp; \u2514\u2500 Fails\/Incomplete \u2192 Treat as dynamic (below)\n&nbsp; &nbsp; \u2502\n&nbsp; &nbsp; \u2514\u2500 No (dynamic webapp) \u2192 Is the server already running?\n&nbsp; &nbsp; &nbsp; &nbsp; \u251c\u2500 No \u2192 Run: python scripts\/with_server.py --help\n&nbsp; &nbsp; &nbsp; &nbsp; \u2502 &nbsp; &nbsp; &nbsp; &nbsp;Then use the helper + write simplified Playwright script\n&nbsp; &nbsp; &nbsp; &nbsp; \u2502\n&nbsp; &nbsp; &nbsp; &nbsp; \u2514\u2500 Yes \u2192 Reconnaissance-then-action:\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1. Navigate and&nbsp;waitfor&nbsp;networkidle\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2. Take screenshot or inspect DOM\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3. Identify selectors from rendered state\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4. Execute actions with discovered selectors\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">6.3 \u6b63\u6587-\u4f7f\u7528\u811a\u672c\u793a\u4f8b<\/h4>\n\n\n\n<p>\u8fd9\u90e8\u5206\u4e3b\u8981\u662f\u4ecb\u7ecd\u811a\u672c\u600e\u4e48\u4f7f\u7528\uff0c\u811a\u672c\u6267\u884c\u524d\u9700\u8981\u505a\u4ec0\u4e48\uff0c\u811a\u672c\u6267\u884c\u540e\u9700\u8981\u505a\u4ec0\u4e48\u7b49\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">perl\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>## Example: Using with_server.py\n\nTo start a server, run `--help` first,&nbsp;then&nbsp;use the helper:\n...\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">6.4 \u6b63\u6587-\u5176\u4ed6<\/h4>\n\n\n\n<p>\u5176\u4ed6\u90e8\u5206\u5c31\u662f\u5305\u62ec\u4e00\u4e9b\u6d41\u7a0b\u9700\u8981\u7684\u7ec6\u8282\uff0c\u6ce8\u610f\u4e8b\u9879\uff0c\u6d89\u53ca\u7684\u4e00\u4e9b\u6587\u4ef6\u662f\u505a\u4ec0\u4e48\u7684\u7b49\u4ecb\u7ecd\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">shell\u4f53\u9a8cAI\u4ee3\u7801\u52a9\u624b\u4ee3\u7801\u89e3\u8bfb\u590d\u5236\u4ee3\u7801<code>## Reconnaissance-Then-Action Pattern\n...\n\n## Common Pitfall\n...\n\n## Best Practices\n...\n\n## Reference Files\n...\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">7. \u603b\u7ed3<\/h3>\n\n\n\n<p>Claude&nbsp;<code>Skills<\/code>&nbsp;\u662f\u63d0\u4f9b\u4e86\u4e00\u79cd\u5de5\u7a0b\u8303\u5f0f\uff0c\u4ee5\u524d\u5927\u5bb6\u901a\u8fc7\u5404\u79cd&nbsp;<code>MCP<\/code>\uff0c<code>Agent<\/code>&nbsp;\u7b49\u5c06\u529f\u80fd\u7ec4\u5408\u8d77\u6765\uff0c\u4e2d\u95f4\u5c42\u901a\u8fc7&nbsp;<code>Prompt<\/code>&nbsp;\u7c98\u5408\uff0c\u4e00\u65b9\u9762\u4e0d\u5bb9\u6613\u7ef4\u62a4\u548c\u7ee7\u627f\uff0c\u53e6\u4e00\u65b9\u9762\u6ca1\u6709\u89c4\u8303\u4f1a\u5bfc\u81f4\u4e0d\u7a33\u5b9a\uff0c\u4f46\u662f&nbsp;<code>Skills<\/code>&nbsp;\u901a\u8fc7\u5de5\u7a0b\u8303\u5f0f\u7ea6\u675f\u5f88\u5927\u7a0b\u5ea6\u4e0a\u89e3\u51b3&nbsp;<code>AI<\/code>&nbsp;\u9879\u76ee\u7684\u5de5\u7a0b\u5316\u95ee\u9898\uff1b<br>\u540c\u65f6\u6bcf\u4e00\u4e2a&nbsp;<code>Skills<\/code>&nbsp;\u6587\u4ef6\u5939\u5c31\u662f\u5c0f\u7684&nbsp;<code>Agent<\/code>\uff0c\u8fd9\u4e9b&nbsp;<code>Skills<\/code>&nbsp;\u53c8\u53ef\u4ee5\u7ec4\u5408\u4e3a\u4e00\u4e2a\u590d\u6742\u7684&nbsp;<code>Agent<\/code>\uff0c\u5c31\u50cf\u6211\u4eec\u5199\u4ee3\u7801\u4e00\u6837\uff0c\u5148\u6709\u57fa\u7840\u5e93\uff0c\u7136\u540e\u901a\u8fc7\u57fa\u7840\u5e93\u518d\u7ec4\u5408\u590d\u6742\u5de5\u7a0b\u903b\u8f91\uff0c\u8fd9\u4e2a\u5927\u6982\u662f\u5c31\u662f\u4ece\u6df7\u6c8c\u5230\u89c4\u8303\u5316\u7684\u5386\u7a0b\u3002<\/p>\n\n\n\n<p>\u539f\u6587\u94fe\u63a5\uff1ahttps:\/\/juejin.cn\/post\/7564328941835714560<br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1 Claude \u5728&nbsp;github&nbsp;\u4e0a\u6709\u4e00\u4e2a\u6bd4&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":385,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18],"tags":[],"class_list":["post-497","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tools"],"_links":{"self":[{"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/posts\/497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/comments?post=497"}],"version-history":[{"count":1,"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/posts\/497\/revisions"}],"predecessor-version":[{"id":498,"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/posts\/497\/revisions\/498"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/media\/385"}],"wp:attachment":[{"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/media?parent=497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/categories?post=497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartaiunion.com\/index.php\/wp-json\/wp\/v2\/tags?post=497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}