Skip to content

nickmaglowsch/claude-setup / .claude/skills/init-claude-setup

init-claude-setup

Verified

Initialize project-level Claude setup (gitignore entries, settings.local.json) without copying agent/skill files. Use this in projects where agents were installed globally (default setup.sh behavior).

FileKindSize
SKILL.mdskill md2.4 KB
---
name: init-claude-setup
description: "Initialize project-level Claude setup (gitignore entries, settings.local.json) without copying agent/skill files. Use this in projects where agents were installed globally (default setup.sh behavior)."
argument-hint: ""
---

# Init Claude Setup

You are initializing project-level Claude configuration for this repository. Follow the steps below strictly in order.

## Step 1 — Detect if already fully set up

Check whether `.claude/agents/` or `.claude/settings.local.json` exists in the current working directory.

- If `.claude/agents/` exists: inform the user that this project already has a full local Claude install and no initialization is needed. Stop here.
- If `.claude/settings.local.json` exists: inform the user that this project already has project-level Claude setup and no initialization is needed. Stop here.

## Step 2 — Add .gitignore entries

1. Read `.gitignore` in the project root. If it does not exist, treat it as empty.
2. Ensure the following entries are present (add only the ones that are missing). Group them under a `# .claude` section comment if you are adding any:

```
# .claude
.devcontainer/.env
.claude/settings.local.json
.claude/auth.local.md
.claude-worktrees/
.DS_Store
tasks/**
qa-output/**
debug-output/
.playwright-cli/
```

3. Do not duplicate any entry that already exists in the file (even if it appears outside a `# .claude` section).
4. If entries were already present, note that and skip.

## Step 3 — Create .claude/settings.local.json

1. Check if `.claude/settings.local.json` exists.
2. If it does not exist, create it with this content:
```json
{
  "permissions": {
    "allow": [],
    "deny": []
  }
}
```
3. If it already exists, skip this step and note it.

## Step 4 — Summary

Print a clear summary of what was done:

```
## Claude project setup complete

- .gitignore: [added N entries / already up to date]
- .claude/settings.local.json: [created / already existed]

### Next steps
- Run `claude login` if you haven't already
- Edit `.claude/settings.local.json` to configure per-project tool permissions
- Agents and skills are available globally via your ~/.claude/ install
- The /qa skill uses `playwright-cli` for browser automation — run `playwright-cli install` to set it up
```

## Rules
- Never overwrite files that already exist (settings.local.json) — only create them if missing
- Never remove existing .gitignore entries — only add missing ones
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall