[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M754MP80VJQG52SW3PNERNHD":3,"skill-same:01M754MP80VJQG52SW3PNERNHD":58},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":51},"01M754MP80VJQG52SW3PNERNHD","x-format-code",null,"Formats source code using the appropriate formatter for {{LANGUAGE}}. First step of the pre-commit chain (format -> lint -> compile -> commit). Supports --check (dry-run) and --changed-only modes.","review-bench\u002Federcnj_ia-dev-environment","review-bench","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F286778065?v=4","01M7517F9NTEPDZDAXJBR30FWT","ReviewBench","01M7517FAC9F4P7TGWCNJ8VYVW",0,"MIT","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-format-code\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: x-format-code\nmodel: haiku\ndescription: \"Formats source code using the appropriate formatter for {{LANGUAGE}}. First step of the pre-commit chain (format -> lint -> compile -> commit). Supports --check (dry-run) and --changed-only modes.\"\nuser-invocable: true\nallowed-tools: Bash, Read, Grep, Glob\nargument-hint: \"[--check | --changed-only]\"\ncontext-budget: light\nrequires-capabilities: []\n---\n\n## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: Format Code (slim — ADR-0012)\n\nEnsures source code in {{PROJECT_NAME}} follows a consistent style before commits. First step of the pre-commit chain (RULE-007: `x-format-code -> x-lint-code -> compile -> commit`). Detects `{{LANGUAGE}}`, selects the appropriate formatter, runs it, and re-stages modified files automatically.\n\n## Triggers\n\n- `\u002Fx-format-code` -- format all project files\n- `\u002Fx-format-code --check` -- verify formatting without modifying files (CI mode)\n- `\u002Fx-format-code --changed-only` -- format only modified files (staged + unstaged)\n\n## Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `--check` | No | Dry-run: exit 0 if formatted, exit 1 if not. No files modified. |\n| `--changed-only` | No | Format only files detected via `git diff` (staged + unstaged). |\n\n## Output Contract\n\n- **Mutation:** files formatted in place (unless `--check`). Previously-staged files are automatically re-staged after format.\n- **Exit codes:** `0` success \u002F nothing to do; `1` formatter not installed, execution failure, or violations under `--check`.\n- **Report to stdout:** language, formatter used, files checked, files reformatted, files re-staged.\n- **Supported languages \u002F formatter commands:** see `references\u002Ffull-protocol.md` §1 for the full mapping. Slim summary: spotless (java), prettier (typescript), ruff\u002Fblack (python), gofmt (go), rustfmt (rust), ktfmt (kotlin).\n\n## Error Envelope\n\n> **Chain-wide error matrix.** Canonical `format -> lint -> compile -> commit` rows live in [`_shared\u002Ferror-handling-pre-commit.md`](..\u002F_shared\u002Ferror-handling-pre-commit.md). Rows below are `x-format-code`-specific.\n\n| Scenario | Behavior | Exit |\n|----------|----------|------|\n| Unsupported language (`{{LANGUAGE}}` not in table) | Report warning, do NOT block chain | 0 |\n| No formatter installed (primary + fallback missing) | Report error with install instructions | 1 |\n| Formatter execution fails | Report error with stderr output | 1 |\n| No files to format | Report `\"No files to format\"` | 0 |\n| `--check` finds violations | List files needing formatting | 1 |\n| Re-stage failure (`git add` error) | Report error with git stderr | 1 |\n\n## Full Protocol\n\nMinimum viable contract above. Detailed language\u002Fformatter mapping, the 6-step workflow (detect → select → scope → execute → re-stage → report), build-tool configuration examples (Maven\u002FGradle\u002Fnpm\u002FPython\u002FGo\u002FRust), and per-language file extension lists live in [`references\u002Ffull-protocol.md`](references\u002Ffull-protocol.md) per ADR-0012 (skill body slim-by-default). Happy-path invocation needs only this SKILL.md; full protocol is consulted when a new language or fallback formatter is introduced.\n\n## Integration Notes\n\n| Skill | Relationship | Context |\n|-------|-------------|---------|\n| `x-lint-code` | follows | Second step of the pre-commit chain (after format). |\n| `x-commit-changes` | orchestrator | Invokes this skill as step 3a of its chain. |\n\n## Template Variables\n\n| Variable | Description | Example |\n|----------|-------------|---------|\n| `{{LANGUAGE}}` | Project language | `java` |\n| `{{BUILD_TOOL}}` | Project build tool | `maven` |\n| `{{PROJECT_NAME}}` | Project name | `my-java-cli` |\n","## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: Format Code (slim — ADR-0012)\n\nEnsures source code in {{PROJECT_NAME}} follows a consistent style before commits. First step of the pre-commit chain (RULE-007: `x-format-code -> x-lint-code -> compile -> commit`). Detects `{{LANGUAGE}}`, selects the appropriate formatter, runs it, and re-stages modified files automatically.\n\n## Triggers\n\n- `\u002Fx-format-code` -- format all project files\n- `\u002Fx-format-code --check` -- verify formatting without modifying files (CI mode)\n- `\u002Fx-format-code --changed-only` -- format only modified files (staged + unstaged)\n\n## Parameters\n\n| Parameter | Required | Description |\n|-----------|----------|-------------|\n| `--check` | No | Dry-run: exit 0 if formatted, exit 1 if not. No files modified. |\n| `--changed-only` | No | Format only files detected via `git diff` (staged + unstaged). |\n\n## Output Contract\n\n- **Mutation:** files formatted in place (unless `--check`). Previously-staged files are automatically re-staged after format.\n- **Exit codes:** `0` success \u002F nothing to do; `1` formatter not installed, execution failure, or violations under `--check`.\n- **Report to stdout:** language, formatter used, files checked, files reformatted, files re-staged.\n- **Supported languages \u002F formatter commands:** see `references\u002Ffull-protocol.md` §1 for the full mapping. Slim summary: spotless (java), prettier (typescript), ruff\u002Fblack (python), gofmt (go), rustfmt (rust), ktfmt (kotlin).\n\n## Error Envelope\n\n> **Chain-wide error matrix.** Canonical `format -> lint -> compile -> commit` rows live in [`_shared\u002Ferror-handling-pre-commit.md`](..\u002F_shared\u002Ferror-handling-pre-commit.md). Rows below are `x-format-code`-specific.\n\n| Scenario | Behavior | Exit |\n|----------|----------|------|\n| Unsupported language (`{{LANGUAGE}}` not in table) | Report warning, do NOT block chain | 0 |\n| No formatter installed (primary + fallback missing) | Report error with install instructions | 1 |\n| Formatter execution fails | Report error with stderr output | 1 |\n| No files to format | Report `\"No files to format\"` | 0 |\n| `--check` finds violations | List files needing formatting | 1 |\n| Re-stage failure (`git add` error) | Report error with git stderr | 1 |\n\n## Full Protocol\n\nMinimum viable contract above. Detailed language\u002Fformatter mapping, the 6-step workflow (detect → select → scope → execute → re-stage → report), build-tool configuration examples (Maven\u002FGradle\u002Fnpm\u002FPython\u002FGo\u002FRust), and per-language file extension lists live in [`references\u002Ffull-protocol.md`](references\u002Ffull-protocol.md) per ADR-0012 (skill body slim-by-default). Happy-path invocation needs only this SKILL.md; full protocol is consulted when a new language or fallback formatter is introduced.\n\n## Integration Notes\n\n| Skill | Relationship | Context |\n|-------|-------------|---------|\n| `x-lint-code` | follows | Second step of the pre-commit chain (after format). |\n| `x-commit-changes` | orchestrator | Invokes this skill as step 3a of its chain. |\n\n## Template Variables\n\n| Variable | Description | Example |\n|----------|-------------|---------|\n| `{{LANGUAGE}}` | Project language | `java` |\n| `{{BUILD_TOOL}}` | Project build tool | `maven` |\n| `{{PROJECT_NAME}}` | Project name | `my-java-cli` |\n",{"name":5,"model":24,"description":7,"allowed-tools":25,"argument-hint":26,"context-budget":27,"user-invocable":28,"requires-capabilities":29},"haiku","Bash, Read, Grep, Glob","[--check | --changed-only]","light",true,[],"main","952a630c6f38d193a349d86fa18db1de8843e837","src\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-format-code",1,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment","https:\u002F\u002Fgithub.com\u002Freview-bench","https:\u002F\u002Freview-bench.ai","An open benchmark for AI code review.","2026-10-27 06:56:37",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":28},[41,44,47],{"tool":42,"command":43},"npx","npx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-format-code",{"tool":45,"command":46},"bunx","bunx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-format-code",{"tool":48,"command":49},"pnpm","pnpm dlx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-format-code","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-format-code\u002FSKILL.md",[52],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Ffull-protocol.md","REFERENCE","参考文档",6173,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring-fintech-pci\u002F.claude\u002Fskills\u002Fx-format-code\u002Freferences\u002Ffull-protocol.md",[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M757M8J48TQ1Y3X25GSJBXAS","x-parallel-eval","Detects and classifies file-collision risks between work units (tasks, stories, or epic phases) before parallel execution. Reads ## File Footprint blocks produced by x-task-plan \u002F x-story-plan, applies the parallelism-heuristics knowledge pack (hard \u002F regen \u002F soft categories + hotspot overrides), and emits a collision matrix + serialization recommendation in Markdown (default) or JSON.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fx-parallel-eval\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M757M57XMR9546S69466HDWT","parallelism-heuristics","Canonical catalog of file-collision heuristics for parallel task, story, and epic execution. Defines the File Footprint block format, the three Conflict Categories (hard \u002F regen \u002F soft), a hotspot list of high-contention paths, and the degrade-with-warning policy. Consumed by x-task-plan, x-story-plan, x-epic-map, x-parallel-eval, and x-dev-*-implement.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fparallelism-heuristics\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"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},"01M757M11SZ8P1VCQABT08QVYA","x-watch-pr-ci","Polls a PR's CI checks and Copilot review status, blocking until checks complete or timeout. Returns one of 8 stable exit codes (SUCCESS=0, CI_PENDING_PROCEED=10, CI_FAILED=20, TIMEOUT=30, PR_ALREADY_MERGED=40, NO_CI_CONFIGURED=50, PR_CLOSED=60, PR_NOT_FOUND=70). Writes a versioned state-file for session resume.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-watch-pr-ci\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M757KW53K8KFPGADFB4PH949","x-validate-docs","Documentation freshness gate: validates 6 dimensions (readme, api-specs, grpc-proto, adr, skill-docs, system-architecture) against code changes in a PR. Stack-aware — only validates targets declared\u002Fauto-detected from ProjectConfig.documentation.targets. Returns exit non-zero on staleness; produces structured report.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-validate-docs\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M757KQZHSA10MKC0CR571D60","x-update-system-architecture","Incrementally updates docs\u002Farchitecture\u002Fsystem.md after an epic completes. Appends new entries to the Decision Log (§11) using x-internal-write-report --append (dedup by ## ID: marker) and surgically inserts component\u002Fintegration changes into sections 1-10 via Edit. Idempotent: re-running with the same epic produces a byte-identical system.md.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-system-architecture\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M757KKBT5Q1SVF8DMJBVF46M","x-update-architecture","Incrementally updates the service architecture document with changes from architecture plans. Adds new components, integrations, flows, and ADR references without rewriting existing content. Use after implementation to keep architecture documentation current.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-architecture\u002FSKILL.md",[],[]]