claudegoodies
Command

update-docs

From alirezarezvani

Update all the documentation related files.

Install

/update-docs

Facts

Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this command runs.

After completing any skill creation, agent creation, or command creation in this repository, run the full post-creation sync pipeline below. Execute every step — never skip a task. If something is unclear or a step fails, ask the user for guidance before continuing.

---

## Step 1: Inventory what changed

Scan the working tree to identify what was added, modified, or deleted:

```bash
git status --short
```

Classify each change:
- **New skill** — a new folder containing `SKILL.md` under a domain directory
- **New agent** — a new `.md` file under `agents/`
- **New command** — a new `.md` file under `commands/`
- **Modified skill/agent/command** — updated existing files
- **Deleted skill/agent/command** — removed files

Report the inventory to the user before proceeding.

---

## Step 2: Cross-platform CLI sync

Ensure all platforms have compatible versions of every skill, agent, and command.

### 2a. Codex CLI

Run the Codex sync script to regenerate symlinks and the skills index:

```bash
python3 scripts/sync-codex-skills.py --verbose
```

Verify the output: check `.codex/skills-index.json` for correct `total_skills` count and that new skills appear in the index.

### 2b. Gemini CLI

Run the Gemini sync script:

```bash
python3 scripts/sync-gemini-skills.py --verbose
```

Verify: check `.gemini/skills-index.json` for correct total count. New skills, agents, and commands shoul
View full source on GitHub →

Other slash commands