You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/skill-authoring/SKILL.md
+40-10Lines changed: 40 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,43 @@ description: Brief description of what the skill does
31
31
```
32
32
33
33
-**name**: Unique identifier (lowercase, hyphens)
34
-
-**description**: One-line summary (loaded at startup for all skills)
34
+
-**description**: Rich description for skill discovery (1-1024 characters)
35
+
36
+
### Writing Effective Descriptions
37
+
38
+
The description field is **critical for skill discovery** by coding agents. It should include:
39
+
40
+
1.**What the skill does** - Core functionality
41
+
2.**When to use it** - Trigger scenarios
42
+
3.**Keywords** - Task-oriented phrases that help agents connect questions to skills
43
+
44
+
**Format:**
45
+
```yaml
46
+
description: "[What it does]. Use when [scenarios]. Keywords/phrases."
47
+
```
48
+
49
+
**Good examples:**
50
+
```yaml
51
+
# Task-oriented phrases help agents connect "how do I" questions
52
+
description: Search and read B2C Commerce Script API documentation and XSD schemas. Use when writing B2C scripts, looking up classes like URLUtils/ProductMgr/CustomerMgr, or answering "how do I" questions about generating URLs, querying products, processing orders, or any dw.* API task.
53
+
54
+
# Include common error scenarios
55
+
description: View and debug B2C CLI configuration. Use when authentication fails, connection errors occur, wrong instance is used, or you need to verify dw.json settings, environment variables, or OAuth credentials.
56
+
57
+
# Disambiguation helps agents choose the right skill
58
+
description: Run and monitor existing jobs, import/export site archives. Use when executing batch jobs, importing site data, or checking job status. For creating new job code, use b2c-custom-job-steps instead.
59
+
```
60
+
61
+
**Bad examples:**
62
+
```yaml
63
+
# Too brief - no discovery keywords
64
+
description: Using the b2c CLI for documentation
65
+
66
+
# Action-oriented instead of problem-oriented
67
+
description: Using the b2c CLI to search and read Script API documentation
68
+
```
69
+
70
+
**Key insight:** Include **task-oriented phrases** ("generating URLs", "querying products") not just class names, since users ask about tasks they want to accomplish.
35
71
36
72
### Instructions Body
37
73
@@ -40,21 +76,13 @@ The body contains markdown instructions that tell the agent how to perform the t
40
76
```markdown
41
77
---
42
78
name: my-skill
43
-
description: Does something useful
79
+
description: Does something useful. Use when [scenarios]. Keywords: [task phrases].
44
80
---
45
81
46
82
# Skill Title
47
83
48
84
Brief overview of what this skill helps accomplish.
- [Detailed Reference](references/REFERENCE.md) - Link to additional docs
65
93
```
66
94
95
+
Note: The description frontmatter is the **only** discovery mechanism. "When to Use" sections in the body are not used for discovery. Put all discovery-relevant information in the description.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-code/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: b2c-code
3
-
description: Using the b2c CLI for code version deployment and management
3
+
description: Deploy and manage code versions on B2C Commerce instances. Use when uploading cartridges, activating code versions, watching for file changes during development, or syncing local code to sandbox.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-config/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: b2c-config
3
-
description: Using the b2c CLI to view and debug current configuration for instance, SCAPI, oauth and MRT settings.
3
+
description: View and debug B2C CLI configuration and understand where credentials come from. Use when authentication fails, connection errors occur, wrong instance is used, or you need to verify dw.json settings, environment variables (SFCC_*), or OAuth credentials are loaded correctly.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-docs/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: b2c-docs
3
-
description: Using the b2c CLI to search and read Script API documentation and XSD schemas
3
+
description: Search and read B2C Commerce Script API documentation and XSD schemas. Use when writing B2C scripts, looking up classes like URLUtils/ProductMgr/CustomerMgr, or answering "how do I" questions about generating URLs, querying products, processing orders, or any dw.* API task. Also use for import/export XML format reference.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-job/SKILL.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
---
2
2
name: b2c-job
3
-
description: Using the b2c CLI to run and monitor existing jobs, import/export site archives (IMPEX). Use this for executing jobs, not creating new job step code.
description: Run and monitor existing jobs, import/export site archives (IMPEX). Use when executing batch jobs, importing site data, running search indexing, checking job status, or viewing job logs. For creating new job code, use b2c-custom-job-steps instead.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-mrt/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: b2c-mrt
3
-
description: Using the b2c CLI for Managed Runtime (MRT) project and deployment management
3
+
description: Deploy and manage Managed Runtime (MRT) PWA storefronts. Use when deploying bundles, managing environments, setting environment variables, configuring redirects, or working with CDN for PWA Kit projects.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-ods/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: b2c-ods
3
-
description: Using the b2c CLI for on-demand sandbox (ODS) management
3
+
description: Create and manage on-demand sandboxes (ODS). Use when provisioning development instances, starting/stopping sandboxes, checking sandbox status, or managing sandbox lifecycle. Only create or delete sandboxes when explicitly requested.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-scapi-custom/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: b2c-scapi-custom
3
-
description: Using the b2c CLI for Custom SCAPI endpoint management
3
+
description: Check Custom SCAPI endpoint registration status. Use when verifying custom API deployment, debugging "endpoint not found" errors, or checking if code activation registered new APIs. For creating new custom APIs, use b2c-custom-api-development instead.
Copy file name to clipboardExpand all lines: plugins/b2c-cli/skills/b2c-scapi-schemas/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: b2c-scapi-schemas
3
-
description: Using the b2c CLI to browse and retrieve SCAPI schema specifications
3
+
description: Browse and retrieve SCAPI OpenAPI schemas. Use when exploring available SCAPI endpoints, checking API request/response formats, understanding SCAPI data models, or finding the right API for a task.
0 commit comments