chen3feng
- 25 skills
- 0 followers
- 13 hours ago last updated
- ▌ Url Space After Brackets · chen3fengAlways add a space after URL brackets in Markdown to prevent 404 errors with special characters.
- ▌ Python Indent Aware Edits · chen3fengOver-indented suites are valid Python; compileall won't catch a dropped with/try scope. Verify end-to-end.
- ▌ Wsl Bash Crlf Or Tempfile · chen3fengWhen 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.
- ▌ Check Git Log Before Refix · chen3fengBefore "fixing" a recurring error, check git log to see if it was already fixed upstream — the working tree may just be stale.
- ▌ Doc Code Consistency Check · chen3fengBefore "fixing" a README, verify the actual code behavior — don't trust either in isolation.
- ▌ Git Commit Author Identity · chen3fengCommit with the right name/email per repo, and survive spaces in `git -c user.name=...`.
- ▌ Python Modernization Sweep · chen3fengPlan a Python 3 modernization sweep (f-strings, super(), type hints) as a series of mechanical PRs, not one mega-PR.
- ▌ Workspace Path Constraints · chen3fengWork around editor/search tools that only accept indexed-workspace paths.
- ▌ Agent Work Artifacts Layout · chen3fengWhere to put transient files, one-off scripts, audit reports and PR bodies the agent creates while working.
- ▌ Detect Tool Vendor By Query · chen3fengIdentify a tool's real vendor/version by asking it (`--version`), not by sniffing its filename or PATH entry.
- ▌ Git Rev Parse Multi Ref Short · chen3fengDon't combine `git rev-parse --short` with multiple refs; it demands a single revision.
- ▌ Repo Org Migration Url Cleanup · chen3fengAfter a GitHub repo moves to a new owner/org, sweep stale URLs everywhere — but preserve historical narrative.
- ▌ Rebase On Fresh Base After Merge · chen3fengAfter a PR is merged, cut the next branch from fresh origin/master — don't keep committing on the old feature branch.
- ▌ Wsl Networking Mode Dns Fallback · chen3fengWhen 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.
- ▌ Reverse Cleanup After Upstream Fix · chen3fengWhen a sidecar or downstream repo papers over an upstream bug, track the workarounds so they can be reversed the moment upstream releases the fix.
- ▌ Shell Heredoc And Multiline Strings · chen3fengPass long/multi-line strings (commit messages, PR bodies) through an agent shell without corruption.
- ▌ Sidecar Smoke Suite Reveals Upstream Bugs · chen3fengA downstream sidecar smoke suite can expose upstream bugs that unit tests miss; fix upstream first, then land the suite.
- ▌ Stop Chasing The Optimizer Reduce Instead · chen3fengAfter two failed anti-optimization patches, stop and reduce; don't keep bolting on `volatile` / `noinline`.
- ▌ Ue Trefcountptr Member Needs Complete Type · chen3fengA TRefCountPtr/TSharedPtr member in a UE class needs the pointee's full definition, not a forward decl.
- ▌ Per Function Optimize Attribute Abi Mismatch · chen3feng`__attribute__((optimize("O0")))` silently breaks the ABI on GCC
- ▌ Github Pr Via Gh CLI · chen3fengStandard branch → push → `gh pr create` workflow, including when to fork.
- ▌ Test Layout Evolution · chen3fengWhen adding unit tests to a repo whose `test/` dir is actually integration, create a parallel `tests/unit/` instead of mixing them.
- ▌ Chinese Markdown Style · chen3fengHouse style for Chinese Markdown docs, and how to enforce it with the cndocstyle package from cn-doc-style-guide.
- ▌ Safe Markdown Auto Fix · chen3fengAuto-fix Markdown prose without corrupting code blocks, inline code, URLs, or HTML.
- ▌ Python Code Audit Sweep · chen3fengRun a quick non-behavioral audit of a Python repo and split findings into bug / dead-code / style PRs.