Detect Tool Vendor By Query
Identify a tool's real vendor/version by asking it (`--version`), not by sniffing its filename or PATH entry.
Doc Code Consistency Check
Before "fixing" a README, verify the actual code behavior — don't trust either in isolation.
Wsl Bash Crlf Or Tempfile
When a Windows shell (PowerShell/cmd) feeds a bash script into WSL, CRLF line endings can corrupt the first shell builtin; force LF or pipe via a temp file.
Python Indent Aware Edits
Over-indented suites are valid Python; compileall won't catch a dropped with/try scope. Verify end-to-end.
Ue Trefcountptr Member Needs Complete Type
A TRefCountPtr/TSharedPtr member in a UE class needs the pointee's full definition, not a forward decl.
Repo Org Migration Url Cleanup
After a GitHub repo moves to a new owner/org, sweep stale URLs everywhere — but preserve historical narrative.
Github Pr Via Gh Cli
Standard branch → push → `gh pr create` workflow, including when to fork.
Per Function Optimize Attribute Abi Mismatch
`__attribute__((optimize("O0")))` on one function inside an `-O2` TU on GCC can crash on first call.
Stop Chasing The Optimizer Reduce Instead
After two failed anti-optimization patches, stop and reduce; don't keep bolting on `volatile` / `noinline`.
Wsl Networking Mode Dns Fallback
When WSL's mirrored networking fails and falls back to "None", plus /etc/wsl.conf has generateResolvConf=false, the distro has no DNS; fix both layers.
Git Rev Parse Multi Ref Short
Don't combine `git rev-parse --short` with multiple refs; it demands a single revision.
Workspace Path Constraints
Work around editor/search tools that only accept indexed-workspace paths.
Agent Work Artifacts Layout
Where to put transient files, one-off scripts, audit reports and PR bodies the agent creates while working.
Safe Markdown Auto Fix
Auto-fix Markdown prose without corrupting code blocks, inline code, URLs, or HTML.
Python Code Audit Sweep
Run a quick non-behavioral audit of a Python repo and split findings into bug / dead-code / style PRs.
Rebase On Fresh Base After Merge
After a PR is merged, cut the next branch from fresh origin/master — don't keep committing on the old feature branch.
Chinese Markdown Style
House style for Chinese Markdown docs, and how to enforce it with the cndocstyle package from cn-doc-style-guide.
Python Modernization Sweep
Plan a Python 3 modernization sweep (f-strings, super(), type hints) as a series of mechanical PRs, not one mega-PR.
Git Commit Author Identity
Commit with the right name/email per repo, and survive spaces in `git -c user.name=...`.
Shell Heredoc And Multiline Strings
Pass long/multi-line strings (commit messages, PR bodies) through an agent shell without corruption.
Reverse Cleanup After Upstream Fix
When a sidecar or downstream repo papers over an upstream bug, track the workarounds so they can be reversed the moment upstream releases the fix.
Url Space After Brackets
Always add a space after URL brackets in Markdown to prevent 404 errors with special characters.
Check Git Log Before Refix
Before "fixing" a recurring error, check git log to see if it was already fixed upstream — the working tree may just be stale.
Test Layout Evolution
When adding unit tests to a repo whose `test/` dir is actually integration, create a parallel `tests/unit/` instead of mixing them.
Sidecar Smoke Suite Reveals Upstream Bugs
A downstream sidecar smoke suite can expose upstream bugs that unit tests miss; fix upstream first, then land the suite.