Repoctx — Testing skill for Claude Code
Keep your AI coding-agent context files (AGENTS.md, CLAUDE.md) truthful.
How to install Repoctx
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open SrIruma/repoctx and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Repoctx does
Keep your AI coding-agent context files (AGENTS.md, CLAUDE.md) truthful. Scans a repository, extracts real build/test commands and module structure, and regenerates or audits the factual sections of context files.
Alternatives in Testing
- Darwin Skill — 达尔文.skill —— 一个让你的Skill无限进化的系统:评估→改进→测试→保留或回滚 Autoresearch-inspired autonomous skill optimization for Claude C 5.7k ★
- Langgraphjs — by langchain-ai - Offers comprehensive build and test commands with detailed TypeScript style guidelines, laye 2.7k ★
- Test TDD — Run when user calls /test-tdd 957 ★
README
repoctx
[](https://go.dev/doc/install) [](https://github.com/SrIruma/repoctx/actions) [](https://github.com/SrIruma/repoctx/releases) [](https://github.com/SrIruma/repoctx/releases) [](LICENSE)
**Status:** pre-1.0 (0.x), active development. The machine contract (docs/contract.md) is documented but deliberately not frozen while the tool is validated in real use — validation against real repositories is part of the test suite, see [Validation](docs/validation.md). Feedback and issues are welcome.
repoctx keeps your AI coding-agent context files (`AGENTS.md`, `CLAUDE.md`) truthful. It scans a repository, extracts facts from the real code — build/test commands, module structure, dependencies — and uses them to regenerate the factual sections of your context files, preserving anything a human wrote.

Why
Context files rot. A README mentions a `make release` target that no longer exists; `AGENTS.md` lists `backend/` as a path that was renamed months ago. Agents read those files and act on stale information. repoctx is the source of truth for everything that can be derived from the repository itself.
Install
go install github.com/SrIruma/repoctx/cmd/repoctx@latest
Or build from source:
make build # -> bin/repoctx
make install # -> $GOBIN/repoctx
Commands
| Command | Description |
|---|---|
repoctx info [dir] |
Detect manifests and extract facts from a repository. Manifests that fail to parse are kept in the report with a ! warning (and an errors field in --json). |
repoctx generate [dir] |
Regenerate the code-derived |
Related Skills
Skeleton First Code Skill
AI coding agent workflow skill: long-context memory, anti-amnesia pipeline (Plan→Implement→Test), module tree
Project Context Review Skill
Claude and Codex skill that scans a project and creates structured context before coding, reviewing, testing,
Hatch3r API Spec
Generate or validate an OpenAPI specification from the codebase. Scans route definitions, extracts schemas, an
Agent Context Guard
Codebase AI Agent Readiness & Context Hygiene Radar: audits steering docs (AGENTS.md, CLAUDE.md, .cursorrules)
OpenPitStop
A referee your AI coding agent can't cheat. PitStop scans your repo, seals the evidence, catches agents faking
Specloop
Spec-driven loop engineering: a repeatable construct for driving coding agents through numbered phase specs, w
Related Agents
Helper Author
Owns the shared Cypress helper library for component automation. Annotates helpers with @tj tags, extracts/fix
Jury
Extracts every factual claim from the council's statements and marks each Verified, Contradicted, or Unverifie
Doc Reader
Reads long documents (PDF CV, LinkedIn export, job posting, annual report, member directory, large files in th