Skip to content

Commit 5465f72

Browse files
committed
Prompt to create skill to create issues
1 parent 14bfe8f commit 5465f72

2 files changed

Lines changed: 163 additions & 124 deletions

File tree

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,162 @@
1+
## dd-3039145-cast-phase-4-into-issues
2+
3+
### Gather previous issue casting actions
4+
5+
Examine the following skills.
6+
7+
C:\Users\edburns\.copilot\skills\shepherd-task-from-assignment-to-ready
8+
C:\Users\edburns\.copilot\skills\shepherd-task-from-ready-to-merged-to-base
9+
C:\Users\edburns\.copilot\skills\shepherd-task-approve-workflows-and-wait-for-completion
10+
C:\Users\edburns\.copilot\skills\shepherd-task-create-ignorance-reduction-plan
11+
C:\Users\edburns\.copilot\skills\shepherd-task-create-post-mortem
12+
13+
and the scripts in this directory
14+
15+
C:\Users\edburns\.copilot\plugins\shepherd-task
16+
17+
Taken together, these scripts constitute the "shepherd-task" system.
18+
19+
Read the `C:\Users\edburns\.copilot\plugins\shepherd-task\README.md` to understand how the "shepherd-task" system works.
20+
21+
In this session we are building a skill that simplifies the satisfaction of this precondation in the README.
22+
23+
> 1. The specification for the job to be done is encoded in an ordered set of GitHub issues in the issue tracker of the GitHub repository.
24+
25+
This new skill will be called `shepherd-task-create-issues-from-plan`.
26+
27+
The following four H4 sections are previous iterations where I directed the performing of actions to create the issues as child issues of a pre-existing parent issue. First, we must discern the common inputs for the `shepherd-task-create-issues-from-plan` skill. I expect we will need at least the following. You will likely find more.
28+
29+
1. The name of the base branch on which the agent must perform the work.
30+
1. The repo in which to perfom the work.
31+
1. The number of the pre-existing parent issue in which the skill will create the child issues.
32+
1. The repo-relative path to the ignorance reduction plan document.
33+
1. Completely unambiguous references to the following sections within the ignorance reduction plan document
34+
a. The "questions to answer before writing code" section.
35+
b. The "Implementation (the build order)" section.
36+
1. A reference to one or more example issues to give the agent concrete examples of style and format for creating issues.
37+
38+
Review the following four H4 sections, along with the preceding list, and derive the common list of inputs. State the derived list.
39+
40+
#### 01 1682-java-tool-ergonomics-prompts-remove-before-merge
41+
42+
Read `copilot-sdk/1682-java-tool-ergonomics-prompts-remove-before-merge/dd-3018003-ignorance-reduction-for-implementation-plan.md` (the plan) to get the context.
43+
44+
✅✅Pay very close attention to each **Resolution:** to the questions in `Phase 3 — Ignorance reduction: questions to answer before writing code`.
45+
46+
In this session, we are creating issues of type **Task** as children of Epic https://github.com/github/copilot-sdk/issues/1682 . These issues correspond to the sub-sections in `## Phase 4 — Implementation (the build order)`.
47+
48+
I want you to use `gh` to create issues as sub-issues of 1682.
49+
50+
- I will dispatch these issues by assigning them to an agent. Leave them unassigned for now.
51+
52+
- The description you put in the issues you create is the specification for the work the agent assigned to the issue must do. Therefore, you need to be very specific and targeted when writing the description.
53+
54+
- Set the type to **Task**.
55+
56+
- Each issue will be worked on and resolved in serial. You can assume:
57+
58+
- All issues will operate in this topic branch of `upstream`: `edburns/1682-java-tool-ergonomics`.
59+
60+
- The assignee agent has access to the topic branch and, most importantly, to the prompts in the directory `1682-java-tool-ergonomics-prompts-remove-before-merge`, which includes the plan. Therefore, you can instruct the agent to access the plan by reference, you don't need to reference it by value directly in the issue.
61+
62+
- The sub-sections of `## Phase 4 — Implementation (the build order)` have essential details for each corresponding **Task**.
63+
64+
- Instruct the agent to read the entire plan before working.
65+
66+
- Instruct the agent to carefully re-read the relevant sections of the of the plan. ❌❌You can't just say, "read the relevant sections of the plan". ✅✅In the description of the issue, list exactly what sections of the plan apply to this particular issue.
67+
68+
- Though the sub-sections of `## Phase 4 — Implementation (the build order)` have essential details for each corresponding **Task**, I want you to carefully consider if there additional gating tests you can add so that as the agent proceeds from one task to the next, the likelihood of rework is reduced.
69+
70+
71+
72+
#### 02 1810-java-tool-ergonomics-tool-as-lambda-remove-before-merge
73+
74+
Carefully read the plan `copilot-sdk/1810-java-tool-ergonomics-tool-as-lambda-remove-before-merge/1810-ignorance-reduction-for-implementation-plan.md`.
75+
76+
We have completed Phases 1 - 3. We are now on Phase 4.
77+
78+
For each sub item in Phase 4, file a child issue of Feature #1810.
79+
80+
Use `gh` to look at Epic #1682 and its child issues for the standard of verbosity and concreteness for issue descriptions.
81+
82+
The issue should be assignable to a coding agent and there must be sufficient detail in the description for the agent to proceed to completion.
83+
84+
Pull out the specific relevant content from Phase 3 as it applies to this current issue in Phase 4.
85+
86+
Tell the agent to take `edburns/1810-java-tool-ergonomics-tool-as-lambda` as the base branch. When I assign the issue to the coding agent, I will set this as the base branch.
87+
88+
Tell the agent to read `1810-java-tool-ergonomics-tool-as-lambda-remove-before-merge/1810-ignorance-reduction-for-implementation-plan.md`, which is present on the branch, for context.
89+
90+
Tell the agent which sub-item within Phase 4 they are solving.
91+
92+
Tell the agent that each issue will be assigned, resolved and merged to the base branch in the order in which they appear in the plan.
93+
94+
Tell the agent to update the check boxes in their phase in `1810-java-tool-ergonomics-tool-as-lambda-remove-before-merge/1810-ignorance-reduction-for-implementation-plan.md` as they complete their work.
95+
96+
No work is to start until I assign each issue to the coding agent, in turn.
97+
98+
Once you have filed all the issues, update `1810-java-tool-ergonomics-tool-as-lambda-remove-before-merge/1810-ignorance-reduction-for-implementation-plan.md` Phase 4 with progress checkboxes the agents can check off as they work.
99+
100+
101+
102+
#### 03 dd-3017826-java-real-estate-demo-remove-before-merge
103+
104+
Read `dd-3017826-java-real-estate-demo-remove-before-merge\dd-3017826-java-real-estate-demo-ignorance-reduction-plan.md` (the plan) to get the context.
105+
106+
✅✅Pay very close attention to each **Resolution:** to the questions in `Phase 2 — Ignorance reduction: questions to answer before writing code`.
107+
108+
In this session, we are creating sub-issues as children of https://github.com/edburns/Build26-BRK206-your-agent-anywhere-multiclient-multidevice-with-github-copilot-sdk/issues/2 . These issues correspond to the sub-sections in `## Phase 3 — Implementation (build order)`.
109+
110+
I want you to use `gh` to create issues as sub-issues of #2.
111+
112+
- I will dispatch these issues by assigning them to an agent. Leave them unassigned for now.
113+
114+
- The description you put in the issues you create is the specification for the work the agent assigned to the issue must do. Therefore, you need to be very specific and targeted when writing the description.
115+
116+
- Each issue will be worked on and resolved in serial. You can assume:
117+
118+
- All issues will operate in this topic branch of `origin`: `edburns/2-build-out-demo`.
119+
120+
- The assignee agent has access to the topic branch and, most importantly, to the prompts in the directory `dd-3017826-java-real-estate-demo-remove-before-merge`, which includes the plan. Therefore, you can instruct the agent to access the plan by reference, you don't need to reference it by value directly in the issue.
121+
122+
- The sub-sections of `## Phase 3 — Implementation (build order)` have essential details for each corresponding sub-issue.
123+
124+
- Instruct the agent to read the entire plan before working.
125+
126+
- Instruct the agent to carefully re-read the relevant sections of the of the plan. ❌❌You can't just say, "read the relevant sections of the plan". ✅✅In the description of the issue, list exactly what sections of the plan apply to this particular issue.
127+
128+
- Though the sub-sections of `## Phase 3 — Implementation (build order)` have essential details for each corresponding sub-issue, I want you to carefully consider if there additional gating tests you can add so that as the agent proceeds from one task to the next, the likelihood of rework is reduced.
129+
130+
131+
#### 04 28-python-agent-demo-remove-before-merge
132+
133+
Read `28-python-agent-demo-remove-before-merge/28-python-agent-demo-ignorance-reduction-plan.md` (the plan) to get the context.
134+
135+
✅✅Pay very close attention to each **Resolution:** to the questions in `Phase 2 — Ignorance reduction: questions to answer before writing code`. These pertain to the implementation tasks in Phase 3. ✅✅✅ Make sure to put into the description explicit instructions on how to access the relevant spike research.
136+
137+
In this session, we are creating sub-issues as children of https://github.com/edburns/Build26-BRK206-your-agent-anywhere-multiclient-multidevice-with-github-copilot-sdk/issues/28 . These issues correspond to the sub-sections in `## Phase 3 — Implementation (build order)`.
138+
139+
I want you to use `gh` to create issues as sub-issues of #28
140+
141+
- I will dispatch these issues by assigning them to an agent. Leave them unassigned for now.
142+
143+
- The description you put in the issues you create is the specification for the work the agent assigned to the issue must do. Therefore, you need to be very specific and targeted when writing the description.
144+
145+
- Again, ✅✅For each **Resolution:** to the questions in `Phase 2 — Ignorance reduction: questions to answer before writing code`, include the relevant Resolution values in the issue description. These pertain to the implementation tasks in Phase 3. ✅✅✅ Make sure to put into the description explicit instructions on how to access the relevant spike research for that task.
146+
147+
- For tasks dealing with the UI, make sure to refer to the relevant screengrabs, but only ones within `28-python-agent-demo-remove-before-merge/`.
148+
149+
- Each issue will be worked on and resolved in serial. You can assume:
150+
151+
- All issues will operate in this topic branch of `origin`: `edburns/28-python-agent-demo`.
152+
153+
- The assignee agent has access to the topic branch and, most importantly, to the prompts in the directory `28-python-agent-demo-remove-before-merge/`, which includes the plan. Therefore, you can instruct the agent to access the plan by reference, you don't need to reference it by value directly in the issue.
154+
155+
- The sub-sections of `## Phase 3 — Implementation (build order)` have essential details for each corresponding sub-issue.
156+
157+
- Instruct the agent to read the entire plan before working.
158+
159+
- Instruct the agent to carefully re-read the relevant sections of the of the plan. ❌❌You can't just say, "read the relevant sections of the plan". ✅✅In the description of the issue, list exactly what sections of the plan apply to this particular issue.
160+
161+
- Though the sub-sections of `## Phase 3 — Implementation (build order)` have essential details for each corresponding sub-issue, I want you to carefully consider if there additional gating tests you can add so that as the agent proceeds from one task to the next, the likelihood of rework is reduced.
162+

0 commit comments

Comments
 (0)