chore: improve project prompt instructions#14984
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the human-facing descriptions/instructions for GitHub Projects (ProjectOps) safe-output tools across the tool metadata JSON, workflow schema descriptions, and repository documentation so agents get clearer guidance when creating/updating Projects and posting status updates.
Changes:
- Expanded and reworded tool descriptions for
update_project,create_project, andcreate_project_status_update. - Updated
main_workflow_schema.jsondescriptions for the project-related safe-outputs configuration. - Reworked ProjectOps guidance in
.github/aw/github-agentic-workflows.md(requirements, examples, and calling modes).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| pkg/workflow/js/safe_outputs_tools.json | Updates Projects-related tool descriptions for the workflow prompt tooling. |
| actions/setup/js/safe_outputs_tools.json | Updates Projects-related tool descriptions used by the JS setup/runtime tooling. |
| pkg/parser/schemas/main_workflow_schema.json | Updates schema descriptions for project-related safe-outputs config. |
| .github/aw/github-agentic-workflows.md | Updates documentation/examples for configuring and using ProjectOps safe-outputs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
@copilot recompile workflows |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)
pkg/workflow/js/safe_outputs_tools.json:929
- The
create_projectMCP handler auto-generates and returns atemporary_id(and returnsproject: "#<temporary_id>") (seeactions/setup/js/safe_outputs_handlers.cjs). However this embedded tool schema forcreate_projectdoesn’t includetemporary_idin its input schema, and the description doesn’t mention the returned#aw_...reference. For consistency withactions/setup/js/safe_outputs_tools.jsonand to avoid confusing agents, consider adding the optionaltemporary_idfield here too (or clarify that it’s always auto-generated).
"name": "create_project",
"description": "Create a new GitHub Project board. Use this to create a new project for organizing and tracking work across issues and pull requests, owned by a specific user or organization. You can optionally provide a custom title and add an initial issue item to the project via item_url.",
"inputSchema": {
"type": "object",
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.