From dotclaude
Scaffold or update the dotclaude project-local layer (base rules, settings baseline, CLAUDE.md block, AGENTS.md, generated Copilot instructions, and GitHub AI-review workflows) into the current project. Use when setting up dotclaude in a repo or pulling base-config updates. Respects local ownership — never clobbers project-owned files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dotclaude:dotclaude-init [--dry-run] [--no-github] [--no-rules] [--no-copilot][--dry-run] [--no-github] [--no-rules] [--no-copilot]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Scaffolds the **project-local layer** that the plugin itself cannot ship (Claude Code plugins carry hooks/agents/skills, but not `.claude/rules`, `settings.json` permissions, `CLAUDE.md`, `AGENTS.md`, Copilot instructions, or `.github/` workflows).
Scaffolds the project-local layer that the plugin itself cannot ship (Claude Code plugins carry hooks/agents/skills, but not .claude/rules, settings.json permissions, CLAUDE.md, AGENTS.md, Copilot instructions, or .github/ workflows).
Runs the deterministic sync engine bundled with the plugin:
python3 "${CLAUDE_PLUGIN_ROOT}/skills/dotclaude-init/sync.py" $ARGUMENTS
It writes/updates, under the project root ($CLAUDE_PROJECT_DIR):
.claude/rules/*.md — base rules (code-quality, testing, security, error-handling, frontend, database).claude/settings.json — additive-merges the marketplace wiring (extraKnownMarketplaces + enabledPlugins) and a permission baselineCLAUDE.md — inserts/refreshes the managed dotclaude blockAGENTS.md — cross-tool pointer file (Copilot, Claude, others).github/copilot-instructions.md; each path-scoped rule → .github/instructions/<name>.instructions.md with applyTo. Skip with --no-copilot..gitignore — a managed block keeping project-local plans/overrides out of git (.claude/plans/, CLAUDE.local.md, .claude/settings.local.json).github/workflows/*.yml — AI-review workflow templates (skip with --no-github)dotclaude:managed marker and are regenerated on every run. To take local ownership of one, delete its marker line — sync then reports skip-own and never touches it again.<!-- dotclaude:begin --> and <!-- dotclaude:end --> is replaced.Copilot instructions and .github/instructions/* are derived from .claude/rules/ — never hand-edit them; change the rule and re-run. Generic plans live in the plugin (templates/plans/); project plans go in the gitignored .claude/plans/.
--dry-run first and show the user the report.frontend.md/database.md for a backend-only project) and to adjust paths: globs in security.md/error-handling.md. (Adjusting a rule's paths: automatically updates its generated applyTo.)CLAUDE_CODE_OAUTH_TOKEN, optionally OPENAI_API_KEY and the _JH fallbacks). Mention this; don't attempt to set secrets.After a real run, tell the user to /reload-plugins (or restart) so new rules and settings load.
npx claudepluginhub 8408323/dotclaude --plugin dotclaudeGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.