How xkyota/repfix works
RepFix is an agent-guided debugging skill backed by a local TypeScript/Node.js CLI. The agent uses the skill to inspect a bug, reproduce it, record evidence, diagnose and make a minimal fix when allowed, then verify the original scenario and regressions. The CLI manages sessions, executes and records commands, fingerprints project state, stores attachments, and assesses results into reports. The README documents the broader agent workflow and browser guidance; the source excerpts show the helper implementation, not the skill’s full instructions.
Main entry points: cli.ts CLI dispatcher · report.ts Status assessment · store.ts Session and artifacts · runner.ts Command recorder
Components 14
Agent workflow
- RepFix playbook
skills/repfix/SKILL.md - Browser guidance
skills/repfix/references/browser.md - Command reference
skills/repfix/references/commands.md
CLI and sessions
- CLI dispatcher
src/cli.ts - Session and artifacts
src/store.ts - Command recorder
src/runner.ts
Evidence and assessment
- Project fingerprinting
src/snapshot.ts - Safety utilities
src/safety.ts - Status assessment
src/report.ts
Agent installation
- Skill installer
src/install.ts
Other components
- Coding agent
- Target project
- Codex host
- Claude Code host
Connections 22
- Coding agent → RepFix playbook: follows
README.md - RepFix playbook → Command reference: uses guidance
README.md - RepFix playbook → Browser guidance: uses guidance
README.md - Coding agent → Target project: investigates and edits
README.md - Coding agent → CLI dispatcher: records workflow
README.md - CLI dispatcher → Skill installer: dispatches install
src/cli.ts - CLI dispatcher → Command recorder: records commands
src/cli.ts - CLI dispatcher → Status assessment: generates report
src/cli.ts - CLI dispatcher → Session and artifacts: manages session
src/cli.ts - Command recorder → Project fingerprinting: fingerprints project
src/runner.ts - Command recorder → Session and artifacts: stores command logs
src/runner.ts - Status assessment → Project fingerprinting: compares state
src/report.ts - Status assessment → Session and artifacts: checks artifacts
src/report.ts - Status assessment → Safety utilities: cleans report text
src/report.ts - Session and artifacts → Project fingerprinting: captures baseline
src/store.ts - Session and artifacts → Safety utilities: confines and validates paths
src/store.ts - Project fingerprinting → Safety utilities: hashes and confines paths
src/snapshot.ts - Skill installer → Safety utilities: checks destination paths
src/install.ts - Skill installer → Codex host: installs skill
README.md - Skill installer → Claude Code host: installs skill
README.md - Command recorder → Target project: runs project commands
README.md - Status assessment → Coding agent: returns status report
README.md