afv-library/README.md

73 lines
2.5 KiB
Markdown
Raw Normal View History

2025-11-08 01:28:35 +08:00
# Agentforce Vibes Library
2026-04-14 03:40:32 +08:00
Salesforce's official repository of agent skills for app building. It spans Agentforce agents, Lightning apps, Flow, Apex, SOQL, LWC, UI bundles, objects and fields, permission sets, and more—and we're just getting started.
Optimized for Agentforce Vibes. Compatible with all AI tools that support skills.
2025-11-08 01:28:35 +08:00
## 📚 About
2026-04-14 03:40:32 +08:00
This repository curates Salesforce app building skills from Salesforce and the entire community.
2026-01-29 05:03:14 +08:00
## 🗂️ Structure
```
afv-library/
├── skills/ # Directory-based executable workflows
│ ├── generating-apex/
│ ├── generating-custom-object/
│ ├── generating-flow/
2026-01-29 05:03:14 +08:00
│ └── ...
2026-02-28 04:56:57 +08:00
├── samples/ # Synced sample apps (e.g. from npm)
│ └── ui-bundle-template-app-react-sample-b2e/
│ └── ...
2026-03-31 20:32:29 +08:00
├── scripts/
│ └── ...
2026-01-29 05:03:14 +08:00
└── README.md
```
2025-11-08 01:28:35 +08:00
2026-04-14 03:40:32 +08:00
## 🚀 Usage
| **Tool** | **Do This** |
|----------|-------------|
| **Agentforce Vibes** | Skills are auto-installed and auto-updated |
| **Claude Code, Codex, Gemini CLI, OpenCode, etc** | `npx skills add forcedotcom/afv-library` |
2025-11-08 01:28:35 +08:00
2026-04-14 03:40:32 +08:00
## 📦 Samples
2026-02-28 04:56:57 +08:00
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:
2026-02-28 04:56:57 +08:00
```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.
2026-01-29 05:03:14 +08:00
## 🛠️ Agent Skills
2026-01-29 05:03:14 +08:00
2026-04-14 03:40:32 +08:00
Agent Skills are modular capabilities that bundle executable workflows, scripts, and reference materials into self-contained directories. This repository follows the open [Agent Skills specification](https://agentskills.io/) and is usable by all AI tools that support skills: Claude Code, Codex, Gemini CLI, OpenCode, etc.
2026-01-29 05:03:14 +08:00
### 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
2025-11-08 01:28:35 +08:00
2025-11-13 21:08:57 +08:00
## 🤝 Contributing
2025-11-14 04:01:57 +08:00
See [Contributing](./CONTRIBUTING.md) for complete details.
2025-11-13 21:08:57 +08:00
2026-01-29 05:03:14 +08:00
2026-04-14 03:40:32 +08:00
## 💬 Feedback
2025-11-13 21:08:57 +08:00
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