Skip to main content

checking-docs-correctness

Audits all Markdown files in a repository for internal inconsistencies, contradictions, stale CLI commands/flags, and broken cross-references. Returns a structured findings report. Use when asked to check, audit, or verify docs for correctness or consistency.

소스 정보

저장소
BerriAI/litellm-agent-platform
최근 소스 활동
2026년 5월 15일 20:05
감지된 SKILL.md 언어
영어
스타
542
포크
59

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
checking-docs-correctness
description
Audits all Markdown files in a repository for internal inconsistencies, contradictions, stale CLI commands/flags, and broken cross-references. Returns a structured findings report. Use when asked to check, audit, or verify docs for correctness or consistency.
## Docs correctness audit Copy this checklist and track progress: ``` - [ ] 1. Discover all .md files - [ ] 2. Extract commands, flags, and API references - [ ] 3. Cross-reference for contradictions - [ ] 4. Check internal cross-references and links - [ ] 5. Identify stale or unreachable content - [ ] 6. Output findings ``` ### Step 1 — Discover all .md files ```bash find . -name "*.md" -not -path "*/node_modules/*" -not -path "*/.git/*" | sort ``` Group files by area (e.g. `docs/`, `cli/`, root-level README). Note which files claim to document the same feature — those are the highest-risk pairs for contradiction. ### Step 2 — Extract commands, flags, and API references For each .md file, extract: - CLI commands (lines containing backtick-wrapped commands or code blocks with shell commands) - Flag/option names (`--flag`, `-f`) - API endpoint paths (`/api/v1/...`) - Version numbers and model names - Environment variable names ```bash grep -rn '`[a-z]' --include="*.md" . | grep -v node_modules grep -rn -- '--[a-z]' --include="*.md" . | grep -v node_modules grep -rn '/api/v[0-9]' --include="*.md" . | grep -v node_modules ``` Build a map: `symbol → [file:line, ...]` for every extracted term. ### Step 3 — Cross-reference for contradictions For each symbol that appears in 2+ files, compare the usage: - Same command, different flags documented? - Same flag, different behavior described? - Same API path, different request/response shape? - Same env var, different name or default? Flag any mismatch as a finding. Quote both conflicting lines verbatim. ### Step 4 — Check internal cross-references and links ```bash grep -rn '\[.*\](.*\.md' --include="*.md" . | grep -v node_modules ``` For each internal link `[text](path.md)` or `[text](path.md#anchor)`: - Verify the target file exists - If an `#anchor` is specified, verify the heading exists in that file ### Step 5 — Identify stale content Look for: - Commands or flags present in docs but absent from the actual codebase source (grep the source) - Model names or versions that have been superseded - Setup steps referencing files or paths that no longer exist - "Coming soon" or TODO markers that have since shipped ### Step 6 — Output ```json { "summary": "<N> critical, <N> high, <N> medium, <N> low", "findings": [ { "severity": "critical|high|medium|low", "type": "contradiction|stale|broken-link|missing-content|style", "files": ["path/to/file-a.md:14", "path/to/file-b.md:32"], "description": "Specific inconsistency description.", "quote_a": "Exact line from file-a", "quote_b": "Exact line from file-b (if contradiction)" } ], "recommendation": "Docs need updates before next release / Minor cleanup only / Docs are consistent" } ``` **Rules:** Never edit docs unless explicitly asked. Report only. If no issues found, state explicitly with confidence level.
GitHub에서 보기