@doki-land/nifty-skills 0.1.3 → 0.1.5

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 CHANGED
@@ -1,52 +1,30 @@
1
- # `@doki-land/nifty-skills`
1
+ # @doki-land/nifty-skills
2
2
 
3
- [Agent Skills](https://agentskills.io/specification) for [**Nifty**](https://www.npmjs.com/package/@doki-land/nifty) —
4
- gitmoji commit conventions, hybrid Cargo + npm release workflows, and gix-backed git history tools.
3
+ [Agent Skills](https://agentskills.io/specification) that teach coding agents how to run [**Nifty**](https://www.npmjs.com/package/@doki-land/nifty) — gitmoji lint, hybrid bumps, publish/trust, formatting, and git history tooling. This package is documentation only; install `@doki-land/nifty` for the CLI and native bindings.
5
4
 
6
- This package is **docs-only**. It teaches agents how to invoke the published `nifty` CLI. It does not replace
7
- `@doki-land/nifty` or its native bindings.
8
-
9
- ## Install
10
-
11
- Install one skill into a project (requires Node.js 18+):
12
-
13
- ```bash
14
- npx skills add @doki-land/nifty-skills --skill nifty -y
15
- ```
16
-
17
- List available skills or install globally:
18
-
19
- ```bash
20
- npx skills add @doki-land/nifty-skills --list
21
- npx skills add @doki-land/nifty-skills --skill nifty-release -y -g
22
- ```
5
+ Product overview: [npm-tools readme](https://github.com/oovm/npm-tools#readme).
23
6
 
24
7
  ## Skills
25
8
 
26
- | Skill | Load when |
27
- |---------------------|----------------------------------------------------------------------------|
28
- | `nifty` | User mentions Nifty tooling, hybrid monorepos, or you need the command map |
29
- | `nifty-commit` | Gitmoji commit lint, subject format, `nifty lint` / `nifty check` |
30
- | `nifty-release` | `nifty bump`, `publish`, `trust`, `upload`, `change-logs`, CI release |
31
- | `nifty-git-history` | `nifty commit`, `nifty retime`, object-layer history apply |
9
+ | Skill | Load when |
10
+ | --- | --- |
11
+ | `nifty` | Command map, workspace layout, when to delegate to sub-skills |
12
+ | `nifty-commit` | Gitmoji subject/body rules, `nifty lint`, `nifty check` |
13
+ | `nifty-release` | `nifty bump`, `publish`, `trust`, `upload`, `change-logs` |
14
+ | `nifty-git-history` | `nifty commit`, `nifty retime`, object-layer history apply |
32
15
 
33
- ## Prerequisites
16
+ ## Example
34
17
 
35
- Consumers need the CLI:
18
+ Install the overview skill into a consumer project:
36
19
 
37
20
  ```bash
38
- npm install @doki-land/nifty
39
- nifty --help
21
+ npx skills add @doki-land/nifty-skills --skill nifty -y
40
22
  ```
41
23
 
42
- Monorepo authors can use `pnpm exec nifty` after `pnpm install` in [npm-tools](https://github.com/oovm/npm-tools).
24
+ Example agent prompt after install:
43
25
 
44
- ## Links
45
-
46
- - [npm package](https://www.npmjs.com/package/@doki-land/nifty-skills)
47
- - [Nifty CLI](https://www.npmjs.com/package/@doki-land/nifty)
48
- - [Source](https://github.com/oovm/npm-tools/tree/dev/projects/packages/nifty-skills)
49
-
50
- ## License
26
+ ```text
27
+ Audit gitmoji commits from v0.1.2 to HEAD with nifty check, then draft a release changelog.
28
+ ```
51
29
 
52
- [MPL-2.0](https://www.npmjs.com/package/@doki-land/nifty-skills?activeTab=code)
30
+ Requires `@doki-land/nifty` on the PATH (`nifty --help`).
package/package.json CHANGED
@@ -1,33 +1,26 @@
1
1
  {
2
- "name": "@doki-land/nifty-skills",
3
- "version": "0.1.3",
2
+ "bugs": {
3
+ "url": "https://github.com/oovm/npm-tools/issues"
4
+ },
4
5
  "description": "Agent Skills for Nifty gitmoji commits, npm release, and git history tooling",
5
- "type": "module",
6
- "license": "MPL-2.0",
7
6
  "files": [
8
7
  "skills",
9
8
  "README.md"
10
9
  ],
10
+ "homepage": "https://github.com/oovm/npm-tools/tree/dev/projects/packages/nifty-skills#readme",
11
+ "license": "MPL-2.0",
12
+ "name": "@doki-land/nifty-skills",
11
13
  "publishConfig": {
12
14
  "access": "public"
13
15
  },
14
16
  "repository": {
17
+ "directory": "projects/packages/nifty-skills",
15
18
  "type": "git",
16
- "url": "git+https://github.com/oovm/npm-tools.git",
17
- "directory": "projects/packages/nifty-skills"
18
- },
19
- "homepage": "https://github.com/oovm/npm-tools/tree/dev/projects/packages/nifty-skills#readme",
20
- "bugs": {
21
- "url": "https://github.com/oovm/npm-tools/issues"
19
+ "url": "git+https://github.com/oovm/npm-tools.git"
22
20
  },
23
21
  "scripts": {
24
22
  "typecheck": "node -e \"console.log('docs-only skill package')\""
25
23
  },
26
- "optionalDependencies": {
27
- "@doki-land/nifty-win32-x64": "0.1.3",
28
- "@doki-land/nifty-linux-x64": "0.1.3",
29
- "@doki-land/nifty-linux-arm64": "0.1.3",
30
- "@doki-land/nifty-darwin-arm64": "0.1.3",
31
- "@doki-land/nifty-darwin-x64": "0.1.3"
32
- }
24
+ "type": "module",
25
+ "version": "0.1.5"
33
26
  }
@@ -50,7 +50,7 @@ Global flag: `-C, --cwd <dir>`.
50
50
  ```text
51
51
  projects/crates/ # Rust libraries + nifty-napi
52
52
  projects/packages/ # @doki-land/nifty + platform @doki-land/nifty-*
53
- scripts/ci/ # publish-npm.mjs, nifty.mjs
53
+ scripts/ci/ # bind-publish-tag.mjs, require-ci-success.mjs, nifty.mjs
54
54
  ```
55
55
 
56
56
  Do **not** confuse npm-tools `legion` / Valkyrie with Nifty. Nifty is independent Node-API + TypeScript CLI tooling.
@@ -79,9 +79,9 @@ GitHub Actions OIDC can publish on the next tag. `nifty trust` uses `publish.pac
79
79
  Local auth: `NPM_TOKEN`, `--npm-token`, `--otp`, or `--totp-secret` (see `nifty publish --help`). Trust uses the
80
80
  registry API with bearer token from `NPM_TOKEN` or `~/.npmrc`. Add OTP/TOTP on 2FA accounts when the registry asks.
81
81
 
82
- **npm-tools CI**: tag `vX.Y.Z` triggers `.github/workflows/publish-npm.yml` → `scripts/ci/publish-npm.mjs` (OIDC, no
83
- long-lived token in YAML). Native `.node` files ship as `@doki-land/nifty-*` optional packages, not GitHub Release
84
- assets.
82
+ **npm-tools CI**: tag `vX.Y.Z` triggers `.github/workflows/publish-npm.yml`. The workflow stages native artifacts into
83
+ the platform packages and then runs `nifty publish` (OIDC, no long-lived token in YAML). Native `.node` files ship as
84
+ `@doki-land/nifty-*` optional packages, not GitHub Release assets.
85
85
 
86
86
  ## Reference changelogs
87
87