Auto Repo Setup
Diagnoses and repairs broken repository setups, then standardizes onboarding docs and safe Git workflows.
Dev & CodingIntermediate★ 1,323⑂ 212AI score 9/10Last updated: Aug 8, 2026
What it does
- Environment repair: reads AGENTS.md, CLAUDE.md, onboarding docs, README, manifests and lockfiles in order to detect the real stack, then runs a read-only inventory via
scripts/check_env.pyand fixes only the smallest project-consistent gap. - Session sync routine: handles "pull the latest before we work" safely — never auto-stashes, merges, rebases or force-pushes to make setup look green.
- Hook diagnosis: when SessionStart output is duplicated, it enumerates project/local/user/managed/plugin registrations and states the root cause before editing config.
- Repository handoff: uses an onboarding template as a checklist to produce docs with real commands, expected output, and recovery steps.
- Git safety gates: reads safety references before commit, push, conflict resolution, or history rewrite; public push, force push, and rewrites require explicit approval.
Who it's for
- Developers on a new machine or fresh clone where nothing runs
- Team leads tired of answering the same setup questions
- Claude Code users with duplicated or unexpected startup hook output
- Maintainers auditing leaked credentials or PII before public release
Example uses
- "The dev server won't start" → traces the failure to the declaring manifest, applies the minimal fix, and re-runs the project's real smoke test to verify.
- Onboarding a teammate → audits existing docs, fills only the missing operational contract in
ONBOARDING.md, with expected output per command. - Startup message printed three times → counts actual registrations instead of guessing, then previews cleanup with
--dry-runbefore applying.
· · · Install guide · · ·
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the auto-repo-setup folder from the GitHub repo daymade/claude-code-skills into my ~/.claude/skills/auto-repo-setup/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/daymade/claude-code-skills.git && mkdir -p ~/.claude/skills && cp -r claude-code-skills/auto-repo-setup ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/daymade/claude-code-skills.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-code-skills/auto-repo-setup ~/.claude/skills/ - Confirm the
references/andscripts/subfolders came along. - Restart Claude Code and try a prompt like "this repo won't run, diagnose the setup".
- For hook installation or history scanning, always review the
--dry-runpreview before approving any change.
View source on GitHub ↗License: MIT