@xynogen/pix-skills 0.6.0 → 0.6.1
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/clone.md +3 -3
- package/src/index.ts +1 -1
package/package.json
CHANGED
package/skills/clone.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: clone
|
|
3
|
-
description:
|
|
3
|
+
description: Temporarily clone an external git repository into /tmp/clones for read-only exploration. Use only when the user's goal is to inspect or analyze a repository; do not use for working copies or requested destinations.
|
|
4
4
|
disable-model-invocation: true
|
|
5
5
|
---
|
|
6
|
-
#
|
|
6
|
+
# Temporary Repository Exploration
|
|
7
7
|
|
|
8
8
|
## Below are what agent MUST do
|
|
9
9
|
|
|
10
|
+
- **FIT CHECK**: Use only for temporary, read-only exploration. Do not use when the user asks to clone "here," specifies a destination, needs a persistent working copy, or intends to modify the repository. A git URL or the word "clone" alone is not sufficient.
|
|
10
11
|
- **AUTO-RUN**: Run terminal commands proactively without confirmation unless explicit input required.
|
|
11
|
-
- **AUTO-INVOKE**: Trigger automatically when user message contains git URL, repo shorthand (`owner/repo`), or phrases like "clone", "look at this repo", "explore", "analyze this project", "check out <url>".
|
|
12
12
|
- **INPUT**: Accept git URL (https, ssh, or `github.com/owner/repo` / `owner/repo` shorthand). Normalize shorthand → `https://github.com/owner/repo`.
|
|
13
13
|
- **TARGET**: Derive repo name from URL (strip `.git`). Clone dest: `/tmp/clones/<repo-name>`.
|
|
14
14
|
- **IDEMPOTENT**: `/tmp/clones/<repo-name>` exists + is git repo → `cd` in, `git fetch --all --prune`, report current branch/HEAD instead of re-cloning. Path exists but NOT git repo → abort with error.
|
package/src/index.ts
CHANGED
|
@@ -412,7 +412,7 @@ function registerSkillLoader(pi: ExtensionAPI): void {
|
|
|
412
412
|
"Browse skills and access conventional bundle resources. References can be read into context; scripts/assets must be copied to a project-relative output path before use.",
|
|
413
413
|
promptSnippet: "Browse and load bundled skill instructions",
|
|
414
414
|
promptGuidelines: [
|
|
415
|
-
"
|
|
415
|
+
"Load a skill only when it clearly fits the user's intent, never by keyword alone, and do not reload skills already read this session.",
|
|
416
416
|
],
|
|
417
417
|
executionMode: "sequential",
|
|
418
418
|
parameters: ParamsSchema,
|