# Init Repo

> Initialize a fork of GoodDocs with fork-specific defaults and a customized doc type. Use when this capability is needed.

- Skill: `tomevault-io/init-repo` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/init-repo`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/init-repo/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/init-repo

---


# Skill: init-repo

## Purpose
Initialize a fork of GoodDocs with fork-specific defaults and a customized doc type.

## Behavior
1. Prompt the user for:
   - `repoName`
   - `docTypeDisplayName` (default: Design Docs)
   - `docTypeKey` (default: design-docs)
   - `docRoot` folder name under `docs/` (default derived from docTypeKey)
   - `defaultOwners` (comma-separated)
2. Create `repo.config.json` with:
   - `repoName`, `defaultDocTypeKey`, `defaultOwners` (array), and `createdAt` (YYYY-MM-DD).
3. Update `schema/doc_rules.json` so `docTypes[0]` matches the new doc type key, display name, and doc root.
4. If `docs/example` exists and the chosen doc root differs, rename it and update links in `docs/README.md`.
5. Run `python3 scripts/validate_docs.py` and fix issues before finishing.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/sidu) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

