Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Webshop Variant Chooser

ASecurity

This skill selects a product variant (e.g., size, quantity) from available options on a product detail page. It is triggered when a product page displays multiple choices, assessing the options (like '1.1 pound (pack of 1)' or 'pack of 2') and selecting one that aligns with user needs, often defaulting to a standard single unit if unspecified.

1,373 stars
0 votes
0 copies
2 views
Added 2/7/2026
data-ai

Works with

cli

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 2/12/2026

$npx -y skills add zjunlp/SkillNet --skill webshop-variant-chooser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Webshop Variant Chooser?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Webshop Variant Chooser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zjunlp-webshop-variant-chooser/badge)](https://www.skillsdirectory.com/skills/zjunlp-webshop-variant-chooser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: webshop-variant-chooser
description: This skill selects a product variant (e.g., size, quantity) from available options on a product detail page. It is triggered when a product page displays multiple choices, assessing the options (like '1.1 pound (pack of 1)' or 'pack of 2') and selecting one that aligns with user needs, often defaulting to a standard single unit if unspecified.
---
# Instructions

## When to Use
Use this skill when you are on a product detail page and the observation contains a list of variant options (e.g., under a "size" or "quantity" heading). The skill is triggered by the presence of multiple clickable options that represent different configurations of the same product.

## Core Decision Logic
1.  **Parse the Observation:** Identify the list of available variant options from the observation text. These are typically presented as clickable values after a label like "size".
2.  **Assess User Needs:** Review the original user instruction for any explicit or implicit preferences regarding variant (e.g., budget constraints, desired quantity). If no preference is stated, default logic applies.
3.  **Select and Act:** Choose the most appropriate variant and execute a `click[value]` action.
    *   **If user instruction specifies a constraint (e.g., "price lower than 40.00 dollars"):** Ensure the selected variant's price (if displayed) complies.
    *   **If no user preference is stated:** Prefer the standard, single-unit option (e.g., "1.1 pound (pack of 1)" over "pack of 2") as a sensible default.
    *   **If the choice is ambiguous:** You may need to click on a variant to see its updated price/details before finalizing the selection, as shown in the trajectory.

## Action Format
Your response must strictly follow this format:

Attribution

zjunlpzjunlp
View sourceSee grades on GitHubMore from zjunlp →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Marketing Campaign

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches.

2699142 votes

Deep Research

Orchestrate multi-phase deep research with web search, memory retrieval, pattern matching, and synthesis into structured findings

737331 votes

Accessibility

WCAG 2.2 レベル AA 標準を用いてインクルーシブなデジタルプロダクトを設計・実装・監査します。Web 用のセマンティック ARIA および Web・ネイティブプラットフォーム(iOS/Android)のアクセシビリティトレイトを生成するために使用します。

2699140 votes

Foundation Models On Device

デバイス上基盤モデルの実装パターン、量子化、最適化、およびプライバシーを考慮した推論。

2699140 votes

Kotlin Exposed Patterns

JetBrains Exposed ORM パターン(DSL クエリ、DAO パターン、トランザクション、HikariCP 接続プーリング、Flyway マイグレーション、リポジトリパターンを含む)。

2699140 votes
View all in data-ai →