CO

code-generation

Scaffold Vue components and composables using the PlentyONE Shop CLI.

Install

mkdir -p .claude/skills/code-generation && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10531" && unzip -o skill.zip -d .claude/skills/code-generation && rm skill.zip

Installs to .claude/skills/code-generation

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Automates component, composable, and CMS block scaffolding using the PlentyONE Shop CLI. Use this when creating new code structures instead of manually copying existing files.
175 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Generate components with PascalCase naming
  • Generate composables with camelCase and 'use' prefix
  • Scaffold CMS blocks with `--with-form` option
  • Scaffold settings components with `--with-view` and `--with-toolbar`
  • Specify custom output paths for generated files
  • Skip generation of test files or type files

How it works

The skill determines the type and name from user input, applies naming conventions, and executes the appropriate `npm run generate` command with specified options to scaffold code structures.

Inputs & outputs

You give it
Type (component/composable), name, and optional custom location/options
You get back
JSON object indicating success/failure, generator type, name, and list of generated files

When to use code-generation

  • Generating new components
  • Creating new composables
  • Scaffolding CMS blocks

About code-generation

Automates the generation of project structures. Enforces naming conventions for components and composables, and integrates with shop-cli commands.

Automates component, composable, and CMS block scaffolding using the PlentyONE Shop CLI. Use this when creating new code structures instead of manually copying existing files.

When not to use it

  • When manually copying existing files instead of scaffolding new structures
  • When the desired structure is not a component, composable, or CMS block
  • When the project does not use the PlentyONE Shop CLI

Limitations

  • Validation is handled by shop-cli, rejecting invalid names
  • Requires `npm run generate` commands to be available
  • Output format is a JSON object indicating success or error

How it compares

This skill automates code scaffolding and enforces naming conventions using the PlentyONE Shop CLI, preventing manual errors and ensuring consistency, unlike copying and modifying existing files.

Compared to similar skills

code-generation side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
code-generation (this skill)06moReviewBeginner
vue-best-practices195moNo flagsIntermediate
vue-pages16moNo flagsIntermediate
pinia16moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry