Skip to main content

create-category

Create a new product category Arguments: <title> [--parent <id>] [--orderBy cheap|expensive|novelty|popular].

Source facts

Repository
Agents-Store/codex-plugins
Last source activity
November 1, 2026 at 02:46
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
create-category
description
Create a new product category Arguments: <title> [--parent <id>] [--orderBy cheap|expensive|novelty|popular].
# Create Category Create a new product category in the Teleshop store. Method and rules: the `teleshop-ops:category-management` skill. ## Arguments Format: `<title> [--parent <id>] [--orderBy cheap|expensive|novelty|popular]` - title: Category name (required) - --parent: Parent category ID for subcategory - --orderBy: Default product sorting (cheap, expensive, novelty, popular) Parse from "$ARGUMENTS". ## Process 1. **If --parent not provided, list existing categories for context:** ``` list_categories() ``` 2. **Create the category:** ``` create_category({ title: <title>, parentId: <parent if provided>, orderBy: <orderBy if provided> }) ``` 3. **Display created category:** Show ID, title, parent, ordering. ## Example Usage ``` /create-category "Electronics" /create-category "Smartphones" --parent 5 /create-category "Sale" --orderBy cheap ```
View on GitHub