원클릭으로
doc-code-consistency-check
Before "fixing" a README, verify the actual code behavior — don't trust either in isolation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Before "fixing" a README, verify the actual code behavior — don't trust either in isolation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
A TRefCountPtr/TSharedPtr member in a UE class needs the pointee's full definition, not a forward decl.
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.
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.
Before "fixing" a recurring error, check git log to see if it was already fixed upstream — the working tree may just be stale.
Always add a space after URL brackets in Markdown to prevent 404 errors with special characters.
Plan a Python 3 modernization sweep (f-strings, super(), type hints) as a series of mechanical PRs, not one mega-PR.
| name | doc-code-consistency-check |
| description | Before "fixing" a README, verify the actual code behavior — don't trust either in isolation. |
| tags | ["docs","review","workflow"] |
The user asks you to review or tidy up documentation (README, tutorials, help text) for a project whose code you can also read. Especially when they say "the docs look wrong" or "check whether the docs match the code".
Docs drift. Common observed drifts in real repos:
If you edit the docs to be self-consistent without re-reading the code, you often cement the wrong behavior.
Before changing a single word of a doc, do this loop:
README.md + README-zh.md), diff
them after step 3 so both stay in sync.Symptom: README says _check_python accepts a version string like
"3.11".
Bad fix: silently change the README to "3.11.0" because that's what
"looks right".
Good fix:
grep -n "_check_python" -r src/
# read the function, note it calls shutil.which("python3") and parses
# sys.version_info, no version string is accepted
Then update the README to describe what the code actually does, and mention the mismatch in the PR description so the maintainer can decide if the code should change instead.