package-assistant
From iOfficeAI
Convert an OfficeCLI skill into a fully wired AionUi assistant preset, or update an existing one.
Install
/package-assistantFacts
- Repository
- iOfficeAI/AionUi
- Status
- Actively maintained
- Last commit
- Source file
- .claude/commands/package-assistant.md
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 sourView full source on GitHub →Other slash commands
feature-development
★ 229,918Workflow command scaffold for feature-development in everything-claude-code.
affaan-mupdated 14d agoMITdatabase-migration
★ 229,918Workflow command scaffold for database-migration in everything-claude-code.
affaan-mupdated 14d agoMITadd-language-rules
★ 229,918Workflow command scaffold for add-language-rules in everything-claude-code.
affaan-mupdated 14d agoMITcommit-push-pr
★ 137,934Commit, push, and open a PR
anthropicsupdated 13d agodedupe
★ 137,934Find duplicate GitHub issues
anthropicsupdated 13d agotriage-issue
★ 137,934Triage GitHub issues by analyzing and applying labels
anthropicsupdated 13d ago