← all publishers

chen3feng

@chen3feng source repo

25 published skills

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