Skip to content

W-21707233 Make template command use required#102

Merged
hsinghbisht-sfdc merged 3 commits intoforcedotcom:mainfrom
eclapham:t/ffs/W-21707233/use-cli-please
Mar 25, 2026
Merged

W-21707233 Make template command use required#102
hsinghbisht-sfdc merged 3 commits intoforcedotcom:mainfrom
eclapham:t/ffs/W-21707233/use-cli-please

Conversation

@eclapham
Copy link
Copy Markdown
Contributor

@eclapham eclapham commented Mar 24, 2026

References: Contributing guide · Skill authoring guide · Agent Skills spec
@W-21707233@

What changed

Update instructions to make the use of the CLI template command required.
Add guidance for compound fields.
Remove escaped quotes in frontmatter.

Why

This change should ensure the agent uses the template command when creating flexipages, and prefers compound fields over individual fields. This will reduce deployment errors.

Notes


Skills

Manual checklist

Description quality

  • Describes what the skill does and the expected output
  • Includes relevant Salesforce domain keywords (Apex, LWC, SOQL, metadata types, etc.)
  • Trigger phrases are specific enough for Vibes to select this skill reliably

Instructions

  • Clear goal statement
  • Step-by-step workflow
  • Validation rules for generated output
  • Defined output / artifact

Context efficiency

  • Core instructions are concise — supporting material lives in templates/, examples/, or docs/ subdirectories
  • No unnecessary background explanation in the body

Automated checks

Enforced by CI (npm run validate:skills) per the Agent Skills spec:

  • Directory is one level deep, named in kebab-case (max 64 chars), contains SKILL.md
  • Frontmatter name matches directory name; description is present, ≥ 20 words, ≤ 1024 characters, and includes trigger language
  • Body is non-empty and under 500 lines
  • Name uses gerund form ⚠ (warning — does not block merge)

@eclapham eclapham changed the title @W-21707233 Make template command use required W-21707233 Make template command use required Mar 24, 2026
Copy link
Copy Markdown

@AndrewLPetersonSF AndrewLPetersonSF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look safe to me! Thanks @eclapham

@hsinghbisht-sfdc hsinghbisht-sfdc merged commit f8799ac into forcedotcom:main Mar 25, 2026
2 checks passed
irisli0 pushed a commit to irisli0/afv-library that referenced this pull request Mar 30, 2026
* @W-21707233 make template instructions more explicit

* convert escaped quotes to single quotes in frontmatter

---------

Co-authored-by: Hemant Singh Bisht <hsinghbisht@salesforce.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants