claudegoodies
Command

package-assistant

From iOfficeAI

Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one.

Install

/package-assistant

Facts

Status
Actively maintained
Last commit

Source preview

The instructions Claude Code reads when this command runs.

# Package OfficeCLI Skill as AionUi Assistant

Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one.

## Usage

```
/package-assistant <skill-name> [assistant-id] [avatar]
```

- `<skill-name>` — Name of the skill directory under `/Users/veryliu/Documents/GitHub/officecli/skills/` (e.g. `officecli-docx`, `officecli-pptx`, `officecli-xlsx`, `officecli-data-dashboard`)
- `[assistant-id]` — Optional. ID for the new assistant (defaults to `<skill-name>-creator`)
- `[avatar]` — Optional. Emoji avatar (defaults to auto-selected based on skill type)

Arguments: $ARGUMENTS

---

## Before You Start — Detect Mode

Before doing anything, check whether this skill has already been packaged:

1. Check if `aionui/src/process/resources/skills/<skill-name>/` exists
2. Check if the assistant-id already appears in `assistantPresets.ts`

- **Both exist** → **Update mode**: Only re-copy skill files (Step 1). Skip Steps 2–4.
- **Neither exists** → **New mode**: Run all steps (1–5).
- **Skill exists but assistant doesn't** (or vice versa) → Run whichever steps are missing.

---

## Step 1 — Copy Skill Files

1. Read all files from `officecli/skills/<skill-name>/` (SKILL.md, creating.md, editing.md, reference/, etc.)
2. Create target directory at `aionui/src/process/resources/skills/<skill-name>/` — **directory name must be identical** to the officecli sour
View full source on GitHub →

Other slash commands