init-repo
Initialize a fork of GoodDocs with fork-specific defaults and a customized doc type.
$ Installieren
git clone https://github.com/SidU/GoodDocs /tmp/GoodDocs && cp -r /tmp/GoodDocs/.codex/skills/init-repo ~/.claude/skills/GoodDocs// tip: Run this command in your terminal to install the skill
SKILL.md
name: init-repo description: Initialize a fork of GoodDocs with fork-specific defaults and a customized doc type.
Skill: init-repo
Purpose
Initialize a fork of GoodDocs with fork-specific defaults and a customized doc type.
Behavior
- Prompt the user for:
repoNamedocTypeDisplayName(default: Design Docs)docTypeKey(default: design-docs)docRootfolder name underdocs/(default derived from docTypeKey)defaultOwners(comma-separated)
- Create
repo.config.jsonwith:repoName,defaultDocTypeKey,defaultOwners(array), andcreatedAt(YYYY-MM-DD).
- Update
schema/doc_rules.jsonsodocTypes[0]matches the new doc type key, display name, and doc root. - If
docs/exampleexists and the chosen doc root differs, rename it and update links indocs/README.md. - Run
python3 scripts/validate_docs.pyand fix issues before finishing.
