Commit Graph

22 Commits

Author SHA1 Message Date
Ricardo Gonzalez 7f60d3237d [create-a-backend-skill] creating a skill for backends on vercel (#147)
* Add create-a-backend skill

* Refine create-a-backend metadata

* feedback

* db and ws

* Update skills/create-a-backend/SKILL.md

Co-authored-by: Yury Selivanov <yury@vercel.com>

* fixes

* front + back pair

* minor uptick

* docker and queues

* Sync telemetry with plugin version

* combinations

* combinations v2

* + flask

---------

Co-authored-by: Yury Selivanov <yury@vercel.com>
2026-08-20 12:47:45 -07:00
MelkeyDev 11c3258878 [Plugin] adding harness detection and install session ID (#136)
* adding plugin telemetry

* adding kimi and grok detection logic

* upticking version

* fixing headers

* adding harness calls

* fixing installing-id

* fixing detect agent logic to include more

* fixing await to not block other calls
2026-08-12 14:43:51 -07:00
Ricardo Gonzalez 12d077072a [services] Add Vercel Services skill (#134)
* Add Vercel Services skill

* Prepare Services skill release; bump to 0.47.0

* Reframe Services skill around coupled-components use case

Lead with when Services is the right call (tightly coupled frontend +
backend in one project) and its concrete benefits: skew protection,
synced previews, atomic deploys and rollbacks, private bindings. The
separate-projects escape hatch is now about independent deploy cadence.

Drop framework pinning from examples, add /api namespace-split guidance
(SPA vs frameworks with their own API routes), prefix stripping via
service-scoped rewrite, SPA catch-all to /index.html, and a subdomain
section with the preview-environment caveat.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Make :path prefix capture optional so bare /api matches

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Warn against destination.path instead of teaching it

The proxy only reads destination.service when dispatching into a
service; the path field is compiled and validated but never consumed
at request time.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Spell out the private-by-default rule for services

No top-level rewrite means a service is unreachable from the public
internet and only accessible through bindings; adding a rewrite makes
it public regardless of bindings.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Drop frontend from the backend+vercel prompt signal group

Review feedback: the frontend term made the group miss backend-led
phrasings. The wider [backend, vercel] group can reach the threshold
with anyOf hits, which we accept for now.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Rework retrieval intents and examples

Intents: one line per job the skill teaches, anchored by domain
vocabulary (services, binding, rewrites, vercel.json) rather than
product-name prefixes, and covering the private-by-default, subdomain,
and prefix-stripping content added in this PR.

Examples: verbatim-style prompts carrying stack names (FastAPI, Vite,
Express, Go) and symptom phrasings, which is what the lowest-weight
retrieval field is for.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Remove 'frontend' option from skill manifest

Removed 'frontend' from the 'anyOf' array in skill manifest.

* Drop frontend from anyOf in skill source, not just the manifest

The manifest is generated from SKILL.md, so removing the term only
from generated/skill-manifest.json left the two out of sync and
failed the manifest check.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 11:19:15 -07:00
MelkeyDev 1e821f3087 [Plugin] Adds a new skill for deployment protection (#130)
* Adding new deployment protection skill

* bumping plugin versoin

* fixing token access preview

* fixing skill to have header and request header
2026-07-31 15:18:55 -07:00
Jathin Pranav Singaraju c9b1d8ff93 [marketplace] fix skill shadowed by command + discover-first routing (#107)
* feat(marketplace): discover-first commerce routing + provisioning guidance

Make the model reliably reach for the Marketplace when an app needs an
external service, instead of hardcoding a provider from memory.

- knowledge-update (always-injected at session start): add a discover-first
  directive — load the `marketplace` skill, then discover + provision a real
  integration BEFORE planning/writing code/asking.
- marketplace SKILL.md: broaden the description (commerce/payments/etc. as the
  catch-all for capabilities without a dedicated skill); restructure into
  discover -> install -> build with an anti-mock/anti-punt rule; add a
  Recommendations section keyed on the product-catalog test (commerce vs
  payments), with no hardcoded providers (discover names them).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(marketplace): remove command that shadowed the skill; tighten routing

The `marketplace` skill and `/marketplace` command shared a name, so the
command shadowed the skill — Skill(vercel:marketplace) loaded the command's
runbook instead, and the skill's routing guidance never reached the model.

Remove the command (marketplace is skill-only, like the other capabilities)
so the skill loads, and tighten routing: discover-first flow, a preferred-
provider table (commerce -> Shopify, payments -> Stripe), and a slimmer
knowledge-update that points at the skill.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore(release): patch-bump plugin manifests to 0.45.1

Backwards-compatible fix (marketplace skill routing); bump the version in
all three shipped manifests (.claude-plugin, .cursor-plugin, .plugin).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 12:18:42 -07:00
MelkeyDev 375ea4c515 Adding Eve Skill (#104)
* adding eve skill

* fixing generated skills
2026-06-29 09:53:03 -07:00
Tim White b73bc95636 feat: add microfrontends skill (#97)
* feat: add microfrontends skill

Adds the `microfrontends` skill (SKILL.md + 6 reference docs covering
configuration, path-routing, local development, management, security,
and troubleshooting) for building, configuring, and deploying
microfrontends on Vercel.

Triggering covers the common entry points:
- pathPatterns: microfrontends.json / apps/*/microfrontends.json
- bashPatterns: `vercel microfrontends` / `vercel mf`, and
  npm/pnpm/bun/yarn install of @vercel/microfrontends
- importPatterns: @vercel/microfrontends

Regenerates generated/skill-manifest.json and generated/skill-catalog.md
(now 27 skills) and updates the vercel.md ecosystem graph.

Rebased onto current main as a single signed commit (supersedes #35).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* docs(microfrontends): trim reference boilerplate

Lowest-risk size reduction with no loss of factual content:
- Remove Table-of-Contents blocks from local-development, managing-
  microfrontends, and troubleshooting references. No other skill's
  reference files use a ToC (0 of 51 repo-wide) — these were the only
  outliers; removal aligns with house convention. Section anchors are
  unaffected, so in-doc links still resolve.
- Tighten security.md: dedupe repeated "verified only by…" prose and
  collapse repeated full URLs. All 13 original links preserved.

Net: -64 lines across 4 reference files. References are loaded on demand
(grep), not part of the injected SKILL.md budget, so this is a read-cost
and maintainability win, not an injection-size change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: bump version for all providers; bump to 0.44.0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: update telemetry version assertions to 0.44.0

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 08:21:42 +01:00
MelkeyDev 1edb125d13 Adding new active session telemetry (#83) 2026-05-15 20:51:00 -07:00
Julia Shi e6cbaf4d1d Add Vercel metrics CLI guidance 2026-05-07 00:19:10 +01:00
melkeydev 16aaf2d68d upticking version number 2026-04-30 11:14:18 -07:00
melkeydev a2c094f036 Adding back telemetry for vercel plugin 2026-04-28 11:34:42 -07:00
melkeydev d917dca26c reverting to rename 2026-04-12 13:57:04 -07:00
melkeydev aa13859ab0 uptick version 2026-04-10 12:39:14 -07:00
MelkeyDev e30174330a Merge branch 'main' into uptick-version-0.32.5 2026-04-10 07:49:54 -07:00
melkeydev 0b19919486 finishing uptick merge conflict 2026-04-10 07:49:17 -07:00
melkeydev 1e254b83ea upticking the version 2026-04-10 07:47:23 -07:00
melkeydev 6f4e7dc177 uptick version 2026-04-09 16:31:00 -07:00
melkeydev c5a5db08a9 changing 2026-04-09 16:19:24 -07:00
melkeydev 83e958a07a removing vercel labs to vercel 2026-04-09 16:17:47 -07:00
melkeydev 86b6ad8155 Adding .claude-code 2026-04-09 15:39:30 -07:00
John Lindquist 8e24d0694a feat: add chainTo skill chaining, prompt signals, validation upgrades, and dedup reset on context clear
Add a chainTo frontmatter field to skills that triggers follow-up skill injection
when PostToolUse file contents match regex patterns. Add upgradeToSkill/upgradeWhy
fields to validation rules so validate errors can recommend loading a specific skill.
Register posttooluse-bash-chain.mjs in hooks.json. Add ChainToRule interface to
patterns.mts and skill-map-frontmatter.mts, with parseChainToRules() parser. Add
duplicate-key detection to the YAML parser. Reset dedup claim dir and session file
on clear/compact events in session-start-seen-skills so skills re-inject into fresh
context windows.

Add chainTo rules to: agent-browser-verify, agent-browser, ai-elements, ai-gateway,
ai-generation-persistence, ai-sdk, auth, bootstrap, chat-sdk, cms, cron-jobs,
deployments-cicd, email, env-vars, geist, investigation-mode, json-render,
marketplace, micro, ncc, next-forge, nextjs, observability, payments,
react-best-practices, routing-middleware, runtime-cache, satori, shadcn,
sign-in-with-vercel, swr, turbopack, turborepo, v0-dev, vercel-agent, vercel-api,
vercel-cli, vercel-firewall, vercel-flags, vercel-functions, vercel-queues,
vercel-sandbox, vercel-storage, verification, workflow. Add upgradeToSkill to
ai-elements and ai-sdk validate rules. Expand ai-sdk validate messages with
Run Skill() hints. Update nextjs, vercel-storage, runtime-cache, workflow, turborepo
skill bodies.

Add new skills: geistdocs (Geist design system docs), zzz-test-meta-name-mask
(test fixture). Add skills/_chain-audit.md chain coverage audit doc.

Delete .claude-plugin/marketplace.json, .claude-plugin/plugin.json (deprecated),
skills/edge-runtime/SKILL.md (consolidated into vercel-functions).

Add tests: posttooluse-chain.test.ts (4699 lines, chain injection e2e),
ai-sdk-companion.test.ts (181 lines). Expand build-skill-map.test.ts (+335 lines),
validate-rules.test.ts (+936 lines), session-start-seen-skills.test.ts (+74 lines),
skill-map-frontmatter.test.ts (+50 lines), verification-skill.test.ts (+20 lines).

Update build-manifest.ts to emit chainTo rules and upgradeToSkill fields. Rebuild
generated/skill-manifest.json, generated/skill-catalog.md, generated/build-from-skills.manifest.json.
Rebuild all compiled hooks/*.mjs. Update CLAUDE.md lexical prompt default to on.
Update vercel.md ecosystem graph, docs, and cli-reference.
2026-03-11 15:18:35 -06:00
John Lindquist 905ffba7fa feat: add lexical stemmer, prompt signal scoring, docs, and plugin metadata
- Add stemmer and shared contractions modules for lexical prompt matching
- Enhance lexical index and prompt patterns with stemming support
- Add promptSignals metadata to all 43 skill frontmatter files
- Add comprehensive documentation site (docs/)
- Add .claude-plugin marketplace and plugin metadata
- Add benchmark scenarios script
- Update skill manifest with prompt signal data
- Add lexical-index and stemmer tests, expand prompt-patterns tests
2026-03-10 03:24:38 -06:00