[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72WPWAVKE5C2S5YFFMDJNRB":3,"skill-same:01M72WPWAVKE5C2S5YFFMDJNRB":98},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":34,"commitSha":35,"skillDirectory":36,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":39,"ownerHtmlUrl":40,"ownerBlogUrl":39,"ownerDescription":41,"updatedAt":42,"install":43,"resources":55},"01M72WPWAVKE5C2S5YFFMDJNRB","user-validate",null,"Puts an artifact (a spec, a plan or any document) to the user for a validation decision and returns exactly one outcome: approved, changes-requested or rejected. Runs on the configured backend, `plannotator` (browser review, opt-in) or `internal` (structured prompt, the default). Use when a workflow stage needs the user's approval, sign-off or go\u002Fno-go before it proceeds, or when the user must arbitrate between options. Also use to work out the effective gate configuration (validation.conf) or the outcome a gate run returns. Trigger terms: user gate, validation gate, gate configuration, gate outcome, approval, sign-off, approve this plan, plannotator review. Not for reviewing a pull request (pr-reviewer), writing a spec (spec-author) or annotating a file on the user's own initiative (plannotator).","crewrig\u002Fcrewrig","crewrig","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F283580446?v=4","01M72WDBD9H0YW5JBHNZ0TEVWB","01M72WDBEBNRBAS94AXRPEVYNK",24,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: user-validate\ndescription: 'Puts an artifact (a spec, a plan or any document) to the user for a validation decision and returns exactly one outcome: approved, changes-requested or rejected. Runs on the configured backend, `plannotator` (browser review, opt-in) or `internal` (structured prompt, the default). Use when a workflow stage needs the user''s approval, sign-off or go\u002Fno-go before it proceeds, or when the user must arbitrate between options. Also use to work out the effective gate configuration (validation.conf) or the outcome a gate run returns. Trigger terms: user gate, validation gate, gate configuration, gate outcome, approval, sign-off, approve this plan, plannotator review. Not for reviewing a pull request (pr-reviewer), writing a spec (spec-author) or annotating a file on the user''s own initiative (plannotator).'\ntype: skill\nlicense: Apache-2.0\ncompatibility: Requires Node.js 24 or later for the bundled scripts. The plannotator backend also needs the plannotator binary on PATH; without it the gate runs on the internal backend, which needs only the host CLI's structured question tool.\nmetadata:\n  provenance:\n    canonical: \"${CANONICAL_REPO}\"\n    feedback: \"${CANONICAL_REPO}\"\n    version: \"2.0.0\"\nclaude:\n  allowed-tools:\n    - Read\n    - Bash\n  user-invocable: true\n---\n\n# User Validate\n\nWorkflows call this skill instead of open-coding a gate, so the backend choice, the fallback and the\npresentation options live in one place. One invocation is one question and one outcome, then control\nreturns to the caller. The skill never loops and never decides what a non-approval means: the caller\nowns that policy.\n\n## Invocation contract\n\n- **Inputs:** the artifact to validate (a file path preferred, or an inline element) and the one\n  decision asked, such as \"Approve this plan for DEV?\".\n- **Output:** exactly one of\n  - `approved`: the caller proceeds;\n  - `changes-requested`: the caller does not proceed and routes the `feedback` text upstream;\n  - `rejected`: the caller does not proceed; the situation goes to the user and control returns to\n    the caller, which re-drives under its own retry or halt policy.\n\n## Step 1: read the configuration\n\n```sh\nnode scripts\u002Fgate-config.ts --json\n```\n\nIt reads `~\u002F.crewrig\u002Fvalidation.conf` and prints the effective `backend`, `translate`, `pedagogy`,\n`illustration` and `theme`, plus `raw_passthrough_allowed`. A missing file, a missing key or an invalid\nvalue gives the default, so the gate never fails for a configuration reason: `internal` is the floor on\nevery CLI. Exit `0` always carries usable settings (warnings name an ignored key or value); exit `2` is a\nusage error.\n\u003C!-- crewrig-repo-only:start -->\nCrewRig repository only: the file is written by `node scripts\u002Fsetup-\u003Ccli>-interactive.ts`, run after\n`node scripts\u002Flib\u002Fnode-floor-guard.js` as a separate step.\n\u003C!-- crewrig-repo-only:end -->\n\n## Step 2: realise the gate on the backend\n\n### `internal` (the default)\n\nUse `AskUserQuestion`, or the host CLI's structured question tool (`ask_user` on Gemini CLI and Copilot\nCLI, `ask_question` on Antigravity CLI). A plain prose question is not a gate: the user can answer it\nambiguously and the caller gets no outcome to branch on.\n\n- Ask the one decision, with options that map to the outcomes: Approve is `approved`, Request changes is\n  `changes-requested` (then collect the feedback text), Reject is `rejected`.\n- Apply `translate` and `pedagogy` (below) to the question and option text.\n- `illustration` does not apply: this path has no image surface.\n\n### `plannotator` (opt-in)\n\nRead `references\u002Fplannotator-backend.md`, then follow it. In short: check the binary with\n`node scripts\u002Fplannotator-gate.ts check` (exit `3` means fall back to `internal` and tell the user),\nbuild a presentation when any option is active, and run the review detached with\n`node scripts\u002Fplannotator-gate.ts run \u003Cfile> --json`. The script maps the result to an outcome.\n\n## Presentation options\n\n- **`translate=on`** with a non-English user language: translate only what the user sees (the artifact\n  copy, the commentary, the question, the options). The repository artifact stays in English and a\n  translated copy is never written back.\n- **`pedagogy`** frames the request: `simple` is brief context plus the user's role; `contextual`\n  (default) is the global context, the concerned part and the precise ask; `professor` re-explains what\n  is decided, why, and what each choice implies, with the real content embedded.\n- **`illustration=on`** and **`theme`** matter only to the `plannotator` backend; see its reference.\n\n## Friction\n\nWhen something here misleads or blocks you, tag it with the `harness-report` skill; the shared rule is\nin `references\u002Fshared-friction-reporting.md`.\n","# User Validate\n\nWorkflows call this skill instead of open-coding a gate, so the backend choice, the fallback and the\npresentation options live in one place. One invocation is one question and one outcome, then control\nreturns to the caller. The skill never loops and never decides what a non-approval means: the caller\nowns that policy.\n\n## Invocation contract\n\n- **Inputs:** the artifact to validate (a file path preferred, or an inline element) and the one\n  decision asked, such as \"Approve this plan for DEV?\".\n- **Output:** exactly one of\n  - `approved`: the caller proceeds;\n  - `changes-requested`: the caller does not proceed and routes the `feedback` text upstream;\n  - `rejected`: the caller does not proceed; the situation goes to the user and control returns to\n    the caller, which re-drives under its own retry or halt policy.\n\n## Step 1: read the configuration\n\n```sh\nnode scripts\u002Fgate-config.ts --json\n```\n\nIt reads `~\u002F.crewrig\u002Fvalidation.conf` and prints the effective `backend`, `translate`, `pedagogy`,\n`illustration` and `theme`, plus `raw_passthrough_allowed`. A missing file, a missing key or an invalid\nvalue gives the default, so the gate never fails for a configuration reason: `internal` is the floor on\nevery CLI. Exit `0` always carries usable settings (warnings name an ignored key or value); exit `2` is a\nusage error.\n\u003C!-- crewrig-repo-only:start -->\nCrewRig repository only: the file is written by `node scripts\u002Fsetup-\u003Ccli>-interactive.ts`, run after\n`node scripts\u002Flib\u002Fnode-floor-guard.js` as a separate step.\n\u003C!-- crewrig-repo-only:end -->\n\n## Step 2: realise the gate on the backend\n\n### `internal` (the default)\n\nUse `AskUserQuestion`, or the host CLI's structured question tool (`ask_user` on Gemini CLI and Copilot\nCLI, `ask_question` on Antigravity CLI). A plain prose question is not a gate: the user can answer it\nambiguously and the caller gets no outcome to branch on.\n\n- Ask the one decision, with options that map to the outcomes: Approve is `approved`, Request changes is\n  `changes-requested` (then collect the feedback text), Reject is `rejected`.\n- Apply `translate` and `pedagogy` (below) to the question and option text.\n- `illustration` does not apply: this path has no image surface.\n\n### `plannotator` (opt-in)\n\nRead `references\u002Fplannotator-backend.md`, then follow it. In short: check the binary with\n`node scripts\u002Fplannotator-gate.ts check` (exit `3` means fall back to `internal` and tell the user),\nbuild a presentation when any option is active, and run the review detached with\n`node scripts\u002Fplannotator-gate.ts run \u003Cfile> --json`. The script maps the result to an outcome.\n\n## Presentation options\n\n- **`translate=on`** with a non-English user language: translate only what the user sees (the artifact\n  copy, the commentary, the question, the options). The repository artifact stays in English and a\n  translated copy is never written back.\n- **`pedagogy`** frames the request: `simple` is brief context plus the user's role; `contextual`\n  (default) is the global context, the concerned part and the precise ask; `professor` re-explains what\n  is decided, why, and what each choice implies, with the real content embedded.\n- **`illustration=on`** and **`theme`** matter only to the `plannotator` backend; see its reference.\n\n## Friction\n\nWhen something here misleads or blocks you, tag it with the `harness-report` skill; the shared rule is\nin `references\u002Fshared-friction-reporting.md`.\n",{"name":5,"type":23,"claude":24,"license":14,"metadata":29,"description":7,"compatibility":33},"skill",{"allowed-tools":25,"user-invocable":28},[26,27],"Read","Bash",true,{"provenance":30},{"version":31,"feedback":32,"canonical":32},"2.0.0","${CANONICAL_REPO}","Requires Node.js 24 or later for the bundled scripts. The plannotator backend also needs the plannotator binary on PATH; without it the gate runs on the internal backend, which needs only the host CLI's structured question tool.","main","6d7f2262eb86a02d21a60a8147ed6f8a27d7b8eb","artifacts\u002Flibrary\u002Fskills\u002Fuser-validate",6,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig","https:\u002F\u002Fcrewrig.org","https:\u002F\u002Fgithub.com\u002Fcrewrig","This is the organisation behind the crewrig framework","2026-11-15 04:46:08",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":28},[45,48,51],{"tool":46,"command":47},"npx","npx skills add crewrig\u002Fcrewrig --skill user-validate",{"tool":49,"command":50},"bunx","bunx skills add crewrig\u002Fcrewrig --skill user-validate",{"tool":52,"command":53},"pnpm","pnpm dlx skills add crewrig\u002Fcrewrig --skill user-validate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002FSKILL.md",[56,62,66,70,76,80,84,90,94],{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"evals\u002Fevals.json","REFERENCE","参考文档",10105,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fevals\u002Fevals.json",{"path":63,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":64,"sourceHtmlUrl":65},"evals\u002Ffiles\u002Fplan.md",225,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fevals\u002Ffiles\u002Fplan.md",{"path":67,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":68,"sourceHtmlUrl":69},"evals\u002Ffiles\u002Fruns.json",417,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fevals\u002Ffiles\u002Fruns.json",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"evals\u002Ffiles\u002Fvalidation.conf","OTHER","其他",95,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fevals\u002Ffiles\u002Fvalidation.conf",{"path":77,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":78,"sourceHtmlUrl":79},"evals\u002Fresults.json",611,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fevals\u002Fresults.json",{"path":81,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fplannotator-backend.md",3976,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Freferences\u002Fplannotator-backend.md",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Fgate-config.ts","SCRIPT","脚本",5718,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fscripts\u002Fgate-config.ts",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"scripts\u002Fplannotator-gate.ts",8731,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fscripts\u002Fplannotator-gate.ts",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Frender-gate-html.ts",6722,"https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fartifacts\u002Flibrary\u002Fskills\u002Fuser-validate\u002Fscripts\u002Frender-gate-html.ts",[99,107,112,117,122,127],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":106},"01M76AJKRKGGYZFJJHKE32Q5ZZ","fixture","Fixture skill. Mentions scripts\u002Ffrontmatter-only.ts which must be ignored.","https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Ffixtures\u002Fskill-scripts-citations\u002Fyaml-example\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":108,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":106},"01M76AJJHS0AHW5HJJQCVVJ4DH","https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Ffixtures\u002Fskill-scripts-citations\u002Funterminated\u002FSKILL.md",[],[],{"skillNo":113,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":106},"01M76AJH8VJ2NAE000285J1D8F","https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Ffixtures\u002Fskill-scripts-citations\u002Funresolved\u002FSKILL.md",[],[],{"skillNo":118,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":106},"01M76AJG4M862QH00H5QVVT60P","https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Ffixtures\u002Fskill-scripts-citations\u002Fstray\u002FSKILL.md",[],[],{"skillNo":123,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":106},"01M76AJEZKZVMWZXCKXCFNQQ6B","https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Ffixtures\u002Fskill-scripts-citations\u002Fresolving\u002FSKILL.md",[],[],{"skillNo":128,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":106},"01M76AJD4G4K2YK2SMN8NSEG9R","https:\u002F\u002Fgithub.com\u002Fcrewrig\u002Fcrewrig\u002Fblob\u002Fmain\u002Fscripts\u002Ftests\u002Ffixtures\u002Fskill-scripts-citations\u002Freferences-unfenced\u002FSKILL.md",[],[]]