[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71E1K6B2WZ2N1CY6WGCF86R":3,"skill-same:01M71E1K6B2WZ2N1CY6WGCF86R":77},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":6,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M71E1K6B2WZ2N1CY6WGCF86R","review",null,"Pre-landing code review of the git diff; critical issues block the PR. Use before a PR or when asked to review changes.","indigoai-us\u002Fhq-core","indigoai-us","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F122242446?v=4","01M71DTQ5NGD10GT1Z7E6XKWC5","HQ","01M71DTQ6BKSYYBNC9RAKT3YDK",95,"MIT","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"gh","review changes","changes","task","commit","code","Bash","when","critical","use","issues","gh pr","landing","code review","scan","core","diff","checkout","pr","2026-11-10 10:12:30",false,"---\nname: review\ndescription: \"Pre-landing code review of the git diff; critical issues block the PR. Use before a PR or when asked to review changes.\"\nallowed-tools: Read, Grep, Glob, Bash(git:*), Bash(bash:*), Bash(bash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Fcommit-secret-scan.sh:*), Bash(bash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Freview-checkout.sh:*), Bash(gh pr checks:*), AskUserQuestion, Task\n---\n\n# Pre-Landing Code Review\n\nSemantic code review that reads the diff and reasons about correctness, security, and edge cases. Complements `\u002Fquality-gate` (mechanical checks) — run both before opening the pull request.\n\n## Process\n\n```\nVALIDATE BRANCH → LOAD CHECKLIST → GET DIFF → SECRET SCAN → TWO-PASS ANALYSIS → REPORT\n```\n\n### Step 1: Branch Validation\n\nConfirm you're not on main and have changes to review.\n\n```bash\ngit rev-parse --abbrev-ref HEAD   # must not be main\u002Fmaster\ngit diff origin\u002Fmain --stat       # must have changes\n```\n\nIf on main or no changes: stop and tell user.\n\n### Step 1b: Reviewing someone else's PR\n\nWhen the change is another author's pull request, not your own branch, review\nit in the cached checkout for that repo. Do not make a fresh clone per PR or\nper PR head, and do not put review checkouts in `\u002Ftmp`. Policy:\n`hq-pr-review-light-local-footprint`.\n\n```bash\nbash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Freview-checkout.sh\" prepare --repo OWNER\u002FNAME --pr N\nbash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Freview-checkout.sh\" affected --repo OWNER\u002FNAME\ngh pr checks N -R OWNER\u002FNAME\n```\n\n`prepare` prints `checkout=`, `install=` and `changed=` lines. `affected`\nprints `package=` and `test=` lines for the diff. `gh pr checks` is the\nfull-suite evidence, from CI.\n\n- Run Steps 2 to 5 from the printed `checkout=` directory, diffing against\n  `origin\u002F\u003Cbase>` with three dots.\n- Install dependencies only when `prepare` prints `install=needed`, then run\n  `review-checkout.sh installed --repo OWNER\u002FNAME`.\n- Run only the tests, type checks and linters for the `package=` and `test=`\n  lines. Do not run the repo's full suite locally; read the CI checks.\n- Wrap every install, build, type check or test command in\n  `review-checkout.sh heavy -- \u003Ccommand>` so only one heavy run happens at a\n  time.\n- After the review is posted, run\n  `review-checkout.sh cleanup --repo OWNER\u002FNAME --pr N` and delete any other\n  scratch file you made. Keep review notes in `workspace\u002Freports\u002Freviews\u002F`.\n\n### Step 2: Load Checklist\n\nCheck for repo-local override first, fall back to shared default:\n\n1. Detect repo root: `git rev-parse --show-toplevel`\n2. Check: `{repo}\u002F.claude\u002Freview-checklist.md` — if exists, use it\n3. Fallback: `.claude\u002Fskills\u002Freview\u002Fchecklist.md` (this skill's default)\n\nIf no checklist found: stop — review requires a checklist to operate.\n\n### Step 3: Retrieve Diff\n\n```bash\ngit fetch origin main 2>\u002Fdev\u002Fnull\ngit diff origin\u002Fmain\n```\n\nRead the FULL diff before flagging anything. Issues already addressed within the diff are not issues.\n\n### Step 3b: Secret Scan\n\nScan every file the branch changed for secrets. Run it from any folder inside\nthe repo under review:\n\n```bash\nbash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Fcommit-secret-scan.sh\" pr-check origin\u002Fmain\n```\n\n(`$HQ_ROOT` is the HQ folder; use its absolute path if the variable is unset.)\nThis runs whether or not commit-time scanning is turned on, and catches\nanything committed with the check skipped or from another machine. It is\noffline (`hq scan secrets`, hq CLI 5.345.86+) and prints rule, file and line,\nnever the value.\n\n- Exit 1: each finding is a **CRITICAL** issue. The fix is to remove the\n  value, rotate the credential if it was ever pushed, and keep it in the HQ\n  vault (`hq secrets set`, then `hq run` \u002F `hq secrets exec` at run time). A\n  secret in an earlier commit stays in history even after it is deleted, so\n  say whether the branch history needs rewriting before the PR.\n- Exit 2 (scanner missing or base not found): report it as CRITICAL — the\n  scan did not run — and give the fix (update the hq CLI, or pass the right\n  base). Do not treat a scan that could not run as clean.\n- A line that is a known false positive can carry a `gitleaks:allow` comment.\n\n### Step 4: Two-Pass Analysis\n\nRun the checklist categories against the diff:\n\n- **Pass 1 (CRITICAL)** — blocking issues. These must be resolved before PR creation.\n- **Pass 2 (INFORMATIONAL)** — non-blocking issues. Included in PR body for reviewer awareness.\n\nFor each finding:\n- Cite `file:line` precisely\n- One line describing the problem\n- One line with the fix\n- No preamble, no \"looks good overall,\" no filler\n\n### Step 5: Report & Interact\n\n**Output format:**\n\n```\nPre-Landing Review: N issues (X critical, Y informational)\n\nCRITICAL (blocking):\n- [file:line] Problem description\n  Fix: suggested fix\n\nINFORMATIONAL (non-blocking):\n- [file:line] Problem description\n  Fix: suggested fix\n```\n\nIf no issues: `Pre-Landing Review: No issues found.`\n\n**For each CRITICAL finding:** present one at a time via AskUserQuestion with three options:\n- A) Fix now — apply the suggested fix\n- B) Acknowledge — proceed despite the issue (user accepts risk)\n- C) False positive — suppress in future reviews\n\nOne issue per question. Never batch. Recommend which option and why.\n\n**After all critical issues resolved:** list informational findings in a single block. Suggest including them in the PR description.\n\n## Rules\n\n- **Read-only default.** No file modifications unless user explicitly approves a fix.\n- **Exhaustive reporting.** Surface all findings — do not quietly skip issues.\n- **No premature action.** Never commit, push, or create PRs.\n- **Context-aware.** Read the FULL diff before commenting. Don't flag issues already fixed within the diff.\n- **Terse.** One-line problems, one-line fixes. No summaries, no preamble.\n- **Checklist-driven.** Only flag categories defined in the loaded checklist.\n\n## Integration\n\nAfter review completes with no unresolved critical issues:\n- Suggest running `\u002Fquality-gate` for mechanical checks (types, lint, tests)\n- Suggest opening the pull request (`bash core\u002Fscripts\u002Fhq-pr-create.sh -R {owner}\u002F{repo} ...`), then\n  `\u002Fland` to take that one PR through CI and merge, or `\u002Fship` to run the full\n  review → land → deploy → smoke → monitor pipeline\n","# Pre-Landing Code Review\n\nSemantic code review that reads the diff and reasons about correctness, security, and edge cases. Complements `\u002Fquality-gate` (mechanical checks) — run both before opening the pull request.\n\n## Process\n\n```\nVALIDATE BRANCH → LOAD CHECKLIST → GET DIFF → SECRET SCAN → TWO-PASS ANALYSIS → REPORT\n```\n\n### Step 1: Branch Validation\n\nConfirm you're not on main and have changes to review.\n\n```bash\ngit rev-parse --abbrev-ref HEAD   # must not be main\u002Fmaster\ngit diff origin\u002Fmain --stat       # must have changes\n```\n\nIf on main or no changes: stop and tell user.\n\n### Step 1b: Reviewing someone else's PR\n\nWhen the change is another author's pull request, not your own branch, review\nit in the cached checkout for that repo. Do not make a fresh clone per PR or\nper PR head, and do not put review checkouts in `\u002Ftmp`. Policy:\n`hq-pr-review-light-local-footprint`.\n\n```bash\nbash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Freview-checkout.sh\" prepare --repo OWNER\u002FNAME --pr N\nbash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Freview-checkout.sh\" affected --repo OWNER\u002FNAME\ngh pr checks N -R OWNER\u002FNAME\n```\n\n`prepare` prints `checkout=`, `install=` and `changed=` lines. `affected`\nprints `package=` and `test=` lines for the diff. `gh pr checks` is the\nfull-suite evidence, from CI.\n\n- Run Steps 2 to 5 from the printed `checkout=` directory, diffing against\n  `origin\u002F\u003Cbase>` with three dots.\n- Install dependencies only when `prepare` prints `install=needed`, then run\n  `review-checkout.sh installed --repo OWNER\u002FNAME`.\n- Run only the tests, type checks and linters for the `package=` and `test=`\n  lines. Do not run the repo's full suite locally; read the CI checks.\n- Wrap every install, build, type check or test command in\n  `review-checkout.sh heavy -- \u003Ccommand>` so only one heavy run happens at a\n  time.\n- After the review is posted, run\n  `review-checkout.sh cleanup --repo OWNER\u002FNAME --pr N` and delete any other\n  scratch file you made. Keep review notes in `workspace\u002Freports\u002Freviews\u002F`.\n\n### Step 2: Load Checklist\n\nCheck for repo-local override first, fall back to shared default:\n\n1. Detect repo root: `git rev-parse --show-toplevel`\n2. Check: `{repo}\u002F.claude\u002Freview-checklist.md` — if exists, use it\n3. Fallback: `.claude\u002Fskills\u002Freview\u002Fchecklist.md` (this skill's default)\n\nIf no checklist found: stop — review requires a checklist to operate.\n\n### Step 3: Retrieve Diff\n\n```bash\ngit fetch origin main 2>\u002Fdev\u002Fnull\ngit diff origin\u002Fmain\n```\n\nRead the FULL diff before flagging anything. Issues already addressed within the diff are not issues.\n\n### Step 3b: Secret Scan\n\nScan every file the branch changed for secrets. Run it from any folder inside\nthe repo under review:\n\n```bash\nbash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Fcommit-secret-scan.sh\" pr-check origin\u002Fmain\n```\n\n(`$HQ_ROOT` is the HQ folder; use its absolute path if the variable is unset.)\nThis runs whether or not commit-time scanning is turned on, and catches\nanything committed with the check skipped or from another machine. It is\noffline (`hq scan secrets`, hq CLI 5.345.86+) and prints rule, file and line,\nnever the value.\n\n- Exit 1: each finding is a **CRITICAL** issue. The fix is to remove the\n  value, rotate the credential if it was ever pushed, and keep it in the HQ\n  vault (`hq secrets set`, then `hq run` \u002F `hq secrets exec` at run time). A\n  secret in an earlier commit stays in history even after it is deleted, so\n  say whether the branch history needs rewriting before the PR.\n- Exit 2 (scanner missing or base not found): report it as CRITICAL — the\n  scan did not run — and give the fix (update the hq CLI, or pass the right\n  base). Do not treat a scan that could not run as clean.\n- A line that is a known false positive can carry a `gitleaks:allow` comment.\n\n### Step 4: Two-Pass Analysis\n\nRun the checklist categories against the diff:\n\n- **Pass 1 (CRITICAL)** — blocking issues. These must be resolved before PR creation.\n- **Pass 2 (INFORMATIONAL)** — non-blocking issues. Included in PR body for reviewer awareness.\n\nFor each finding:\n- Cite `file:line` precisely\n- One line describing the problem\n- One line with the fix\n- No preamble, no \"looks good overall,\" no filler\n\n### Step 5: Report & Interact\n\n**Output format:**\n\n```\nPre-Landing Review: N issues (X critical, Y informational)\n\nCRITICAL (blocking):\n- [file:line] Problem description\n  Fix: suggested fix\n\nINFORMATIONAL (non-blocking):\n- [file:line] Problem description\n  Fix: suggested fix\n```\n\nIf no issues: `Pre-Landing Review: No issues found.`\n\n**For each CRITICAL finding:** present one at a time via AskUserQuestion with three options:\n- A) Fix now — apply the suggested fix\n- B) Acknowledge — proceed despite the issue (user accepts risk)\n- C) False positive — suppress in future reviews\n\nOne issue per question. Never batch. Recommend which option and why.\n\n**After all critical issues resolved:** list informational findings in a single block. Suggest including them in the PR description.\n\n## Rules\n\n- **Read-only default.** No file modifications unless user explicitly approves a fix.\n- **Exhaustive reporting.** Surface all findings — do not quietly skip issues.\n- **No premature action.** Never commit, push, or create PRs.\n- **Context-aware.** Read the FULL diff before commenting. Don't flag issues already fixed within the diff.\n- **Terse.** One-line problems, one-line fixes. No summaries, no preamble.\n- **Checklist-driven.** Only flag categories defined in the loaded checklist.\n\n## Integration\n\nAfter review completes with no unresolved critical issues:\n- Suggest running `\u002Fquality-gate` for mechanical checks (types, lint, tests)\n- Suggest opening the pull request (`bash core\u002Fscripts\u002Fhq-pr-create.sh -R {owner}\u002F{repo} ...`), then\n  `\u002Fland` to take that one PR through CI and merge, or `\u002Fship` to run the full\n  review → land → deploy → smoke → monitor pipeline\n",{"name":5,"description":7,"allowed-tools":43},"Read, Grep, Glob, Bash(git:*), Bash(bash:*), Bash(bash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Fcommit-secret-scan.sh:*), Bash(bash \"$HQ_ROOT\u002Fcore\u002Fscripts\u002Freview-checkout.sh:*), Bash(gh pr checks:*), AskUserQuestion, Task","main","205cf61728a27ef15e9153aa38df5856fc8d82f5",".claude\u002Fskills\u002Freview",18,"https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core","https:\u002F\u002Fgithub.com\u002Findigoai-us","https:\u002F\u002Fhqforwork.com\u002F","The AI Context Layer for Teams","2026-11-12 06:53:38",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add indigoai-us\u002Fhq-core --skill review",{"tool":59,"command":60},"bunx","bunx skills add indigoai-us\u002Fhq-core --skill review",{"tool":62,"command":63},"pnpm","pnpm dlx skills add indigoai-us\u002Fhq-core --skill review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview\u002FSKILL.md",true,[67,73],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"agents\u002Fopenai.yaml","REFERENCE","参考文档",93,"https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview\u002Fagents\u002Fopenai.yaml",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"checklist.md",7937,"https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Freview\u002Fchecklist.md",[78,86,93,100,107,114],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M73NTNKZ3T2KJNDP2ZF23645","job","Deprecated alias for \u002Fschedule — Outpost recurring agent jobs. Prefer \u002Fschedule.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fjob\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":85},"01M73NTE0H9DQTT6DNHDKRWTXW","import-claude","Deprecated alias for \u002Fimport-context — bootstrap HQ from your prior AI footprint (Claude Code, Codex, Grok, claude.ai history plus on-disk artifacts).","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimport-claude\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":85},"01M73NT67433KKX96CCJWDQQ0X","hq-whoami","Show current HQ Cognito identity and session expiry.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-whoami\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":85},"01M73NT17SVXZV2QPT14C2RPJP","hq-share","Share HQ vault paths through single-use links or direct ACL grants.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-share\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":85},"01M73NSXYFMD7EHGT8TFDZA3C8","hq-secrets","Use HQ CLI secrets safely through env injection or one-off exec.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-secrets\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":85},"01M73NSWCXJK29Q8CNG8AS3ZZQ","hq-logout","Sign out of HQ Cognito and clear local tokens.","https:\u002F\u002Fgithub.com\u002Findigoai-us\u002Fhq-core\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fhq-logout\u002FSKILL.md",[],[]]