mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 19:50:42 +08:00
* chore: rename webapp-template packages to ui-bundle-template * chore: sync React b2e and b2x samples from npm @1.117.3 * chore: rename sample folders to match ui-bundle-template package names * chore: sync React b2e and b2x samples from npm @1.117.5 * chore: remove accidental trace.md from b2e sample * chore: keep old webapp-template sample directories alongside new ui-bundle-template ones * chore: revert component.md change from skills/generating-webapplication-ui * chore: update ui-bundle-template sample versions to 1.117.5
68 lines
2.3 KiB
Markdown
68 lines
2.3 KiB
Markdown
# 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:
|
|
|
|
```bash
|
|
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](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](https://agentskills.io/) 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](./CONTRIBUTING.md) 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
|
|
|