Tooluck logoTooluck
SKILL.md

auto-repo-setup

Agent skill fromdaymade/claude-code-skills

Diagnoses and repairs repository setup and guarded Git workflows for Claude Code or Codex — environment repair, startup sync, hook auditing, collaborator handoff. Use when a repo won't run, a teammate onboards, hook output duplicates, or commit/push/conflict needs guarding. Not for lost-commit recovery (use git-safety-net), GitHub ops (use github-ops), or history scrubbing (use github-sensitive-data-cleanup).

How to install auto-repo-setup

install auto-repo-setup
# install the claude-code-skills pack with the skills CLI
npx skills add daymade/claude-code-skills

# or add only this skill to Claude Code: copy the folder

auto-repo-setup/

# into

~/.claude/skills/auto-repo-setup/ (all projects)

.claude/skills/auto-repo-setup/ (one project)

auto-repo-setup/SKILL.md

MITFull file
1# Auto Repo Setup
2
3Make the repository usable without changing the user's normal way of working.
4Treat setup as an evidence-driven repository task, not as a special interface for
5people with a particular job title.
6
7## Entry router
8
9Classify the request before changing anything. Do not combine modes merely because
10they all contain the word "setup".
11
12| User outcome | Mode | First action |
13|---|---|---|
14| "It won't run", missing dependency, new machine | Environment repair | Read project instructions and detect the actual stack |
15| "Sync before we work", "pull the latest", or a status question during repository maintenance | Session routine | Determine sync authority from the ongoing task and project instructions, then use Workflow B |
16| Repeated or unexpected hook output | Hook diagnosis | Count registrations and firing sessions before editing configuration |
17| A teammate needs a repeatable handoff | Repository handoff | Audit existing onboarding and fill only the missing operational contract |
18| Commit, push, conflict, leaked secret/history | Git safety | Read [references/git_safety.md](references/git_safety.md) before mutation |
19| Behavior must happen before the first prompt | Startup automation | Read [references/startup_automation.md](references/startup_automation.md) and pass its hook gate |
20
21## Operating principles
22
231. **Do not infer competence from role.** Match the user's demonstrated altitude.
24…

Excerpt shown under the repository's MIT license.

More skills in claude-code-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates