afv-library/README.md
k-j-kim 445ac2f126
Rename webapp/webapplication to UI bundle across the codebase
Directory renames: webapplications/ → uiBundles/, samples dirs drop -experimental suffix
File renames: *.webapplication-meta.xml → *.uibundle-meta.xml, webapplication.json → ui-bundle.json
XML metadata: <WebApplication> → <UIBundle>
NPM packages: @salesforce/webapp-* → @salesforce/ui-bundle-*
Skill names: *-webapplication-* → *-salesforce-ui-bundle-*
CLI references: sf webapp → sf ui-bundle
Source code: function/variable/type names, import paths, string literals updated
ESLint config: Added .worktrees/** to ignores
CHANGELOG repo URLs preserved
2026-03-27 17:54:18 -07:00

2.3 KiB

Agentforce Vibes Library

AI skills and rules library for Agentforce Vibes development of Salesforce metadata.

📚 About

This repository curates Salesforce-focused skills and system rules from the wider developer community to accelerate Agentforce Vibes agentic workflows.

🗂️ Structure

afv-library/
├── rules/                # Single-file guardrails and standards
├── skills/               # Directory-based executable workflows
│   ├── generating-apex/
│   ├── generating-custom-object/
│   ├── generating-flow/
│   └── ...
├── samples/              # Synced sample apps (e.g. from npm)
│   └── ui-bundle-template-app-react-sample-b2e/
│   └── ...
├── scripts/              
│   └── ...
└── README.md

Manual Usage

Browse the repository and copy/paste any rule or skill directly into Agentforce Vibes or your preferred AI tool.

Samples

The samples/ folder contains synced sample apps. For example, samples/ui-bundle-template-app-react-sample-b2e/ is kept in sync with the npm package @salesforce/ui-bundle-template-app-react-sample-b2e (nightly and on manual trigger via GitHub Actions). To run the same sync locally from the repo root:

npm install
npm run sync-react-b2e-sample

The GitHub Action runs these same commands and opens a PR only when the npm package version has changed. See samples/README.md for details.

🛠️ Agent Skills

Agent Skills extend rules by bundling executable workflows, scripts, and reference materials into self-contained directories. Skills follow the open Agent Skills specification and are portable across many agent tools (Cursor, Claude Code, VS Code extensions, etc.).

Directory Structure

Each skill is a folder containing:

  • SKILL.md (required) - instructions + YAML frontmatter
  • scripts/ (optional) - executable Python/Bash/JS
  • references/ (optional) - additional documentation
  • assets/ (optional) - templates, schemas, lookup data

🤝 Contributing

See Contributing for complete details.

Feedback

Found an issue or have a suggestion?

  • Open an issue in GitHub
  • Suggest improvements via pull request
  • Start a discussion in GitHub Discussions or the pull request thread