@ssheleg/sheleg-dev 0.13.0 → 0.13.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## v0.13.2 — setup follows host capabilities
2
+
3
+ Error tracking no longer assumes every non-Claude host lacks MCP or that setup
4
+ works only in Claude Code and Cursor. It checks the active host prerequisites,
5
+ keeps CLI/SDK fallback, and labels the Claude MCP command as host-specific.
6
+ A skills-only installation does not claim to register MCP or hooks.
7
+
8
+ ## v0.13.1 — a payment bug reaches the billing skill
9
+
10
+ The 2026-10-08 family routing audit found that a request opening with the symptom rather
11
+ than the vendor — «баг в оплате», "payment bug", or plain «оплата» — loaded no skill.
12
+ `stripe-billing` was written for someone who already knew the word Stripe: its
13
+ description led with "connecting a product to Stripe" and its only payment phrase was
14
+ «оплата подпиской».
15
+
16
+ - **`stripe-billing` now names "payment bug", «баг в оплате» and «оплата» in its first
17
+ sentence**, ahead of the point where harness listings truncate a description. Room
18
+ was made by tightening wording, not by dropping a trigger: every routed trigger the
19
+ umbrella's table holds for this skill is still advertised. 959 → 965 characters,
20
+ inside the 970 working limit.
21
+ - **The trigger corpus gains `q15` and `q16`** («баг в оплате: после оплаты подписка не
22
+ активируется», "Payment bug: customers are charged twice for one Stripe checkout"),
23
+ one per split. They are data for the next measured run, not a result.
24
+
25
+ Bare «оплата» is broad, and the near-miss negatives already in the corpus (`q09` «нарисуй
26
+ экран оплаты», `q11` Telegram Stars) are the cases a measured run should watch: the
27
+ first is the visual layer's, the second telegram-dev's.
28
+
1
29
  ## v0.13.0 — the gate exists on one surface, and every skill now says so
2
30
 
3
31
  This pack ships a `PreToolUse` money gate (`hooks/money-gate.js`) that refuses a refund,
package/README.md CHANGED
@@ -12,6 +12,10 @@
12
12
  npx skills add ssheleg/sheleg-dev
13
13
  ```
14
14
 
15
+ For error-tracking setup, check the host's shell, network, install permissions
16
+ and available integrations. The skill's CLI/SDK route is not restricted to
17
+ Claude Code or Cursor; a skills-only install does not register MCP or hooks.
18
+
15
19
  Ask: `Wire Stripe subscriptions so access follows verified webhook state exactly once.`
16
20
 
17
21
  **[Detailed docs →](https://skills.sshlg.me/skills/sheleg-dev/)**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ssheleg/sheleg-dev",
3
- "version": "0.13.0",
3
+ "version": "0.13.2",
4
4
  "description": "Seven integration skills for the layer a product reaches once it has users: Stripe subscription billing and cancellation retention, crypto payments, ad and conversion tracking under Consent Mode v2, Google sign-in and the wider Google auth surface, error tracking, and Core Web Vitals. This package is the installer CLI.",
5
5
  "bin": {
6
6
  "sheleg-dev": "bin/sheleg-dev.js"
@@ -3,7 +3,7 @@
3
3
  "name": "sheleg-dev",
4
4
  "displayName": "Sheleg Dev",
5
5
  "description": "The integration layer a product needs once it has users: Stripe subscription billing reconciled into your own database, crypto payments that survive over-payment and duplicate webhooks, ad and conversion tracking under Consent Mode v2, Google sign-in with the account-linking guards, the wider Google auth surface, and Core Web Vitals work that moves the score, and Sentry error tracking wired so it does not forward your own credentials to a third party and so a stack trace names the commit that caused it.",
6
- "version": "0.13.0",
6
+ "version": "0.13.2",
7
7
  "author": {
8
8
  "name": "ssheleg",
9
9
  "url": "https://x.com/sshlg93"
@@ -257,10 +257,12 @@ cover the shape where a job stops running.
257
257
 
258
258
  ## Degradation
259
259
 
260
- - **Not Claude Code** (Cursor, Codex, skills CLI, the API container): no MCP, no
261
- `/command`. Everything here is CLI and SDK, both of which work anywhere with a
262
- shell — except the API container, which has no network and no package install,
263
- so treat this skill as Claude Code and Cursor only for the setup half.
260
+ - **Host capabilities vary:** check the current client's shell, network,
261
+ package-install permissions, MCP and skill invocation support. Do not infer
262
+ their absence from a non-Claude host name. Use the CLI/SDK route when its
263
+ prerequisites exist; in a restricted container, name the unavailable step
264
+ and prepare the configuration without claiming setup ran. A skills-only
265
+ install does not register plugin commands, MCP servers or hooks.
264
266
  - **`sentry` CLI absent**: say so once, then use the REST API directly with a
265
267
  token (`curl https://sentry.io/api/0/…`), or the web UI for the one-off. Do
266
268
  not loop on the missing binary.
@@ -137,6 +137,10 @@ gateway must reject the mismatch and the flow cannot complete.
137
137
  claude mcp add --transport http sentry https://mcp.sentry.dev/mcp/<org>/<project>
138
138
  ```
139
139
 
140
+ That command is for Claude Code. Other clients use their own supported MCP
141
+ configuration and OAuth flow; inspect the current host's instructions instead
142
+ of executing a Claude command there. If MCP is unavailable, use the CLI route.
143
+
140
144
  Scoping is optional and narrows what the server sees:
141
145
  `…/mcp`, `…/mcp/<org>`, `…/mcp/<org>/<project>`. Narrow it.
142
146
 
@@ -1,20 +1,21 @@
1
1
  ---
2
2
  name: stripe-billing
3
3
  description: >-
4
- Use when connecting a product to Stripe, or auditing a live integration:
5
- checkout, renewals, seats, proration, refunds, cancellation and the
6
- coupon offered at the cancel step, the portal, and the webhook that
7
- turns a payment into an entitlement in your database. Covers Stripe's
8
- agent toolchain, the pinned API version and SDK retries, price
9
- resolution, claim-first webhook idempotency, what invoice
4
+ Use when connecting a product to Stripe, fixing a payment bug
5
+ ("баг в оплате", "оплата"), or auditing a live integration: checkout,
6
+ renewals, seats, proration, refunds, cancellation and the cancel-step
7
+ coupon, the portal, and the webhook that turns a payment into an
8
+ entitlement. Covers Stripe's agent toolchain, the pinned API version, SDK
9
+ retries, price resolution, claim-first webhook idempotency, what
10
10
  billing_reason decides, cumulative refunds, the cancellation field
11
- flexible billing_mode moved, retention eligibility Stripe cannot
12
- express, and write ordering with compensating reverts. Triggers - "add
13
- Stripe", "Stripe checkout", "subscription billing", "webhook signature",
14
- "invoice.paid", "proration", "refund", "cancel subscription", "retention
15
- coupon", "подключить Stripe", "оплата подпиской", "вебхук Stripe",
16
- "скидка при отмене", "биллинг подписок". Not for choosing between Stripe products
17
- (stripe-best-practices) or reading Stripe docs (stripe-docs).
11
+ flexible billing_mode moved, retention eligibility Stripe cannot express,
12
+ and write ordering with compensating reverts. Triggers - "add Stripe",
13
+ "Stripe checkout", "subscription billing", "webhook signature",
14
+ "invoice.paid", "proration", "refund", "cancel subscription",
15
+ "retention coupon", "подключить Stripe", "оплата подпиской",
16
+ "вебхук Stripe", "скидка при отмене", "биллинг подписок". Not for choosing
17
+ between Stripe products (stripe-best-practices) or reading Stripe docs
18
+ (stripe-docs).
18
19
  license: MIT
19
20
  ---
20
21