poe-code 3.0.148 → 3.0.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +514 -216
- package/dist/index.js.map +4 -4
- package/dist/prompts/fix-vulnerabilities.md +11 -10
- package/dist/prompts/github-issue-comment-created.md +9 -18
- package/dist/prompts/github-issue-opened.md +6 -14
- package/dist/prompts/github-pull-request-opened.md +8 -6
- package/dist/prompts/github-pull-request-synchronized.md +8 -4
- package/dist/prompts/update-dependencies.md +8 -0
- package/dist/prompts/update-documentation.md +11 -4
- package/dist/variables.yaml +23 -0
- package/package.json +1 -1
|
@@ -4,15 +4,16 @@ source: >-
|
|
|
4
4
|
gh api repos/{owner}/{repo}/dependabot/alerts --jq '[.[] |
|
|
5
5
|
select(.state=="open")]'
|
|
6
6
|
agent: claude-code
|
|
7
|
-
#
|
|
8
|
-
# {
|
|
9
|
-
#
|
|
10
|
-
# {{dependency.package.ecosystem}} - ecosystem (e.g. npm)
|
|
11
|
-
# {{dependency.manifest_path}} - path to manifest (e.g. package.json)
|
|
12
|
-
# {{security_advisory.ghsa_id}} - advisory ID
|
|
13
|
-
# {{security_advisory.summary}} - short description
|
|
14
|
-
# {{security_advisory.severity}} - low | medium | high | critical
|
|
15
|
-
# {{security_advisory.description}} - full advisory description
|
|
16
|
-
# {{security_vulnerability.first_patched_version.identifier}} - first safe version
|
|
7
|
+
# Source fields: number, dependency.package.{name,ecosystem}, dependency.manifest_path,
|
|
8
|
+
# security_advisory.{ghsa_id,summary,severity,description},
|
|
9
|
+
# security_vulnerability.first_patched_version.identifier (first safe version)
|
|
17
10
|
---
|
|
18
11
|
Fix {{dependency.package.name}} ({{security_advisory.severity}}): {{security_advisory.summary}}
|
|
12
|
+
|
|
13
|
+
{{skill_github_cli}}
|
|
14
|
+
|
|
15
|
+
{{pull_request_guidelines}}
|
|
16
|
+
|
|
17
|
+
{{response_style}}
|
|
18
|
+
|
|
19
|
+
{{verify_before_responding}}
|
|
@@ -8,32 +8,23 @@ prefix:
|
|
|
8
8
|
- "poe-code"
|
|
9
9
|
- "poe-code-agent"
|
|
10
10
|
- "@poe-code-agent"
|
|
11
|
-
# Available variables:
|
|
12
|
-
# {{url}} - full GitHub URL to the issue
|
|
13
|
-
# {{repo}} - owner/repo (e.g. acme/my-app)
|
|
14
|
-
# {{issue.number}} - issue number
|
|
15
|
-
# {{issue.title}} - issue title
|
|
16
|
-
# {{comment.author}} - login of the comment author
|
|
17
|
-
# {{comment.body}} - body text of the triggering comment
|
|
18
11
|
---
|
|
19
12
|
Read {{url}} and leave a visible GitHub response to the comment from {{comment.author}}: {{comment.body}}
|
|
20
13
|
|
|
21
14
|
{{#pr.number}}
|
|
22
15
|
- This comment is on pull request #{{pr.number}}.
|
|
23
|
-
- If the comment asks for code changes
|
|
24
|
-
- Do not open a new PR
|
|
16
|
+
- If the comment asks for code changes, implement them on the current PR branch, update the existing PR, and comment with the result.
|
|
17
|
+
- Do not open a new PR unless updating the existing PR is impossible.
|
|
25
18
|
{{/pr.number}}
|
|
26
19
|
{{^pr.number}}
|
|
27
|
-
- If the comment asks for code changes
|
|
20
|
+
- If the comment asks for code changes, open or update a PR and comment with the result.
|
|
28
21
|
{{/pr.number}}
|
|
29
|
-
- If
|
|
30
|
-
- If you cannot complete the request, comment with the blocker and the next concrete step.
|
|
22
|
+
- If blocked, comment with the blocker and next step.
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
- Keep it concise.
|
|
34
|
-
- Use short Markdown sections only when they improve clarity.
|
|
24
|
+
{{skill_github_cli}}
|
|
35
25
|
|
|
36
|
-
|
|
26
|
+
{{pull_request_guidelines}}
|
|
37
27
|
|
|
38
|
-
|
|
39
|
-
|
|
28
|
+
{{response_style}}
|
|
29
|
+
|
|
30
|
+
{{verify_before_responding}}
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
label: "GitHub: Issue Handler"
|
|
3
|
-
# Available variables:
|
|
4
|
-
# {{url}} - full GitHub URL to the issue
|
|
5
|
-
# {{repo}} - owner/repo (e.g. acme/my-app)
|
|
6
|
-
# {{issue.number}} - issue number
|
|
7
|
-
# {{issue.title}} - issue title
|
|
8
|
-
# {{issue.body}} - issue body
|
|
9
3
|
---
|
|
10
4
|
Read {{url}} and leave a visible GitHub response.
|
|
11
5
|
|
|
12
6
|
- If the issue needs code changes, implement them, open or update a PR, and comment with the result.
|
|
13
|
-
- If
|
|
14
|
-
- If you cannot complete the request, comment with the blocker and the next concrete step.
|
|
7
|
+
- If blocked, comment with the blocker and next step.
|
|
15
8
|
|
|
16
|
-
|
|
17
|
-
- Keep it concise.
|
|
18
|
-
- Use short Markdown sections only when they improve clarity.
|
|
9
|
+
{{skill_github_cli}}
|
|
19
10
|
|
|
20
|
-
|
|
11
|
+
{{pull_request_guidelines}}
|
|
21
12
|
|
|
22
|
-
|
|
23
|
-
|
|
13
|
+
{{response_style}}
|
|
14
|
+
|
|
15
|
+
{{verify_before_responding}}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
label: "GitHub: Pull Request Handler"
|
|
3
|
-
# Available variables:
|
|
4
|
-
# {{url}} - full GitHub URL to the pull request
|
|
5
|
-
# {{repo}} - owner/repo (e.g. acme/my-app)
|
|
6
|
-
# {{pr.number}} - pull request number
|
|
7
|
-
# {{pr.title}} - pull request title
|
|
8
|
-
# {{pr.author}} - login of the PR author
|
|
9
3
|
---
|
|
10
4
|
Read {{url}} and review the pull request.
|
|
5
|
+
|
|
6
|
+
{{skill_github_cli}}
|
|
7
|
+
|
|
8
|
+
{{code_review_guidelines}}
|
|
9
|
+
|
|
10
|
+
{{response_style}}
|
|
11
|
+
|
|
12
|
+
{{verify_before_responding}}
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
label: "GitHub: Pull Request Update Handler"
|
|
3
|
-
# Available variables:
|
|
4
|
-
# {{url}} - full GitHub URL to the pull request
|
|
5
|
-
# {{repo}} - owner/repo (e.g. acme/my-app)
|
|
6
|
-
# {{pr.number}} - pull request number
|
|
7
3
|
---
|
|
8
4
|
Read {{url}} and re-review the updated pull request.
|
|
5
|
+
|
|
6
|
+
{{skill_github_cli}}
|
|
7
|
+
|
|
8
|
+
{{code_review_guidelines}}
|
|
9
|
+
|
|
10
|
+
{{response_style}}
|
|
11
|
+
|
|
12
|
+
{{verify_before_responding}}
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
label: "Scheduled: Update Documentation"
|
|
3
3
|
---
|
|
4
|
-
Review all commits that landed during the last 24 hours and update the documentation to reflect the
|
|
4
|
+
Review all commits that landed during the last 24 hours and update the documentation to reflect the changes on branch `agent/update-documentation`.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
If
|
|
8
|
-
|
|
6
|
+
If there is already an open, unmerged PR for that branch, update that existing PR instead of opening a new one.
|
|
7
|
+
If the documentation is already correct, do not open or update a PR.
|
|
8
|
+
|
|
9
|
+
{{skill_github_cli}}
|
|
10
|
+
|
|
11
|
+
{{pull_request_guidelines}}
|
|
12
|
+
|
|
13
|
+
{{response_style}}
|
|
14
|
+
|
|
15
|
+
{{verify_before_responding}}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Preview rendered prompt: poe-code github-workflows prompt-preview <name>
|
|
2
|
+
|
|
3
|
+
response_style: |
|
|
4
|
+
- Start with a direct answer or decision.
|
|
5
|
+
- Keep it concise.
|
|
6
|
+
- Use short Markdown sections only when they improve clarity.
|
|
7
|
+
|
|
8
|
+
verify_before_responding: |
|
|
9
|
+
Before responding:
|
|
10
|
+
- Inspect the checked-out repository.
|
|
11
|
+
- Verify every claim against the repo before you post it.
|
|
12
|
+
|
|
13
|
+
skill_github_cli: |
|
|
14
|
+
Use the `gh` CLI for all GitHub operations (issues, PRs, reviews, checks).
|
|
15
|
+
|
|
16
|
+
pull_request_guidelines: |
|
|
17
|
+
- One logical change per PR. Feel free to open multiple PRs.
|
|
18
|
+
- Follow the repo guidelines
|
|
19
|
+
|
|
20
|
+
code_review_guidelines: |
|
|
21
|
+
- Review every changed file, not just the diff summary.
|
|
22
|
+
- Verify the change follows existing patterns in the codebase. New abstractions need justification.
|
|
23
|
+
- Don't rubber-stamp. Request changes when there are real issues.
|