@sentry/junior-github 0.4.0 → 0.5.0
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/package.json +1 -1
- package/skills/github/SKILL.md +2 -0
- package/skills/github/references/common-use-cases.md +6 -0
- package/skills/github/references/issue-examples.md +7 -0
- package/skills/github/references/issue-template-bug.md +6 -0
- package/skills/github/references/issue-template-feature.md +6 -0
- package/skills/github/references/issue-template-task.md +6 -0
package/package.json
CHANGED
package/skills/github/SKILL.md
CHANGED
|
@@ -42,6 +42,8 @@ Use this skill for `/github` workflows in the harness. Issues are the primary su
|
|
|
42
42
|
- Cross-reference related issues and PRs when they provide context.
|
|
43
43
|
- For quality gates, use [references/issue-quality-checklist.md](references/issue-quality-checklist.md).
|
|
44
44
|
- For structure examples, use [references/issue-examples.md](references/issue-examples.md).
|
|
45
|
+
- When creating a new issue on behalf of a user, append a final attribution line at the end of the body in the form `Action taken on behalf of <name>.`
|
|
46
|
+
- Use the clearest available user identifier from conversation context. Prefer a human name, then stable handle, and do not omit attribution for delegated mutations.
|
|
45
47
|
|
|
46
48
|
4. Execute operation:
|
|
47
49
|
- Issue credential for the required capability before API calls:
|
|
@@ -9,6 +9,12 @@ jr-rpc issue-credential github.issues.write
|
|
|
9
9
|
gh issue create --repo owner/repo --title "OAuth token refresh fails in long-running thread" --body-file /vercel/sandbox/tmp/issue.md
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
`/vercel/sandbox/tmp/issue.md` should end with:
|
|
13
|
+
|
|
14
|
+
```md
|
|
15
|
+
Action taken on behalf of Jane Doe.
|
|
16
|
+
```
|
|
17
|
+
|
|
12
18
|
## 2) Patch issue title/body
|
|
13
19
|
|
|
14
20
|
```bash
|
|
@@ -35,6 +35,8 @@ Good structure — problem-specific sections:
|
|
|
35
35
|
>
|
|
36
36
|
> ## Workaround
|
|
37
37
|
> Retry wrapper that catches LockError and clears the dedup key (PR #32).
|
|
38
|
+
>
|
|
39
|
+
> Action taken on behalf of Jane Doe.
|
|
38
40
|
|
|
39
41
|
## Task example
|
|
40
42
|
|
|
@@ -52,6 +54,8 @@ Good scope — quantified and specific:
|
|
|
52
54
|
> | `processReaction` | scheduling only |
|
|
53
55
|
> | `processAction` | scheduling only |
|
|
54
56
|
> | `processMessage` | scheduling + thread ID normalization + lock retry |
|
|
57
|
+
>
|
|
58
|
+
> Action taken on behalf of Jane Doe.
|
|
55
59
|
|
|
56
60
|
## Feature example
|
|
57
61
|
|
|
@@ -70,6 +74,8 @@ Good framing — current state, gap, options:
|
|
|
70
74
|
> |----------|----------|
|
|
71
75
|
> | File watch + hot reload | Simple, but no atomicity guarantee |
|
|
72
76
|
> | Config service with polling | Consistent, but adds a dependency |
|
|
77
|
+
>
|
|
78
|
+
> Action taken on behalf of Jane Doe.
|
|
73
79
|
|
|
74
80
|
## Principles
|
|
75
81
|
|
|
@@ -86,3 +92,4 @@ Good framing — current state, gap, options:
|
|
|
86
92
|
- Confident fix claims without root-cause evidence
|
|
87
93
|
- Speculative detail mixed into verified facts
|
|
88
94
|
- Session-specific content (user names, slash commands, channel references)
|
|
95
|
+
- Missing delegated attribution footer on user-requested issue creation
|
|
@@ -15,9 +15,15 @@ Up to 3 sentences describing the failure and its impact.
|
|
|
15
15
|
|
|
16
16
|
Remove sections that don't apply. Add sections the problem needs.
|
|
17
17
|
|
|
18
|
+
## Delegated action footer
|
|
19
|
+
When creating a new issue on behalf of a user, append a final line:
|
|
20
|
+
|
|
21
|
+
`Action taken on behalf of <name>.`
|
|
22
|
+
|
|
18
23
|
## Constraints
|
|
19
24
|
- Title hard max: 60 characters (target 40-60).
|
|
20
25
|
- Summary max 3 sentences.
|
|
21
26
|
- Remove empty sections.
|
|
22
27
|
- Adapt section headings to fit the issue, not the reverse.
|
|
23
28
|
- Do not include acceptance criteria unless explicitly requested.
|
|
29
|
+
- Keep the delegated action footer as the last line in the body when applicable to newly created issues.
|
|
@@ -14,9 +14,15 @@ Up to 3 sentences describing the desired improvement and user outcome.
|
|
|
14
14
|
|
|
15
15
|
Remove sections that don't apply. Add sections the feature needs.
|
|
16
16
|
|
|
17
|
+
## Delegated action footer
|
|
18
|
+
When creating a new issue on behalf of a user, append a final line:
|
|
19
|
+
|
|
20
|
+
`Action taken on behalf of <name>.`
|
|
21
|
+
|
|
17
22
|
## Constraints
|
|
18
23
|
- Title hard max: 60 characters (target 40-60).
|
|
19
24
|
- Summary max 3 sentences.
|
|
20
25
|
- Remove empty sections.
|
|
21
26
|
- Adapt section headings to fit the issue, not the reverse.
|
|
22
27
|
- Do not include acceptance criteria unless explicitly requested.
|
|
28
|
+
- Keep the delegated action footer as the last line in the body when applicable to newly created issues.
|
|
@@ -14,9 +14,15 @@ Up to 3 sentences describing the task and intended result.
|
|
|
14
14
|
|
|
15
15
|
Remove sections that don't apply. Add sections the task needs.
|
|
16
16
|
|
|
17
|
+
## Delegated action footer
|
|
18
|
+
When creating a new issue on behalf of a user, append a final line:
|
|
19
|
+
|
|
20
|
+
`Action taken on behalf of <name>.`
|
|
21
|
+
|
|
17
22
|
## Constraints
|
|
18
23
|
- Title hard max: 60 characters (target 40-60).
|
|
19
24
|
- Summary max 3 sentences.
|
|
20
25
|
- Remove empty sections.
|
|
21
26
|
- Adapt section headings to fit the issue, not the reverse.
|
|
22
27
|
- Do not include acceptance criteria unless explicitly requested.
|
|
28
|
+
- Keep the delegated action footer as the last line in the body when applicable to newly created issues.
|