[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DAKRTZMNM0PCTYV60WXKY4":3,"skill-same:01M7DAKRTZMNM0PCTYV60WXKY4":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7DAKRTZMNM0PCTYV60WXKY4","code-format",null,"Format Python code automatically. Use immediately after editing .py files, when the user mentions formatting or code style, or before checks and commits. Applies the project's ruff format configuration.","LNSD\u002Florecraft","LNSD","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3949095?v=4","01M7DAK7ETP75C8S8PT783SWSP","Lorenzo Delgado","01M7DAK7FBVXE30743ZG437MTN",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-format\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: code-format\ndescription: Format Python code automatically. Use immediately after editing .py files, when the user mentions formatting or code style, or before checks and commits. Applies the project's ruff format configuration.\ncompatibility: Requires the just task runner and uv. ruff is invoked through the project environment rather than a system install.\nallowed-tools: Bash(just fmt *) Bash(just fmt-check *)\n---\n\n# Code Formatting Skill\n\nFormatting operations for this repository, a Python package built with uv.\n\n## When to Use This Skill\n\nUse this skill when you need to:\n- Format code after editing Python files\n- Check whether code meets the formatting standard without rewriting it\n- Ensure formatting compliance before checks or commits\n\n## Available Commands\n\n### Format Python code\n```bash\njust fmt\n```\nFormats the repository with `ruff format`. This is the primary formatting command.\n\n### Check formatting without writing\n```bash\njust fmt-check\n```\nReports what would change using `ruff format --check`, and exits non-zero if anything would.\n\nBoth recipes accept extra flags, which are passed straight through to ruff. The target is always the\nrepository, so a flag changes how it formats, not what it formats.\n\n## Notes\n\n### What the configuration decides\n\nFormatting is not a matter of taste here; `pyproject.toml` settles it. Two settings surprise people\nmost often, and neither is negotiable in a diff:\n\n- **Single quotes.** `quote-style = \"single\"`, so `ruff format` rewrites double-quoted strings.\n  Docstrings keep `\"\"\"`.\n- **A 120-column line length**, not the ruff default of 88.\n\n`just fmt` covers every Python file in the repository. The one exclusion is Markdown: ruff also\nformats Python code blocks inside Markdown, and the documents under `docs\u002F` are written to\nillustrate a convention — bad examples included — so `extend-exclude = [\"*.md\"]` keeps the formatter\noff them.\n\n### Format before checks and commits\n\nFormat when you finish a coherent chunk of work, and always before running checks or committing.\nFormatting after linting wastes a lint pass, because a reformat can move code across line boundaries\nthat the linter already reported on.\n\n### Example workflows\n\n**Single file edit**\n1. Edit one module under `src\u002Florecraft\u002F`.\n2. Run `just fmt`.\n3. Move on to `\u002Fcode-check`.\n\n**Several files across packages**\n1. Edit files in more than one package under `src\u002Florecraft\u002F`.\n2. Run `just fmt` once — it covers the repository, so there is no per-package variant to choose.\n3. Move on to `\u002Fcode-check`.\n\n## Common Mistakes to Avoid\n\n### Anti-patterns\n- **Never run `ruff format` directly** — use `just fmt`, which applies the project's env handling.\n- **Never hand-format to match the style** — the formatter is the authority, and hand-formatting\n  produces a diff it will simply undo.\n- **Never skip formatting because an edit was small** — a one-line change still lands in the diff.\n- **Never reformat files your change does not touch** — an unrelated formatting sweep buries the real\n  change. If the repository is already clean, `just fmt` is a no-op, which is the expected result.\n\n### Best practices\n- Format before checks, tests, or a commit.\n- Use `just fmt-check` when you want to know whether formatting is clean without modifying files —\n  in a review, or when deciding whether a diff is yours.\n- Re-run `just fmt` after `\u002Fcode-check` applies `--fix` rewrites, since those can change line\n  lengths.\n\n## Next Steps\n\nAfter formatting:\n1. **Lint the code** → use `\u002Fcode-check`\n2. **Run targeted tests when warranted** → use `\u002Fcode-test`\n","# Code Formatting Skill\n\nFormatting operations for this repository, a Python package built with uv.\n\n## When to Use This Skill\n\nUse this skill when you need to:\n- Format code after editing Python files\n- Check whether code meets the formatting standard without rewriting it\n- Ensure formatting compliance before checks or commits\n\n## Available Commands\n\n### Format Python code\n```bash\njust fmt\n```\nFormats the repository with `ruff format`. This is the primary formatting command.\n\n### Check formatting without writing\n```bash\njust fmt-check\n```\nReports what would change using `ruff format --check`, and exits non-zero if anything would.\n\nBoth recipes accept extra flags, which are passed straight through to ruff. The target is always the\nrepository, so a flag changes how it formats, not what it formats.\n\n## Notes\n\n### What the configuration decides\n\nFormatting is not a matter of taste here; `pyproject.toml` settles it. Two settings surprise people\nmost often, and neither is negotiable in a diff:\n\n- **Single quotes.** `quote-style = \"single\"`, so `ruff format` rewrites double-quoted strings.\n  Docstrings keep `\"\"\"`.\n- **A 120-column line length**, not the ruff default of 88.\n\n`just fmt` covers every Python file in the repository. The one exclusion is Markdown: ruff also\nformats Python code blocks inside Markdown, and the documents under `docs\u002F` are written to\nillustrate a convention — bad examples included — so `extend-exclude = [\"*.md\"]` keeps the formatter\noff them.\n\n### Format before checks and commits\n\nFormat when you finish a coherent chunk of work, and always before running checks or committing.\nFormatting after linting wastes a lint pass, because a reformat can move code across line boundaries\nthat the linter already reported on.\n\n### Example workflows\n\n**Single file edit**\n1. Edit one module under `src\u002Florecraft\u002F`.\n2. Run `just fmt`.\n3. Move on to `\u002Fcode-check`.\n\n**Several files across packages**\n1. Edit files in more than one package under `src\u002Florecraft\u002F`.\n2. Run `just fmt` once — it covers the repository, so there is no per-package variant to choose.\n3. Move on to `\u002Fcode-check`.\n\n## Common Mistakes to Avoid\n\n### Anti-patterns\n- **Never run `ruff format` directly** — use `just fmt`, which applies the project's env handling.\n- **Never hand-format to match the style** — the formatter is the authority, and hand-formatting\n  produces a diff it will simply undo.\n- **Never skip formatting because an edit was small** — a one-line change still lands in the diff.\n- **Never reformat files your change does not touch** — an unrelated formatting sweep buries the real\n  change. If the repository is already clean, `just fmt` is a no-op, which is the expected result.\n\n### Best practices\n- Format before checks, tests, or a commit.\n- Use `just fmt-check` when you want to know whether formatting is clean without modifying files —\n  in a review, or when deciding whether a diff is yours.\n- Re-run `just fmt` after `\u002Fcode-check` applies `--fix` rewrites, since those can change line\n  lengths.\n\n## Next Steps\n\nAfter formatting:\n1. **Lint the code** → use `\u002Fcode-check`\n2. **Run targeted tests when warranted** → use `\u002Fcode-test`\n",{"name":5,"description":7,"allowed-tools":24,"compatibility":25},"Bash(just fmt *) Bash(just fmt-check *)","Requires the just task runner and uv. ruff is invoked through the project environment rather than a system install.","main","d2f3a5835a8673ccf134ae62f0a5e84104ff7098",".agents\u002Fskills\u002Fcode-format",1,"https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft","https:\u002F\u002Fgithub.com\u002FLNSD","2026-11-10 04:14:00",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add LNSD\u002Florecraft --skill code-format",{"tool":39,"command":40},"bunx","bunx skills add LNSD\u002Florecraft --skill code-format",{"tool":42,"command":43},"pnpm","pnpm dlx skills add LNSD\u002Florecraft --skill code-format","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fcode-format\u002FSKILL.md",true,[],[48,55,60,65,70,75],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7DASA0R4R68AVTZJFJJBYDB","review","Review a change. Use when asked to review.","https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002Ftests\u002Fit\u002Frule_cases\u002FLC504\u002Ftrigger\u002Freference-link-to-parent-skill-file\u002Froot\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":56,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7DAS1YXJQ8FGABR8BGX9FAT","https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002Ftests\u002Fit\u002Frule_cases\u002FLC504\u002Fnear_miss\u002Fclimb-that-stays-inside-and-document-climb\u002Froot\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":61,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7DAS0TCKQFF2YJ5VY9SWHV2","https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002Ftests\u002Fit\u002Frule_cases\u002FLC503\u002Ftrigger\u002Fskill-reference-link-read-from-skill-root\u002Froot\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":66,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7DARZNA9QGXHAY17142R8YT","https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002Ftests\u002Fit\u002Frule_cases\u002FLC503\u002Fnear_miss\u002Fskill-link-climbing-above-skill-root\u002Froot\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":71,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7DARYHB7WBR44AJXFJSZQ7X","https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002Ftests\u002Fit\u002Frule_cases\u002FLC502\u002Ftrigger\u002Fskill-fragment-in-file-without-headings\u002Froot\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[],[],{"skillNo":76,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DARXCTFKMH92FHVV8H30MM","https:\u002F\u002Fgithub.com\u002FLNSD\u002Florecraft\u002Fblob\u002Fmain\u002Ftests\u002Fit\u002Frule_cases\u002FLC501\u002Ftrigger\u002Fskill-link-starting-with-slash\u002Froot\u002F.agents\u002Fskills\u002Freview\u002FSKILL.md",[],[]]