Skip to content

fix: enhance using-ui-bundle-salesforce-data skill @W-21686611 [post-tdx]#141

Draft
channiganfsu wants to merge 6 commits intoforcedotcom:mainfrom
channiganfsu:feat/enhance-using-webapp-salesforce-data-v2
Draft

fix: enhance using-ui-bundle-salesforce-data skill @W-21686611 [post-tdx]#141
channiganfsu wants to merge 6 commits intoforcedotcom:mainfrom
channiganfsu:feat/enhance-using-webapp-salesforce-data-v2

Conversation

@channiganfsu
Copy link
Copy Markdown
Contributor

@channiganfsu channiganfsu commented Mar 30, 2026

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

What changed

Improved the using-webapplication-salesforce-data skill's description, body structure, directory layout, and internal path consistency:

  • Rewrote the frontmatter description from ~103 words to ~67 words using a "what + when + not" two-sentence pattern
  • Added "When This Skill Activates" and "Preconditions" sections to the SKILL.md body
  • Renamed references/ to docs/ and updated all internal pointers in SKILL.md
  • Fixed stale script paths (using-webapp-using-webapplication-) in schema-introspection.md and graphql-search.sh
  • Added trigger evals (10 should-trigger + 10 should-not-trigger) and 3 end-to-end evals

Why

The description was too long and lacked a negative boundary, making it prone to misfires on adjacent domains (LWC, Flows, Bulk API, Apex triggers, metadata deployment). The body jumped straight into technical detail without a clear activation list or consolidated preconditions table, which hurts post-trigger alignment. The stale paths in the reference file and script would cause runtime failures when following the documented instructions.

Notes

  • Description changes were grounded in a research report that analyzed 29 production skills across major ecosystems and found the "what + when + not" pattern to be the highest-signal description style
  • The trigger eval set (20 total) is a starting point — the research recommends 40-100 for full coverage
  • The docs/ directory at the repo root (research report) is untracked and not included in this PR

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 docs/ subdirectory
  • 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)

Rewrite frontmatter description to ~67 words using the "what + when + not"
pattern for better routing. Add "When This Skill Activates" and
"Preconditions" sections to align with runbook-style body structure.
Fix stale script paths (using-webapp- → using-webapplication-) in
schema-introspection.md and graphql-search.sh.

Made-with: Cursor
@channiganfsu channiganfsu changed the title Enhance using-webapplication-salesforce-data skill Enhance using-webapplication-salesforce-data skill @W-21686611 Mar 30, 2026
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

These were generated based on the /skill-creator skill feedback. We can leave them in, or remove them. I like the idea, but I haven't thoroughly vetted them yet.

```

The script outputs five sections per entity:
The script outputs seven sections per entity:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Notice how the script doesn't output Delete related wrappers and fields, because it is essentially a unique case in what is required as input and output

Merge the two upstream rename commits (c611126, 92cae58) into our
enhanced skill branch. Resolve rename/rename conflicts by placing
reference docs under docs/ (our rename) within the new
using-ui-bundle-salesforce-data directory (upstream's rename).

Update all internal paths, terminology, and evals to use ui-bundle
naming. Remove the old using-webapplication-salesforce-data directory.

Made-with: Cursor
@channiganfsu channiganfsu changed the title Enhance using-webapplication-salesforce-data skill @W-21686611 Enhance using-ui-bundle-salesforce-data skill @W-21686611 Mar 30, 2026
@channiganfsu channiganfsu changed the title Enhance using-ui-bundle-salesforce-data skill @W-21686611 fix: enhance using-ui-bundle-salesforce-data skill @W-21686611 Mar 31, 2026
@channiganfsu channiganfsu marked this pull request as draft March 31, 2026 18:58
@channiganfsu channiganfsu changed the title fix: enhance using-ui-bundle-salesforce-data skill @W-21686611 fix: enhance using-ui-bundle-salesforce-data skill @W-21686611 [post-tdx] Mar 31, 2026
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.

1 participant