[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C6AZZNE6K0KDRDS3CF3X0W":3,"skill-same:01M6C6AZZNE6K0KDRDS3CF3X0W":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":55,"linkOnly":56,"markdownContent":57,"markdownBody":58,"frontMatter":59,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":66,"repositoryHtmlUrl":67,"repositoryHomepageUrl":17,"ownerHtmlUrl":68,"ownerBlogUrl":17,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6C6AZZNE6K0KDRDS3CF3X0W","ruff-formatting","ruff 代码格式化","Python code formatting with ruff format. Fast, Black-compatible formatter. Use when formatting Python files, enforcing style, or checking format compliance.","使用 ruff format 进行 Python 代码格式化。快速且兼容 Black 的格式化工具。适用于格式化 Python 文件、强制统一代码风格或检查格式合规性。","laurigates\u002Fclaude-plugins","laurigates","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F13014001?v=4","01M6C59YHWS9C7KMXKSRX1YXNP","Lauri Gates","01M6C59YP2APG9YAM4DWYQYGFJ",60,"MIT",null,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fpython-plugin\u002Fskills\u002Fruff-formatting\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CEEYW9437JC839V6V453Q5","Python 开发","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54],"formatting","ruff","ruff formatting","2026","python","code formatting","when","formatter","python code","2025","false","black","files","uv","use","edit","write","read","grep","format","Bash","compliance","fast","code","2026-11-10 10:12:30",false,"---\ncreated: 2025-12-16\nmodified: 2026-02-14\nreviewed: 2025-12-16\nname: ruff-formatting\ndescription: Python code formatting with ruff format. Fast, Black-compatible formatter. Use when formatting Python files, enforcing style, or checking format compliance.\nuser-invocable: false\nallowed-tools: Bash(ruff *), Bash(python *), Bash(uv *), Read, Edit, Write, Grep, Glob\n---\n\n# ruff Formatting\n\nExpert knowledge for using `ruff format` as an extremely fast Python code formatter with Black compatibility.\n\n## When to Use This Skill\n\n| Use this skill when... | Use another tool instead when... |\n|------------------------|----------------------------------|\n| Formatting Python files | Linting for code issues (use ruff check) |\n| Checking format compliance in CI | Type checking (use basedpyright) |\n| Migrating from Black | Detecting dead code (use vulture\u002Fdeadcode) |\n| Setting up format-on-save | Running tests (use pytest) |\n\n## Core Expertise\n\n**ruff format Advantages**\n- 10-30x faster than Black\n- Drop-in Black replacement (99.9% compatible)\n- Written in Rust for performance\n- Supports Black's configuration options\n- Format checking and diff preview\n- Respects `.gitignore` automatically\n\n## Basic Usage\n\n### Simple Formatting\n```bash\n# Format current directory\nruff format\n\n# Format specific files or directories\nruff format path\u002Fto\u002Ffile.py\nruff format src\u002F tests\u002F\n\n# IMPORTANT: Pass directory as parameter to stay in repo root\nruff format services\u002Forchestrator\n```\n\n### Format Checking\n```bash\n# Check if files are formatted (exit code 1 if not)\nruff format --check\n\n# Show diff without modifying files\nruff format --diff\n\n# Check specific files\nruff format --check src\u002F tests\u002F\n\n# Preview changes before applying\nruff format --diff services\u002Forchestrator\nruff format services\u002Forchestrator  # Apply after review\n```\n\n### Selective Formatting\n```bash\n# Format only Python files\nruff format src\u002F**\u002F*.py\n\n# Format excluding tests\nruff format --exclude tests\u002F\n\n# Format only changed files (git)\ngit diff --name-only --diff-filter=d | grep '\\.py$' | xargs ruff format\n\n# Format files in specific directory\nruff format src\u002Fcore\u002F src\u002Futils\u002F\n```\n\n## Configuration\n\n### pyproject.toml\n```toml\n[tool.ruff]\nline-length = 88\ntarget-version = \"py39\"\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\nline-ending = \"auto\"\ndocstring-code-format = true\ndocstring-code-line-length = \"dynamic\"\nexclude = [\n    \"*.pyi\",\n    \"**\u002F__pycache__\",\n    \"**\u002Fnode_modules\",\n    \".venv\",\n]\n```\n\n### ruff.toml (standalone)\n```toml\nline-length = 88\n\n[format]\nquote-style = \"single\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\ndocstring-code-format = true\n```\n\n### Black Compatibility\n```toml\n[tool.ruff]\nline-length = 88\nindent-width = 4\ntarget-version = \"py39\"\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\nline-ending = \"auto\"\n```\n\n## Format Workflow\n\n1. **Preview**: `ruff format --diff` (see changes)\n2. **Check**: `ruff format --check` (CI validation)\n3. **Apply**: `ruff format` (modify files)\n4. **Verify**: `ruff format --check` (confirm)\n\n## Best Practices\n\n- Pass directory parameter directly: `ruff format src\u002F`\n- Preview changes first with `--diff`\n- Use one formatter per project (ruff format replaces Black)\n- Exclude generated files in `pyproject.toml`\n- Keep pre-commit config in sync with formatter choice\n- Enable `docstring-code-format` for better docs\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Format directory | `ruff format src\u002F` |\n| Check formatting | `ruff format --check` |\n| Show diff | `ruff format --diff` |\n| CI check + diff | `ruff format --check --diff` |\n| Format + lint | `ruff format && ruff check` |\n| Format changed files | `git diff --name-only --diff-filter=d \\| grep '\\.py$' \\| xargs ruff format` |\n\n## Quick Reference\n\n### Essential Commands\n\n```bash\nruff format                         # Format current directory\nruff format path\u002Fto\u002Fdir             # Format specific directory\nruff format --check                 # Check if formatted\nruff format --diff                  # Show formatting changes\nruff format file1.py file2.py       # Format specific files\nruff format --exclude tests\u002F        # Exclude directory\nruff format --line-length 100       # Override line length\n```\n\n### Format vs Check\n\n| Command | Purpose | Exit Code | Modifies Files |\n|---------|---------|-----------|----------------|\n| `ruff format` | Format files | 0 | Yes |\n| `ruff format --check` | Validate formatting | 1 if unformatted | No |\n| `ruff format --diff` | Show changes | 0 | No |\n| `ruff format --check --diff` | Validate + show | 1 if unformatted | No |\n\n### Configuration Quick Start\n\n**Minimal (Black-compatible)**\n```toml\n[tool.ruff]\nline-length = 88\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\n```\n\n**Recommended**\n```toml\n[tool.ruff]\nline-length = 88\ntarget-version = \"py311\"\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\ndocstring-code-format = true\nline-ending = \"auto\"\nexclude = [\n    \"*.pyi\",\n    \"migrations\u002F**\u002F*.py\",\n]\n```\n\nFor detailed examples, advanced patterns, integration guides, and migration checklists, see [REFERENCE.md](REFERENCE.md).\n","# ruff Formatting\n\nExpert knowledge for using `ruff format` as an extremely fast Python code formatter with Black compatibility.\n\n## When to Use This Skill\n\n| Use this skill when... | Use another tool instead when... |\n|------------------------|----------------------------------|\n| Formatting Python files | Linting for code issues (use ruff check) |\n| Checking format compliance in CI | Type checking (use basedpyright) |\n| Migrating from Black | Detecting dead code (use vulture\u002Fdeadcode) |\n| Setting up format-on-save | Running tests (use pytest) |\n\n## Core Expertise\n\n**ruff format Advantages**\n- 10-30x faster than Black\n- Drop-in Black replacement (99.9% compatible)\n- Written in Rust for performance\n- Supports Black's configuration options\n- Format checking and diff preview\n- Respects `.gitignore` automatically\n\n## Basic Usage\n\n### Simple Formatting\n```bash\n# Format current directory\nruff format\n\n# Format specific files or directories\nruff format path\u002Fto\u002Ffile.py\nruff format src\u002F tests\u002F\n\n# IMPORTANT: Pass directory as parameter to stay in repo root\nruff format services\u002Forchestrator\n```\n\n### Format Checking\n```bash\n# Check if files are formatted (exit code 1 if not)\nruff format --check\n\n# Show diff without modifying files\nruff format --diff\n\n# Check specific files\nruff format --check src\u002F tests\u002F\n\n# Preview changes before applying\nruff format --diff services\u002Forchestrator\nruff format services\u002Forchestrator  # Apply after review\n```\n\n### Selective Formatting\n```bash\n# Format only Python files\nruff format src\u002F**\u002F*.py\n\n# Format excluding tests\nruff format --exclude tests\u002F\n\n# Format only changed files (git)\ngit diff --name-only --diff-filter=d | grep '\\.py$' | xargs ruff format\n\n# Format files in specific directory\nruff format src\u002Fcore\u002F src\u002Futils\u002F\n```\n\n## Configuration\n\n### pyproject.toml\n```toml\n[tool.ruff]\nline-length = 88\ntarget-version = \"py39\"\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\nline-ending = \"auto\"\ndocstring-code-format = true\ndocstring-code-line-length = \"dynamic\"\nexclude = [\n    \"*.pyi\",\n    \"**\u002F__pycache__\",\n    \"**\u002Fnode_modules\",\n    \".venv\",\n]\n```\n\n### ruff.toml (standalone)\n```toml\nline-length = 88\n\n[format]\nquote-style = \"single\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\ndocstring-code-format = true\n```\n\n### Black Compatibility\n```toml\n[tool.ruff]\nline-length = 88\nindent-width = 4\ntarget-version = \"py39\"\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\nline-ending = \"auto\"\n```\n\n## Format Workflow\n\n1. **Preview**: `ruff format --diff` (see changes)\n2. **Check**: `ruff format --check` (CI validation)\n3. **Apply**: `ruff format` (modify files)\n4. **Verify**: `ruff format --check` (confirm)\n\n## Best Practices\n\n- Pass directory parameter directly: `ruff format src\u002F`\n- Preview changes first with `--diff`\n- Use one formatter per project (ruff format replaces Black)\n- Exclude generated files in `pyproject.toml`\n- Keep pre-commit config in sync with formatter choice\n- Enable `docstring-code-format` for better docs\n\n## Agentic Optimizations\n\n| Context | Command |\n|---------|---------|\n| Format directory | `ruff format src\u002F` |\n| Check formatting | `ruff format --check` |\n| Show diff | `ruff format --diff` |\n| CI check + diff | `ruff format --check --diff` |\n| Format + lint | `ruff format && ruff check` |\n| Format changed files | `git diff --name-only --diff-filter=d \\| grep '\\.py$' \\| xargs ruff format` |\n\n## Quick Reference\n\n### Essential Commands\n\n```bash\nruff format                         # Format current directory\nruff format path\u002Fto\u002Fdir             # Format specific directory\nruff format --check                 # Check if formatted\nruff format --diff                  # Show formatting changes\nruff format file1.py file2.py       # Format specific files\nruff format --exclude tests\u002F        # Exclude directory\nruff format --line-length 100       # Override line length\n```\n\n### Format vs Check\n\n| Command | Purpose | Exit Code | Modifies Files |\n|---------|---------|-----------|----------------|\n| `ruff format` | Format files | 0 | Yes |\n| `ruff format --check` | Validate formatting | 1 if unformatted | No |\n| `ruff format --diff` | Show changes | 0 | No |\n| `ruff format --check --diff` | Validate + show | 1 if unformatted | No |\n\n### Configuration Quick Start\n\n**Minimal (Black-compatible)**\n```toml\n[tool.ruff]\nline-length = 88\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\n```\n\n**Recommended**\n```toml\n[tool.ruff]\nline-length = 88\ntarget-version = \"py311\"\n\n[tool.ruff.format]\nquote-style = \"double\"\nindent-style = \"space\"\nskip-magic-trailing-comma = false\ndocstring-code-format = true\nline-ending = \"auto\"\nexclude = [\n    \"*.pyi\",\n    \"migrations\u002F**\u002F*.py\",\n]\n```\n\nFor detailed examples, advanced patterns, integration guides, and migration checklists, see [REFERENCE.md](REFERENCE.md).\n",{"name":5,"created":60,"modified":61,"reviewed":60,"description":7,"allowed-tools":62,"user-invocable":56},1765843200000,1771027200000,"Bash(ruff *), Bash(python *), Bash(uv *), Read, Edit, Write, Grep, Glob","main","bdd0582f1a2ba53d21061835bfd72d45f2f954f4","python-plugin\u002Fskills\u002Fruff-formatting",6,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins","https:\u002F\u002Fgithub.com\u002Flaurigates","Linux enthusiast, cloud engineer, neovim addict, electronics hobbyist.","2026-11-15 03:36:11",{"source":9,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add laurigates\u002Fclaude-plugins --skill ruff-formatting",{"tool":77,"command":78},"bunx","bunx skills add laurigates\u002Fclaude-plugins --skill ruff-formatting",{"tool":80,"command":81},"pnpm","pnpm dlx skills add laurigates\u002Fclaude-plugins --skill ruff-formatting","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fpython-plugin\u002Fskills\u002Fruff-formatting\u002FSKILL.md",true,[85],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"REFERENCE.md","REFERENCE","参考文档",6569,"https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fpython-plugin\u002Fskills\u002Fruff-formatting\u002FREFERENCE.md",[92,100,122,140,156,178],{"skillNo":93,"name":94,"nameZh":17,"description":95,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"01M7DS1CAJ1ESDX08PENF01J0S","session-workflow-capture","Workflow-tool scripts and workflow friction from this session, filed as issues here or in the plugins repo. Use when a session ran Workflow scripts.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fsession-plugin\u002Fskills\u002Fsession-workflow-capture\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":101,"name":102,"nameZh":17,"description":103,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":55},"01M70PFHMH9ADY0CRE6047Y4B2","kitty-show-image","Show the user an image with a note on what to judge, via a file send or a labelled kitty tab. Use when the user must see an image, or icat fails with no \u002Fdev\u002Ftty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-show-image\u002FSKILL.md",[],[107,108,109,110,111,112,113,114,115,116,45,37,51,117,118,119,120,121,34,48],"show","kitty show image","image","kitty","show image","ls","get","send","open","dev","file","text","with","xdg","via",{"skillNo":123,"name":124,"nameZh":17,"description":125,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":55},"01M70PFEN18HKQ4RCQ1VPGMPTB","kitty-session-persistence","Snapshot and restore kitty terminal sessions on macOS. Use when surviving WindowServer hangs without losing tabs, configuring snapshots, or restoring after a force-reboot.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-session-persistence\u002FSKILL.md",[],[110,129,130,131,41,132,37,51,133,134,135,34,48,47,46,136,137,138,139,45],"kitty session persistence","session","persistence","snapshots","uname","reboot","terminal","snapshot","macos","sessions","restore",{"skillNo":141,"name":142,"nameZh":17,"description":143,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":55},"01M70PFC77XGXCVQ1543VGZHYR","kitty-remote-control","Safe kitty remote control from an agent — read panes with kitty @ ls\u002Fget-text, notify, and never mutate the live terminal unasked. Use when running inside kitty.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fkitty-plugin\u002Fskills\u002Fkitty-remote-control\u002FSKILL.md",[],[147,148,110,149,150,112,151,152,113,153,154,45,37,155,51,118,119,135,34,48],"kitty remote control","remote","control","remote control","running","never","panes","notify","query",{"skillNo":157,"name":158,"nameZh":17,"description":159,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":55},"01M70P6WVMCT5JG4SACTM69AF9","docs-reference-check","Dangling doc-reference gate: flag markdown naming repo paths or relative links that no longer exist. Use when docs cite moved\u002Fdeleted files, or wiring a doc-drift lint.","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fdocumentation-plugin\u002Fskills\u002Fdocs-reference-check\u002FSKILL.md",[],[163,164,165,166,167,168,169,170,43,171,45,37,51,172,117,173,174,175,176,177],"docs reference check","check","reference check","reference","docs","links","python3","repo","auto","drift","lint","wiring","chezmoi","references","cp",{"skillNo":179,"name":180,"nameZh":181,"description":182,"descriptionZh":183,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":184,"categories":185,"keywords":192,"publishedAt":55},"01M6C6NDE7DAQGNWSF22J5CJ0Z","youtube-upload","YouTube 视频上传与编辑","Upload a video to YouTube via the Data API v3 and edit its title, description, tags or thumbnail afterwards. Use when publishing or retitling a YouTube video.","通过 Data API v3 将视频上传到 YouTube，并在之后编辑其标题、描述、标签或缩略图。适用于发布 YouTube 视频或修改其标题。","https:\u002F\u002Fgithub.com\u002Flaurigates\u002Fclaude-plugins\u002Fblob\u002Fmain\u002Fyoutube-plugin\u002Fskills\u002Fyoutube-upload\u002FSKILL.md",[186,189],{"categoryNo":187,"categoryName":188,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQV98WRP4APE9VKKKKJ6FV","社交媒体与内容平台管理",{"categoryNo":190,"categoryName":191,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C55A3R2M9C8CAKG3W16HTA","内容创作者",[193,194,195,196,169,197,48,198,46,199,200,44,45,51,117,201,202,37,203,204,205,121,34],"youtube upload","upload","youtube","Video","run","uv run","publishing","data","api","v3","tags","id","title"]