Сборка базы знаний из истории репозитория
documentation
build-repo-context is a Claude Code skill that crawls a GitHub repository's PRs, issues, and review comments to distill institutional knowledge into `agent_artefacts/repo_context/REPO_CONTEXT.md`. On the first run it fetches the 50 most recent merged PRs and all open issues via the `gh` CLI; subsequent incremental runs process only new data since the last crawl, tracking progress with a PR watermark in the file header. For each selected PR the skill extracts architectural decisions, reviewer corrections, deliberate conventions, and acknowledged tech debt — every insight must cite its source PR or issue number and be phrased as an actionable rule rather than a description. The resulting 500–1000 line document acts as a shared knowledge base that worker agents consult before making changes, reducing repeated mistakes and preserving hard-won design context.
- #github-api
- #documentation
- #knowledge-base
- #code-review
- #best-practices