@sitar_fiercer4c/skills 0.1.0 → 0.1.3
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/README.md +29 -6
- package/package.json +1 -1
- package/skills/convo-only/SKILL.md +27 -0
- package/skills/skillify/SKILL.md +74 -0
- package/skills/using-git-worktrees/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,14 @@ Installing the package copies every skill into the `.claude/skills` directory of
|
|
|
8
8
|
|
|
9
9
|
You need an npm account that has been added as a collaborator on this private package.
|
|
10
10
|
|
|
11
|
+
npm 12 and later block dependency install scripts unless the project allows them. Add this to the project's `package.json` before installing:
|
|
12
|
+
|
|
13
|
+
```json
|
|
14
|
+
"allowScripts": { "@sitar_fiercer4c/skills": true }
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Use this name-only entry rather than `npm install-scripts approve`. By default that command pins the entry to the installed version (`@sitar_fiercer4c/skills@0.1.0`), which blocks the copy again after the next release. npm 11 ignores the field.
|
|
18
|
+
|
|
11
19
|
```sh
|
|
12
20
|
npm login # or add a read-only token to .npmrc (see below)
|
|
13
21
|
npm install -D @sitar_fiercer4c/skills
|
|
@@ -23,7 +31,7 @@ For CI, add this to the project's `.npmrc` and set `NPM_TOKEN` to a read-only to
|
|
|
23
31
|
|
|
24
32
|
### If install scripts are disabled
|
|
25
33
|
|
|
26
|
-
With `--ignore-scripts`, pnpm, or bun, the postinstall copy
|
|
34
|
+
With `--ignore-scripts`, npm 12+ without the `allowScripts` entry, pnpm, or bun, the postinstall copy doesn't run. Copy the skills manually from the project root:
|
|
27
35
|
|
|
28
36
|
```sh
|
|
29
37
|
npx @sitar_fiercer4c/skills
|
|
@@ -50,6 +58,7 @@ npm skips the copy when the installed version is unchanged. To restore the skill
|
|
|
50
58
|
- backend-code-review
|
|
51
59
|
- be-brief
|
|
52
60
|
- clarke-list-excel
|
|
61
|
+
- convo-only
|
|
53
62
|
- datalab-api
|
|
54
63
|
- find-test-seam
|
|
55
64
|
- frontend-code-review
|
|
@@ -65,11 +74,25 @@ npm skips the copy when the installed version is unchanged. To restore the skill
|
|
|
65
74
|
|
|
66
75
|
Each skill lives in `skills/<name>/` with a `SKILL.md`. `evals/` folders are kept in the repo but excluded from the published package.
|
|
67
76
|
|
|
68
|
-
|
|
77
|
+
### Using the skills in this repo
|
|
78
|
+
|
|
79
|
+
`npm install` can't add the package to this repo, because npm refuses to install a package into a project with the same name. Instead, copy the skills from your working copy into this repo's `.claude/skills` (gitignored) by running this from the repo root:
|
|
69
80
|
|
|
70
81
|
```sh
|
|
71
|
-
|
|
72
|
-
npm version patch
|
|
73
|
-
npm publish
|
|
74
|
-
git push --follow-tags
|
|
82
|
+
node bin/install.js
|
|
75
83
|
```
|
|
84
|
+
|
|
85
|
+
Run the same command to refresh the copies after editing anything under `skills/`. Unlike the published package, this copy also brings in any `evals/` folders. Reload skills in Claude Code (`/reload-skills`) or start a new session to pick up the changes.
|
|
86
|
+
|
|
87
|
+
## Releasing
|
|
88
|
+
|
|
89
|
+
Releases are automatic. When a PR that changes `skills/`, `bin/` or `package.json` merges into `main`, the [Publish workflow](.github/workflows/publish.yml):
|
|
90
|
+
|
|
91
|
+
1. Picks the version: the version in `package.json` if it has no `v<version>` tag yet, otherwise the next patch.
|
|
92
|
+
2. Packs the package and checks that installing it copies every skill into `.claude/skills`.
|
|
93
|
+
3. Pushes the version commit and `v<version>` tag to `main`.
|
|
94
|
+
4. Publishes to npm using trusted publishing (no npm token in the repo).
|
|
95
|
+
|
|
96
|
+
For a minor or major release, set the new version in `package.json` in your PR. To check the workflow without publishing, run it manually from the Actions tab with **dry run** checked.
|
|
97
|
+
|
|
98
|
+
Trusted publishing is configured on npmjs.com under the package's Settings → Trusted Publisher (GitHub Actions, repository `thenextepisode-stealth/skills`, workflow `publish.yml`).
|
package/package.json
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: convo-only
|
|
3
|
+
description: User invoked. Keep the session to conversation only, with brief answers and no file writes or edits.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Intent
|
|
7
|
+
User wants to talk something through, not change anything. Understand, discuss and problem solve in chat only. Be brief in your replies.
|
|
8
|
+
|
|
9
|
+
## Be brief
|
|
10
|
+
To make an answer brief, write it as a 30-60 word sentence. For technical things, use 10-15 word bullet points.
|
|
11
|
+
### User tech stack
|
|
12
|
+
#### Good proficiency
|
|
13
|
+
Python, SQL, Linux, relational database, NoSQL database, System design, data flow, ETL pipeline
|
|
14
|
+
#### Medium proficiency
|
|
15
|
+
Spark, Java, Bash, Infrastructure as Code, AWS, Claude code, CLI
|
|
16
|
+
#### Bad proficiency
|
|
17
|
+
Frontend, Full stack, JavaScript, Node, NPM, Vercel, Render
|
|
18
|
+
|
|
19
|
+
# Rules
|
|
20
|
+
Stay in this mode for the rest of the session, until the user explicitly says to write or edit files.
|
|
21
|
+
|
|
22
|
+
- Do not create, write, edit, move or delete files. This includes notes, plans, scratch files and memory files.
|
|
23
|
+
- Do not install anything
|
|
24
|
+
- Reading files and running read-only commands to answer a question is fine.
|
|
25
|
+
- Do not call ExitPlanMode or ask to leave plan mode. In auto mode, still do not write or edit files.
|
|
26
|
+
- If a code change is the answer, describe it or show a short snippet in chat. Don't apply it.
|
|
27
|
+
- If the user's request seems to need a file change, ask whether they want to leave convo-only mode first.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: skillify
|
|
3
|
+
description: User invoked. Creates a new skill in skills/ from the fixed Goal, Steps, Constraints, Allowed template.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Skillify
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Write a new skill to `skills/<name>/SKILL.md` at the repo root, using the fixed template below, then
|
|
11
|
+
print the whole file in chat for the user to review. One skill per run, created from what the user
|
|
12
|
+
asks for in conversation.
|
|
13
|
+
|
|
14
|
+
## Steps
|
|
15
|
+
|
|
16
|
+
1. Ask the user what the new skill does and when it runs. Collect its trigger, its output, its
|
|
17
|
+
limits, and whether it is user invoked.
|
|
18
|
+
2. Create `skills/<name>/SKILL.md` with the four sections in their fixed order. Derive the kebab-case
|
|
19
|
+
name from what the skill does, without asking.
|
|
20
|
+
3. Write the one-line description, starting with `User invoked.` or `Model invoked.`. Default to user
|
|
21
|
+
invoked, and carry trigger words when the model invokes it.
|
|
22
|
+
4. Write the Goal as one sentence of thirty to sixty words. Name the finished output and the exact
|
|
23
|
+
path or place it lands.
|
|
24
|
+
5. Write the Steps as an ordered list of actions. Start each with an action verb, then two sentences:
|
|
25
|
+
what, then how.
|
|
26
|
+
6. Write the Constraints and Allowed bullets, one short line for each rule. State what must never
|
|
27
|
+
happen, then what the skill may freely do.
|
|
28
|
+
7. Print the whole SKILL.md in chat once the file is written. Ask the user to review it and say what
|
|
29
|
+
to change.
|
|
30
|
+
|
|
31
|
+
## Constraints
|
|
32
|
+
|
|
33
|
+
- Use only the sections Goal, Steps, Constraints and Allowed, in that order.
|
|
34
|
+
- Keep frontmatter to `name` and `description`.
|
|
35
|
+
- Keep the description to one line, opening with `User invoked.` or `Model invoked.`.
|
|
36
|
+
- Start every step with an action verb, never a vague one.
|
|
37
|
+
- Keep each step to two sentences of ten to fifteen words: what, then how.
|
|
38
|
+
- Keep the first draft of a new skill under thirty lines.
|
|
39
|
+
- Never overwrite or edit an existing skill.
|
|
40
|
+
- Never invent steps or rules the user did not give; ask instead.
|
|
41
|
+
|
|
42
|
+
## Allowed
|
|
43
|
+
|
|
44
|
+
- Read any skill under `skills/` for reference.
|
|
45
|
+
- Create the folder `skills/<name>/` and the file `SKILL.md` inside it.
|
|
46
|
+
- Ask the user brief questions when the purpose, steps or limits are unclear.
|
|
47
|
+
- Suggest wording for any section, as long as the user confirms it.
|
|
48
|
+
|
|
49
|
+
## Template
|
|
50
|
+
|
|
51
|
+
````markdown
|
|
52
|
+
---
|
|
53
|
+
name: <kebab-case-name>
|
|
54
|
+
description: <User invoked.|Model invoked.> <What it does>, for <trigger words>.
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
# <Title>
|
|
58
|
+
|
|
59
|
+
## Goal
|
|
60
|
+
|
|
61
|
+
<One sentence of thirty to sixty words: what a finished run produces and where it lands.>
|
|
62
|
+
|
|
63
|
+
## Steps
|
|
64
|
+
|
|
65
|
+
1. <Action verb first. Two sentences of ten to fifteen words: what, then how.>
|
|
66
|
+
|
|
67
|
+
## Constraints
|
|
68
|
+
|
|
69
|
+
- <One line each: what must never happen, or scope limits.>
|
|
70
|
+
|
|
71
|
+
## Allowed
|
|
72
|
+
|
|
73
|
+
- <One line each: anything the skill is explicitly permitted to do.>
|
|
74
|
+
````
|
|
@@ -154,7 +154,7 @@ Ready to implement <feature-name>
|
|
|
154
154
|
| Directory not ignored | Add to .gitignore + commit |
|
|
155
155
|
| Permission error on create | Sandbox fallback, work in place |
|
|
156
156
|
| Tests fail during baseline | Report failures + ask |
|
|
157
|
-
| No package.json
|
|
157
|
+
| No package.json, Cargo.toml, requirements.txt, pyproject.toml or go.mod | Skip dependency install |
|
|
158
158
|
|
|
159
159
|
## Common Rationalizations
|
|
160
160
|
|