mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-08 08:13:49 +08:00
fix: remove related-skills from template, scope allowed-tools examples
This commit is contained in:
parent
a25f2d4a39
commit
03092fbfde
@ -23,7 +23,7 @@ metadata:
|
|||||||
last_updated: "{YYYY-MM-DD}"
|
last_updated: "{YYYY-MM-DD}"
|
||||||
compatibility: "Requires Salesforce CLI, Python 3.9+"
|
compatibility: "Requires Salesforce CLI, Python 3.9+"
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
allowed-tools: Bash Read Write
|
allowed-tools: Bash(sf project deploy start) Read Write
|
||||||
---
|
---
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -51,10 +51,10 @@ exclusions. The description must be 100-300 words with 5+ specific trigger phras
|
|||||||
### allowed-tools Field
|
### allowed-tools Field
|
||||||
|
|
||||||
Declares which tools the skill can access. This scopes the agent's tool use during
|
Declares which tools the skill can access. This scopes the agent's tool use during
|
||||||
skill execution:
|
skill execution. Scope Bash to specific commands rather than blanket access:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
allowed-tools: Bash Read Write
|
allowed-tools: Bash(sf project deploy start) Read Write
|
||||||
```
|
```
|
||||||
|
|
||||||
Include only the tools the skill actually needs. Common values: `Bash`, `Read`, `Write`,
|
Include only the tools the skill actually needs. Common values: `Bash`, `Read`, `Write`,
|
||||||
|
|||||||
@ -9,11 +9,10 @@ license: LICENSE.txt has complete terms
|
|||||||
metadata:
|
metadata:
|
||||||
version: "1.0"
|
version: "1.0"
|
||||||
stage: Draft
|
stage: Draft
|
||||||
related-skills: "<skill1>, <skill2>"
|
|
||||||
author: "<team-name>"
|
author: "<team-name>"
|
||||||
last_updated: "<YYYY-MM-DD>"
|
last_updated: "<YYYY-MM-DD>"
|
||||||
compatibility: "<REQUIRED_TOOLS_AND_ENVIRONMENT>"
|
compatibility: "<REQUIRED_TOOLS_AND_ENVIRONMENT>"
|
||||||
allowed-tools: <Bash Read Write — list only the tools the skill needs>
|
allowed-tools: <list only the tools the skill needs, e.g. Bash(sf project deploy start) Read Write>
|
||||||
---
|
---
|
||||||
|
|
||||||
# <Skill Title>
|
# <Skill Title>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user