elliot-stack 1.0.33 → 1.0.36
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/estack-prompt-builder-coach/SKILL.md +2 -2
- package/skills/estack-prompt-builder-coach/definition-of-done-generator.md +1 -1
- package/skills/estack-prompt-builder-coach/prompt-builder.md +1 -1
- package/skills/estack-prompt-builder-coach/vague-ask-auditor.md +1 -1
- package/skills/estack-repo-search/SKILL.md +67 -65
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: estack-prompt-builder-coach
|
|
3
|
-
version: 1.0.
|
|
3
|
+
version: 1.0.5
|
|
4
4
|
description: (prompt-builder-coach) Use whenever you or the user need to write, sharpen, audit, or scope a prompt or work request for an AI agent or model. This is a four-part kit covering shaping a fuzzy idea into a decided goal, building a prompt from scratch, auditing a draft request that feels vague, and defining what "done" looks like when the task is fuzzy. Trigger when the user says "help me write a prompt", "build me a prompt", "audit this prompt", "make this request better", "why is the AI giving me generic output", "I don't know what I want", "I have a rough idea", "what should done look like", or when handing a task to another agent and wanting it to land. Use it even when the user did not say the word "prompt" but is clearly trying to get an AI to do consequential work. Do not use for quick factual lookups or for executing an already well-defined task.
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -71,7 +71,7 @@ A separate file, examples.md, holds annotated examples of strong prompts: thin a
|
|
|
71
71
|
</examples>
|
|
72
72
|
|
|
73
73
|
<output>
|
|
74
|
-
|
|
74
|
+
When a finished prompt or brief is ready, output it in full in chat. Then ask the user: "Would you like me to save this as a file?" Only save if they say yes. When saving, use a descriptive snake_case filename in the current working directory. When the auditor revises a prompt, treat the revision as a new finished brief: output it in chat and ask the same question — do not automatically overwrite or create files.
|
|
75
75
|
</output>
|
|
76
76
|
|
|
77
77
|
<guardrails>
|
|
@@ -23,7 +23,7 @@ This part runs two ways. Standalone: SKILL.md routes the user here because they
|
|
|
23
23
|
|
|
24
24
|
4. Deliver in two forms. A compact version, 2 to 4 sentences, ready to paste at the end of any work brief. An expanded version with the labeled breakdown above, for reference. Both must be specific to the user's actual task, not generic project-management language.
|
|
25
25
|
|
|
26
|
-
5. Confirm and route. Ask: "Does this match what you'd consider done? Anything I should adjust?" If running standalone,
|
|
26
|
+
5. Confirm and route. Ask: "Does this match what you'd consider done? Anything I should adjust?" If running standalone, output the definition of done in full in chat, then ask: "Would you like me to save this as a file?" Only save if they say yes. If running mid-flow from the builder, do not save or ask; carry the confirmed definition of done back to the builder, return to prompt-builder.md, re-read it per SKILL.md Rule 1, and resume the interview using this definition of done as the answer to that field.
|
|
27
27
|
</instructions>
|
|
28
28
|
|
|
29
29
|
<output>
|
|
@@ -20,7 +20,7 @@ You are a work-briefing partner, Part 1 of a four-part prompt kit, the Useful Qu
|
|
|
20
20
|
|
|
21
21
|
4. Assemble the brief. Write it as a single natural-language paragraph or short set of paragraphs, not a labeled form. It should read like something said to a trusted senior colleague in two minutes, and be immediately usable without editing. Aim for the shortest version that is still complete. If you want a concrete reference for the target shape, read examples.md. Then run three checks before delivering: a flashlight check, that the brief names both the center (intent, focus) and the edges (what is out of scope); a vague-word check, replacing "better", "cleaner", "sharper", "strategic", "good" with what they concretely mean here; a mode check, that if the thesis is unresolved the brief asks for thinking or options first, not a finished artifact.
|
|
22
22
|
|
|
23
|
-
5. Confirm,
|
|
23
|
+
5. Confirm, output, and hand off. Show the brief and ask: "Does this capture the work? Anything I got wrong, or anything missing that would change the answer?" Once confirmed, output the finished brief in full in chat, then ask: "Would you like me to save this as a file?" Only save if they say yes. Then hand off to the Vague Ask Auditor per SKILL.md Rule 2. Do not declare the work finished until the audit has run against the brief just built.
|
|
24
24
|
</instructions>
|
|
25
25
|
|
|
26
26
|
<output>
|
|
@@ -17,7 +17,7 @@ This part runs two ways. Standalone: SKILL.md routes the user here because they
|
|
|
17
17
|
|
|
18
18
|
5. Rebuild the prompt, re-reading the builder first. Before producing the corrected version, re-read prompt-builder.md in full. This is SKILL.md Rule 1: you are switching back to the builder's job, so you reload the builder's instructions and assembly method. Do not patch the prompt from memory. Then rebuild the request using the builder's assembly approach, incorporating the user's answers and filling the gaps. Keep the same tone and register as the original; if the original was casual, keep it casual but clear. Do not inflate the request beyond what the task requires.
|
|
19
19
|
|
|
20
|
-
6. Show before and after, then save. Show the original and the rewritten version side by side so the user can see what changed and why.
|
|
20
|
+
6. Show before and after, then ask to save. Show the original and the rewritten version side by side in chat so the user can see what changed and why. Then ask: "Would you like me to save this as a file?" Only save if they say yes — and if so, save the rewritten version as a new file with a descriptive name, not overwriting any original.
|
|
21
21
|
</instructions>
|
|
22
22
|
|
|
23
23
|
<output>
|
|
@@ -1,68 +1,70 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: estack-repo-search
|
|
3
|
-
version: 1.0.
|
|
4
|
-
description: >-
|
|
5
|
-
(repo-search) Clone and search external GitHub repositories to answer questions about their
|
|
6
|
-
code. Use this skill whenever the user references a repo you don't have local
|
|
7
|
-
context for, asks about code in an external project, wants to compare
|
|
8
|
-
implementations across repos, or needs information from a codebase that isn't
|
|
9
|
-
in the current working directory. Also use when the user says things like
|
|
10
|
-
"check how X does it", "look at the source for Y", "search that repo",
|
|
11
|
-
"clone it and find...", or references a GitHub URL. If you're unsure whether
|
|
12
|
-
you have enough context about an external codebase to answer accurately,
|
|
13
|
-
use this skill to clone it and look.
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# Repo Search
|
|
17
|
-
|
|
18
|
-
Search external repositories by cloning them into a persistent sandbox and exploring with subagents.
|
|
19
|
-
|
|
20
|
-
## Available repos
|
|
21
|
-
|
|
22
|
-
```!
|
|
23
|
-
mkdir -p ~/repo-search-storage
|
|
24
|
-
echo "=== Repo Sandbox: ~/repo-search-storage ==="
|
|
25
|
-
echo ""
|
|
26
|
-
found=0
|
|
27
|
-
for dir in ~/repo-search-storage/*/; do
|
|
28
|
-
[ -d "$dir/.git" ] || continue
|
|
29
|
-
found=1
|
|
30
|
-
name=$(basename "$dir")
|
|
31
|
-
url=$(cd "$dir" && git remote get-url origin 2>/dev/null || echo "(no remote)")
|
|
32
|
-
echo "- $name → $url"
|
|
33
|
-
echo " Updating..."
|
|
34
|
-
(cd "$dir" && git pull --ff-only 2>&1) | sed 's/^/ /'
|
|
35
|
-
echo ""
|
|
36
|
-
done
|
|
37
|
-
if [ "$found" -eq 0 ]; then
|
|
38
|
-
echo "(no repos cached yet)"
|
|
39
|
-
fi
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
Present the user with the repos listed above and offer to search any of them or clone a new one.
|
|
43
|
-
|
|
44
|
-
## Finding the correct repo
|
|
45
|
-
|
|
46
|
-
Before cloning, you must have the exact GitHub URL. Follow these rules:
|
|
47
|
-
|
|
48
|
-
- **If the user gave a full GitHub URL** (e.g. `https://github.com/org/repo`), use it directly.
|
|
49
|
-
- **If the user gave only a name** (e.g. "openclaw", "langchain"), use WebSearch to find the correct GitHub repository URL first. Never guess a repo URL — confirm it via search.
|
|
50
|
-
- **Always verify** the search result matches what the user is asking about before cloning. It doesn't hurt to confirm with the user — "I found X repo, is that the one you meant?" — before spending time cloning. Wrong repo = wasted time and misleading answers.
|
|
51
|
-
|
|
52
|
-
## Cloning
|
|
53
|
-
|
|
54
|
-
Once you have a confirmed URL, shallow clone into the sandbox:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
git clone --depth 1 <repo-url> ~/repo-search-storage/<repo-name>
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
## Searching
|
|
61
|
-
|
|
62
|
-
To explore a repo, spawn one or more **Haiku** subagents using the Agent tool with `model: "haiku"` and `subagent_type: "Explore"`. In the prompt, always include the **full absolute path** to the cloned repo (e.g. `C:/Users/2supe/repo-search-storage/gstack`) and tell the subagent to search within that directory. Without this, the subagent won't know where to look.
|
|
63
|
-
|
|
64
|
-
If the question spans multiple areas of the repo, spawn multiple subagents in parallel — each focused on a different aspect — to get answers faster.
|
|
65
|
-
|
|
1
|
+
---
|
|
2
|
+
name: estack-repo-search
|
|
3
|
+
version: 1.0.3
|
|
4
|
+
description: >-
|
|
5
|
+
(repo-search) Clone and search external GitHub repositories to answer questions about their
|
|
6
|
+
code. Use this skill whenever the user references a repo you don't have local
|
|
7
|
+
context for, asks about code in an external project, wants to compare
|
|
8
|
+
implementations across repos, or needs information from a codebase that isn't
|
|
9
|
+
in the current working directory. Also use when the user says things like
|
|
10
|
+
"check how X does it", "look at the source for Y", "search that repo",
|
|
11
|
+
"clone it and find...", or references a GitHub URL. If you're unsure whether
|
|
12
|
+
you have enough context about an external codebase to answer accurately,
|
|
13
|
+
use this skill to clone it and look.
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Repo Search
|
|
17
|
+
|
|
18
|
+
Search external repositories by cloning them into a persistent sandbox and exploring with subagents.
|
|
19
|
+
|
|
20
|
+
## Available repos
|
|
21
|
+
|
|
22
|
+
```!
|
|
23
|
+
mkdir -p ~/repo-search-storage
|
|
24
|
+
echo "=== Repo Sandbox: ~/repo-search-storage ==="
|
|
25
|
+
echo ""
|
|
26
|
+
found=0
|
|
27
|
+
for dir in ~/repo-search-storage/*/; do
|
|
28
|
+
[ -d "$dir/.git" ] || continue
|
|
29
|
+
found=1
|
|
30
|
+
name=$(basename "$dir")
|
|
31
|
+
url=$(cd "$dir" && git remote get-url origin 2>/dev/null || echo "(no remote)")
|
|
32
|
+
echo "- $name → $url"
|
|
33
|
+
echo " Updating..."
|
|
34
|
+
(cd "$dir" && git pull --ff-only 2>&1) | sed 's/^/ /'
|
|
35
|
+
echo ""
|
|
36
|
+
done
|
|
37
|
+
if [ "$found" -eq 0 ]; then
|
|
38
|
+
echo "(no repos cached yet)"
|
|
39
|
+
fi
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Present the user with the repos listed above and offer to search any of them or clone a new one.
|
|
43
|
+
|
|
44
|
+
## Finding the correct repo
|
|
45
|
+
|
|
46
|
+
Before cloning, you must have the exact GitHub URL. Follow these rules:
|
|
47
|
+
|
|
48
|
+
- **If the user gave a full GitHub URL** (e.g. `https://github.com/org/repo`), use it directly.
|
|
49
|
+
- **If the user gave only a name** (e.g. "openclaw", "langchain"), use WebSearch to find the correct GitHub repository URL first. Never guess a repo URL — confirm it via search.
|
|
50
|
+
- **Always verify** the search result matches what the user is asking about before cloning. It doesn't hurt to confirm with the user — "I found X repo, is that the one you meant?" — before spending time cloning. Wrong repo = wasted time and misleading answers.
|
|
51
|
+
|
|
52
|
+
## Cloning
|
|
53
|
+
|
|
54
|
+
Once you have a confirmed URL, shallow clone into the sandbox:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
git clone --depth 1 <repo-url> ~/repo-search-storage/<repo-name>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Searching
|
|
61
|
+
|
|
62
|
+
To explore a repo, spawn one or more **Haiku** subagents using the Agent tool with `model: "haiku"` and `subagent_type: "Explore"`. In the prompt, always include the **full absolute path** to the cloned repo (e.g. `C:/Users/2supe/repo-search-storage/gstack`) and tell the subagent to search within that directory. Without this, the subagent won't know where to look.
|
|
63
|
+
|
|
64
|
+
If the question spans multiple areas of the repo, spawn multiple subagents in parallel — each focused on a different aspect — to get answers faster.
|
|
65
|
+
|
|
66
|
+
**The subagent's job is navigation, not answers.** Use subagent results to identify which files are relevant, then **read those files yourself** with the Read tool before drawing conclusions. Never trust a subagent's summary of code verbatim — always verify by reading the source directly.
|
|
67
|
+
|
|
66
68
|
---
|
|
67
69
|
|
|
68
70
|
## Skill Feedback
|