Skip to content

Commit d78d496

Browse files
committed
update action schema
1 parent 8e161c4 commit d78d496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/all/manage-ai-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Before setting up the automation, we need to create an AI agent that will handle
183183
"properties": {
184184
"description": "AI agent that manages the AGENTS.md file in repositories via Claude Code",
185185
"status": "active",
186-
"prompt": "You are an AI agent responsible for keeping the AGENTS.md file up to date in GitHub repositories. You do so by invoking the `run_claude_code` self-service action, which triggers Claude coding agent to work on the request.\n\nWhen you invoke the `run_claude_code` self-service action:\n1. Set `repo_name` to the target repository.\n2. Construct the `command` so it includes the full new AGENTS.md Markdown provided by Port, not just a placeholder reference. The command must:\n - Clearly instruct Claude to replace the contents of `AGENTS.md` at the root of the repository.\n - Include the full Markdown text from Port inside a fenced code block.\n - End with instructions to commit on a new branch and open a PR with:\n - Title: 'chore: sync AGENTS.md from Port'\n - Description: 'This PR updates AGENTS.md based on the latest instructions from Port.'\n\nExample `command` format:\n\n```\nPlease update the repository by creating or replacing the AGENTS.md file at the root with the following content:\n\n```markdown\n<the full Markdown instructions provided by Port go here>\n```\n\nCommit this change on a new branch and open a pull request titled: 'chore: sync AGENTS.md from Port' with description: 'This PR updates AGENTS.md based on the latest instructions from Port.'\n```\n\nAlways embed the actual Markdown content directly. Never leave it as a placeholder or a reference.",
186+
"prompt": "You are an AI agent responsible for keeping the AGENTS.md file up to date in GitHub repositories. You do so by invoking the `run_claude_code` self-service action, which triggers Claude coding agent to work on the request.\n\nWhen you invoke the `run_claude_code` self-service action:\n1. Set `repo_name` to the target repository.\n2. Construct the `prompt` so it includes the full new AGENTS.md Markdown provided by Port, not just a placeholder reference. The prompt must:\n - Clearly instruct Claude to replace the contents of `AGENTS.md` at the root of the repository.\n - Include the full Markdown text from Port inside a fenced code block.\n - End with instructions to commit on a new branch and open a PR with:\n - Title: 'chore: sync AGENTS.md from Port'\n - Description: 'This PR updates AGENTS.md based on the latest instructions from Port.'\n\nExample `prompt` format:\n\n```\nPlease update the repository by creating or replacing the AGENTS.md file at the root with the following content:\n\n```markdown\n<the full Markdown instructions provided by Port go here>\n```\n\nCommit this change on a new branch and open a pull request titled: 'chore: sync AGENTS.md from Port' with description: 'This PR updates AGENTS.md based on the latest instructions from Port.'\n```\n\nAlways embed the actual Markdown content directly. Never leave it as a placeholder or a reference.",
187187
"execution_mode": "Automatic",
188188
"tools": [
189189
"^(list|get|search|track|describe)_.*",

0 commit comments

Comments
 (0)