@shadowclone/skills 0.0.51 → 0.0.52
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
CHANGED
|
@@ -30,8 +30,8 @@ Write in the user's voice. Before you write, read `~/.agents/voice.md`. If it do
|
|
|
30
30
|
|
|
31
31
|
1. **Find the target.** For a request or an issue, branch from an up-to-date default branch. For an existing pull request, check out its branch and run `git fetch`. Learn whether the branch is part of a stack, and note each pull request's base.
|
|
32
32
|
2. **Read the repository's context.** Read `README.md`, `CONTRIBUTING.md`, `AGENTS.md`, the pull request template, and the repository's skills. Also read the repository note that your user instructions name. From them, learn the check commands, how to get a running environment, how to host images, who may merge, and the merge method.
|
|
33
|
-
3. **Build the change.** Make the smallest complete change, add tests through public interfaces, and run the repository's checks before you push. If the change will become a stack, build it
|
|
34
|
-
4. **Open the pull request ready for review.** Do not use a draft, except for a
|
|
33
|
+
3. **Build the change.** Make the smallest complete change, add tests through public interfaces, and run the repository's checks before you push. If the change will become a stack, build it as a stack from the start (step 9).
|
|
34
|
+
4. **Open the pull request ready for review.** Do not use a draft, except for a stack's tip that waits for a preview check (step 9). Fill the template with the user's pull request skill. Add reviewers only when the user names them or the repository rule says so. Repository auto-assignment is fine. Write no attribution, tool names, or "generated with" lines anywhere.
|
|
35
35
|
Every commit message is the subject (and an optional body) with no `Co-Authored-By`, `Generated with`, or other attribution trailer. This overrides any default that adds one; check each message before you commit.
|
|
36
36
|
5. **Drive CI to green.** Repeat until a full pass changes nothing:
|
|
37
37
|
1. **Sync.** Run `git fetch`. Integrate remote commits before you push. If the base moved or the branch conflicts, restack with the stack tool in a stack, or merge the base outside a stack.
|
|
@@ -43,10 +43,13 @@ Write in the user's voice. Before you write, read `~/.agents/voice.md`. If it do
|
|
|
43
43
|
- It gives a verdict with no evidence, or a verdict that contradicts its evidence.
|
|
44
44
|
- It stops before it exercises each behavior.
|
|
45
45
|
|
|
46
|
-
Give it the pull request, the head SHA, the environment, each behavior to exercise, the expected result, and one failure path. Use the
|
|
46
|
+
Give it the branch or the pull request, the head SHA, the environment, each behavior to exercise, the expected result, and one failure path. Use the environments that the repository's context names, in its order. First use an environment that runs your branch before a pull request exists, such as a development environment that is quick to set up. Use a preview of the pull request only when that environment is not ready or cannot run the behavior. If the context names no environment, verify with `verify-and-review` on the surface that the user uses, and say so. The verifier does not push. If it finds a defect, fix it, push, and verify again. A check on a mock or a local harness is not verification; label it.
|
|
47
47
|
7. **Add the evidence.** Put the verifier's results in the description section that the user's pull request skill names. Give each behavior, its result, and a session link or a screenshot from the running environment. Host images by the method that the repository's context names. Show only passing results; fix a failure first.
|
|
48
48
|
8. **Decide or stop.** Stop only for a decision that belongs to the user: design, architecture, scope, a destructive step, or data exposure. Make every other decision yourself. End each report with "Decisions to acknowledge", one line for each, and repeat the list until the user acknowledges it.
|
|
49
|
-
9. **Stacks.**
|
|
49
|
+
9. **Stacks.** Build the stack from the start. Create each branch on the one below it with the stack tool.
|
|
50
|
+
- If an environment can run a branch before a pull request exists, verify the tip branch there. The tip holds every lower change. Then push and open each pull request, ready for review.
|
|
51
|
+
- If only a pull request preview can run the change, open the tip pull request as a draft, verify it, then open the lower ones. Use `split-to-prs` for this route.
|
|
52
|
+
- Check that the tip's tree equals the verified tree. Keep the evidence on the tip, and link it from each lower pull request.
|
|
50
53
|
10. **Merge.** Merge only when all of these hold:
|
|
51
54
|
- The user's instructions allow agent merges.
|
|
52
55
|
- You created the pull request, or the user named it.
|