Skip to content

Commit 022eb35

Browse files
authored
Merge pull request #14 from pinecone-io/improve-contextualize-prompt
improve contextualize prompt: add PR summary comment and manual chang…
2 parents 2048903 + f5ac6ac commit 022eb35

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/contextualize-skills.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
2727
github_token: ${{ github.token }}
28-
claude_args: '--allowedTools "Read,Write,Edit,Bash(git:*)"'
28+
claude_args: '--allowedTools "Read,Write,Edit,Bash(git:*),Bash(gh pr comment:*)"'
2929
prompt: |
3030
REPO: ${{ github.repository }}
3131
PR NUMBER: ${{ github.event.pull_request.number }}
@@ -40,6 +40,12 @@ jobs:
4040
- Preserve all references/ and scripts/ subdirectories
4141
4. Commit your changes directly to this branch with the message:
4242
"contextualize: adapt synced skills for this plugin"
43+
5. Post a single PR comment using `gh pr comment` summarizing:
44+
- What you changed in each file and why
45+
- What you intentionally left unchanged
46+
- Recommendations for manual changes the reviewer should consider
47+
(e.g. existing slash commands or skills that may now be redundant given
48+
the incoming skills — flag these for the reviewer but do NOT remove them yourself)
4349
4450
Do not open a new PR. Do not modify files outside of the skills/ directory.
4551
Do not modify .claude-plugin/ files.

0 commit comments

Comments
 (0)