47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
{
|
|
"apiVersion": "hub.example.com/v1alpha1",
|
|
"kind": "PromptManifest",
|
|
"metadata": {
|
|
"name": "Repository Onboarding",
|
|
"slug": "repository-onboarding"
|
|
},
|
|
"spec": {
|
|
"promptName": "repository-onboarding",
|
|
"description": "Summarize an authorized repository, its documentation and current-state evidence for a new contributor.",
|
|
"argumentsSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"focus": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"maxLength": 1000
|
|
},
|
|
"timeWindow": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
],
|
|
"maxLength": 100
|
|
}
|
|
},
|
|
"required": []
|
|
},
|
|
"requiredScopes": [
|
|
"project:{project}:read"
|
|
],
|
|
"allowedToolPatterns": [
|
|
"knowledge.*",
|
|
"gitea.*"
|
|
],
|
|
"messages": [
|
|
{
|
|
"role": "user",
|
|
"text": "Summarize an authorized repository, its documentation and current-state evidence for a new contributor. Show evidence, separate facts from inference, respect output limits, and do not perform or conceal write actions."
|
|
}
|
|
]
|
|
}
|
|
}
|