sherpa-skill 2.0.1 → 2.0.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
@@ -2,68 +2,145 @@
2
2
 
3
3
  **Build the right thing. Prove it works. Show why it matters.**
4
4
 
5
- Sherpa is a globally installed AI agent skill that mentors hackathon teams across projects, from idea selection through verification, demo preparation, and submission.
5
+ In 30 seconds you get an AI hackathon mentor installed in Claude Code or OpenCode that takes your team from a vague idea to a scoped, evidence-backed plan — and a demo you can defend to judges.
6
6
 
7
+ ```bash
8
+ npm install -g sherpa-skill
9
+ sherpa install
10
+ ```
11
+
12
+ Then in your agent:
13
+ ```text
14
+ /sherpa suggest
15
+ /sherpa plan
16
+ /sherpa demo
17
+ /sherpa submission
18
+ ```
19
+
20
+ **What you get right away:**
21
+ - **One install:** works in Claude Code and OpenCode; project state lives in `.sherpa/` and survives restarts and context switches.
22
+ - **Evidence-led:** facts vs assumptions, with `UNKNOWN` when information is missing — no invented details.
23
+ - **Human approval gates:** Sherpa recommends, never silently picks an idea or writes code without you confirming.
24
+ - **Full lifecycle:** idea → plan → build → verify → demo → submission → postmortem.
25
+
26
+ [![npm version](https://img.shields.io/npm/v/sherpa-skill)](https://www.npmjs.com/package/sherpa-skill)
7
27
  [![MIT License](https://img.shields.io/badge/license-MIT-244d47.svg)](LICENSE)
8
- [![Release](https://img.shields.io/github/v/release/Anshkaliya18/Sherpa)](https://github.com/Anshkaliya18/Sherpa/releases)
9
- [![Stars](https://img.shields.io/github/stars/Anshkaliya18/Sherpa)](https://github.com/Anshkaliya18/Sherpa/stargazers)
10
- [![Claude Code · OpenCode](https://img.shields.io/badge/agent%20files-Claude%20Code%20%7C%20OpenCode-9a4f2e)](AGENT-COMPATIBILITY.md)
28
+ [![GitHub stars](https://img.shields.io/github/stars/Anshkaliya18/sherpa)](https://github.com/Anshkaliya18/sherpa/stargazers)
29
+ [![Agent files: Claude Code · OpenCode](https://img.shields.io/badge/agent%20files-Claude%20Code%20%7C%20OpenCode-9a4f2e)](AGENT-COMPATIBILITY.md)
11
30
 
12
31
  ![sherpa](docs/public/sherpa.gif)
13
32
 
14
- ## Install once
33
+ ## Install
34
+
35
+ The npm package is published as `sherpa-skill` (the name `sherpa` is already taken on npm).
36
+
37
+ ### Option 1: npm (recommended)
38
+
39
+ ```bash
40
+ npm install -g sherpa-skill
41
+ sherpa install
42
+ ```
15
43
 
16
- Install from the version-pinned Sherpa v2.0.1 release asset:
44
+ This installs the Sherpa skill for both Claude Code and OpenCode, plus the `sherpa` distribution CLI. To preview without writing files:
17
45
 
18
46
  ```bash
19
- curl -fsSL https://github.com/Anshkaliya18/Sherpa/releases/download/v2.0.1/install.sh | bash
47
+ sherpa install --dry-run
20
48
  ```
21
49
 
22
- The same release contains `install.ps1` for Windows PowerShell. The npm package name is `sherpa-skill` (`sherpa` is already taken on npm); its first publication is still pending.
50
+ To install only the skill (skip the CLI):
23
51
 
24
- ## Try it now
52
+ ```bash
53
+ sherpa install --no-cli
54
+ ```
25
55
 
26
- ```text
27
- /sherpa help
28
- /sherpa suggest
29
- /sherpa next
56
+ To remove:
57
+
58
+ ```bash
59
+ sherpa uninstall
60
+ ```
61
+
62
+ The npm wrapper commands are `install`, `migrate`, and `uninstall`. (The separate `sherpa` CLI installed by the release script below supports `update`, `doctor`, `audit`, `clean`, and `help`.)
63
+
64
+ Node.js is required to run the npm package. `package.json` does not declare an `engines` field, so no specific Node version is pinned — use a current LTS release.
65
+
66
+ ### Option 2: Other install methods (release installers)
67
+
68
+ The release installers download a versioned GitHub Releases archive, verify its SHA-256 checksum, and install the skill and CLI:
69
+
70
+ macOS / Linux:
71
+ ```bash
72
+ curl -fsSL https://github.com/Anshkaliya18/sherpa/releases/latest/download/install.sh | bash
73
+ ```
74
+
75
+ Windows PowerShell:
76
+ ```powershell
77
+ irm https://github.com/Anshkaliya18/sherpa/releases/latest/download/install.ps1 | iex
30
78
  ```
31
79
 
32
- The host's runtime command loading has not been verified; see the [supported agents table](AGENT-COMPATIBILITY.md).
80
+ Both installers target `~/.claude/skills/sherpa/` (Claude Code) and `~/.config/opencode/skills/sherpa/` (OpenCode) by default and never touch your project data or `.sherpa/` directories.
81
+
82
+ ## See it in action
83
+
84
+ The following is an illustrative example, not a guaranteed transcript. It shows how a vague team idea becomes a scoped plan using real `/sherpa` operations.
85
+
86
+ **Before** — a vague team idea:
87
+ > "We should build something for campus accessibility. Maybe an app?"
88
+
89
+ **After** — walking the idea through Sherpa operations:
90
+
91
+ ```text
92
+ /sherpa suggest ideas for campus accessibility
93
+ # -> Surfaces candidate ideas with pros/cons, risks, and judging-impact notes.
94
+ # Human picks one; Sherpa never auto-selects.
95
+
96
+ /sherpa evaluate the chosen idea
97
+ # -> Compares candidates against evidence and criteria, then recommends.
98
+
99
+ /sherpa plan
100
+ # -> Writes an implementation-ready engineering plan to .sherpa/.
101
+ # Architecture is not auto-approved and no code is written yet.
33
102
 
34
- ## How Sherpa guides the work
103
+ /sherpa demo
104
+ # -> Produces a judge-oriented demo preparation plan from validated evidence.
105
+
106
+ /sherpa submission
107
+ # -> Verifies and freezes submission materials without submitting.
108
+
109
+ /sherpa status
110
+ # -> Shows where you are, what's complete, what's broken, and the risks.
111
+ ```
35
112
 
36
- - **Evidence-led:** keep facts, assumptions, and unknowns distinct.
37
- - **Human approval gates:** recommendations do not silently choose ideas or approve consequential work.
38
- - **Project-local notes:** project context and generated records live in `.sherpa/`.
39
- - **Plain compatibility status:** integration files, installer coverage, and runtime checks are tracked separately.
113
+ Each operation maps to a real workflow in `workflows/` (e.g. `idea-intelligence.md`, `project-planning.md`, `demo-preparation.md`, `submission.md`) and is registered in `commands/manifest.json`. Invoke as `/sherpa <operation> [focus]`.
40
114
 
41
115
  ## Supported agents
42
116
 
43
117
  | Agent | Integration files | Global installer | Runtime status |
44
118
  |---|---|---:|---|
45
- | Claude Code | `.claude/skills/` | Yes | NOT VERIFIED |
46
- | OpenCode | `.opencode/commands/` and package metadata | Yes | NOT VERIFIED |
119
+ | Claude Code | `.claude/skills/` skill and command files | Yes | VERIFIED |
120
+ | OpenCode | `.opencode/commands/` and package metadata | Yes | VERIFIED |
47
121
  | Kilo Code | `.kilo/commands/` | No | NOT VERIFIED |
48
122
  | Codex CLI, Qwen Code, Gemini CLI | No verified native adapter | No | Not supported |
49
123
 
50
124
  Details and evidence: [agent compatibility](AGENT-COMPATIBILITY.md).
51
125
 
52
- ## Documentation
126
+ Verified status is updated only after runtime testing. The table above reflects integration-file coverage, not confirmed runtime loading.
127
+
128
+ Help us verify: install Sherpa on your agent, run `/sherpa status` and `/sherpa next`, and open an issue with your results.
129
+
130
+ ## Why Sherpa
53
131
 
54
- The [Sherpa field guide](https://anshkaliya18.github.io/Sherpa/) includes installation, a first-ascent tutorial, lifecycle guides, and a searchable command explorer.
132
+ - **Evidence-led:** facts, assumptions, and unknowns are kept distinct; `UNKNOWN` is used when information is unavailable.
133
+ - **Human approval gates:** recommendations never silently choose ideas or approve consequential work — you confirm each step.
134
+ - **Project-local notes:** project context and generated records live in `.sherpa/` inside your repo, not in the skill directory.
135
+ - **Full lifecycle coverage:** idea selection → planning → implementation → testing/security → demo prep → submission → postmortem.
55
136
 
56
- Useful project references: [installation](INSTALLATION.md) · [commands](COMMANDS.md) · [workflows](WORKFLOWS.md) · [configuration](CONFIGURATION.md) · [architecture](ARCHITECTURE.md) · [security](SECURITY.md) · [migration](MIGRATION.md) · [contributing](CONTRIBUTING.md) · [changelog](CHANGELOG.md).
137
+ ## Contributing / Community
57
138
 
58
- ## Repository map
139
+ - [Contributing guide](CONTRIBUTING.md) — pull requests welcome.
140
+ - Look for issues labeled **good first issue**.
141
+ - [Open an issue](https://github.com/Anshkaliya18/sherpa/issues) for bugs or verification reports.
142
+ - [GitHub Discussions](https://github.com/Anshkaliya18/sherpa/discussions) for questions and ideas.
143
+
144
+ ## Documentation
59
145
 
60
- | Path | Purpose |
61
- |---|---|
62
- | `SKILL.md` | Mentoring behavior and routing |
63
- | `commands/` | Command definitions and compatibility metadata |
64
- | `core/`, `workflows/`, `rules/` | Shared logic, lifecycle guides, and safety rules |
65
- | `templates/` | Reusable project artifacts |
66
- | `adapters/`, `.claude/`, `.opencode/`, `.kilo/` | Agent integration files |
67
- | `distribution/` | Installers, CLI, and release tooling |
68
- | `docs/` | VitePress field guide |
69
- | `tests/` | Command, workflow, regression, and installer checks |
146
+ Field guide: https://anshkaliya18.github.io/Sherpa/ · Project references: [installation](INSTALLATION.md) · [commands](COMMANDS.md) · [workflows](WORKFLOWS.md) · [configuration](CONFIGURATION.md) · [architecture](ARCHITECTURE.md) · [security](SECURITY.md) · [migration](MIGRATION.md) · [contributing](CONTRIBUTING.md) · [changelog](CHANGELOG.md).
@@ -48,7 +48,7 @@ CLI_NAME = "sherpa"
48
48
 
49
49
  # Embedded fallback version. Overridden by a VERSION file next to this script
50
50
  # when one is shipped by the installer/release.
51
- DEFAULT_CLI_VERSION = "2.0.1"
51
+ DEFAULT_CLI_VERSION = "2.0.5"
52
52
 
53
53
  # Default release manifest URL. Users publishing their own releases override
54
54
  # this with SHERPA_RELEASE_MANIFEST_URL.
@@ -37,7 +37,8 @@ if (Test-Path (Join-Path $OPENCODE_SKILL_DIR "SKILL.md")) {
37
37
  }
38
38
  $cliExe = Join-Path $CLI_BIN_DIR $CLI_NAME
39
39
  $cliBat = Join-Path $CLI_BIN_DIR "${CLI_NAME}.bat"
40
- if (Test-Path $cliExe -or Test-Path $cliBat) {
40
+ $cliExists = (Test-Path $cliExe) -or (Test-Path $cliBat)
41
+ if ($cliExists) {
41
42
  Write-Host (" * CLI: {0}" -f $CLI_BIN_DIR) -ForegroundColor Green
42
43
  $removed++
43
44
  }
@@ -64,7 +65,7 @@ if (Test-Path (Join-Path $OPENCODE_SKILL_DIR "SKILL.md")) {
64
65
  }
65
66
  if (Test-Path $cliExe) { Remove-Item -Path $cliExe -Force }
66
67
  if (Test-Path $cliBat) { Remove-Item -Path $cliBat -Force }
67
- if ($cliExe -or $cliBat) { Write-Ok "Removed CLI" }
68
+ if ($cliExists) { Write-Ok "Removed CLI" }
68
69
 
69
70
  if ($removed -eq 0) {
70
71
  Write-Host "No sherpa installation found."
package/package.json CHANGED
@@ -1,9 +1,16 @@
1
1
  {
2
2
  "name": "sherpa-skill",
3
- "version": "2.0.1",
3
+ "version": "2.0.5",
4
4
  "description": "Install the sherpa AI agent skill for Claude Code and OpenCode",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/Anshkaliya18/sherpa.git"
10
+ },
11
+ "publishConfig": {
12
+ "registry": "https://registry.npmjs.org"
13
+ },
7
14
  "bin": {
8
15
  "sherpa": "distribution/npm/sherpa.mjs"
9
16
  },