一键导入
pr
Create a pull request with WSL-safe workflow. Uses --body-file to avoid heredoc permission corruption.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a pull request with WSL-safe workflow. Uses --body-file to avoid heredoc permission corruption.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run a multi-category code audit on the cqs codebase. Spawns parallel agents per batch.
Trust-boundary security audit of cqs — fans out unbiddable-auditor agents across 6 categories (RT-INJ/RT-FS/RT-RES/RT-DATA/RT-RELAY/RT-EXFIL), attacker mindset, run-the-attack PoC + regression guard.
Run the retrieval recall gate with dead-gold triage and the binary A/B regression test. Required before release tags; use after any retrieval-adjacent merge.
Run after making changes, before committing — reviews the current git diff for impact and risk via cqs review.
Release a new version of cqs. Bumps version, updates changelog, runs the recall gate, publishes to crates.io, creates GitHub release.
One-command setup for cqs in a new project — skills, tears infrastructure, CLAUDE.md, init, index.
| name | pr |
| description | Create a pull request with WSL-safe workflow. Uses --body-file to avoid heredoc permission corruption. |
| disable-model-invocation | true |
| argument-hint | [branch-name] |
Create a PR from the current branch using WSL-safe patterns.
Check state:
git status — note any uncommitted changesgit log main..HEAD — review commits to includegit diff main...HEAD --stat — files changedPrepare:
git push -u origin BRANCH (the Windows credential manager is wired into WSL git). Fallback ONLY if GCM crashes ("could not read Username"): powershell.exe -Command 'cd C:\Projects\cqs; git push -u origin BRANCH'Write PR body to /mnt/c/Projects/cqs/pr_body.md:
## Summary
- Bullet points summarizing changes
## Test plan
- [ ] cargo test passes
- [ ] cargo clippy clean
- [ ] Manual verification steps
Create PR via PowerShell:
powershell.exe -Command 'cd C:\Projects\cqs; gh pr create --title "..." --body-file pr_body.md'
Clean up: Delete pr_body.md
Wait for CI — pin the run ID (gh pr checks --watch latches onto the previous commit's completed run after a push; do not use it):
sleep 45 # new run needs ~45s to register after the push
powershell.exe -Command 'cd C:\Projects\cqs; gh run list --branch BRANCH --workflow CI --limit 1'
powershell.exe -Command 'cd C:\Projects\cqs; gh run watch RUN_ID --exit-status'
Report: Show PR URL
--body-file — never inline heredocs in gh pr create --bodysettings.local.json, corrupting startupgit push works directly from WSL (credential helper wired); PowerShell is the fallback when GCM crashes. All gh commands still go through PowerShell (with cd C:\Projects\cqs or -R jamie8johnson/cqs)