Skip to content

feat(skills): migrate to canonical names with deprecated aliases#6

Merged
davidmytton merged 2 commits into
mainfrom
arcjet-rei/skills-canonical-names
Apr 30, 2026
Merged

feat(skills): migrate to canonical names with deprecated aliases#6
davidmytton merged 2 commits into
mainfrom
arcjet-rei/skills-canonical-names

Conversation

@arcjet-rei
Copy link
Copy Markdown
Contributor

Summary

Renames the plugin's skills to match the canonical names used by arcjet/skills, in preparation for the Arcjet CLI 1.0.0 release.

The two former names (protect-route, add-ai-protection) are kept as deprecated alias stubs so existing prompts, saved transcripts, and project-local references keep working. Invoking either alias tells the user the canonical replacement and then proceeds with the canonical workflow.

Canonical skills

Skill Replaces
/arcjet:add-request-protection protect-route and the HTTP slice of add-ai-protection
/arcjet:add-guard-protection (unchanged — same name in canonical)

Deprecated aliases (kept, emit deprecation diagnostic)

Alias Replacement
/arcjet:protect-route /arcjet:add-request-protection
/arcjet:add-ai-protection /arcjet:add-request-protection (HTTP) or /arcjet:add-guard-protection (non-HTTP)

Other changes

  • skills/add-guard-protection/ synced with canonical content, including refreshed references/javascript.md and references/python.md.
  • README: lists canonical skills, links arcjet/skills as source of truth, documents CLI install methods (npx, Homebrew, install script, GitHub Releases archive), and drops the obsolete claim that arcjet skills install writes ARCJET.md into the project.
  • rules/arcjet-cli.mdc: updated CLI guidance to reflect the actual CLI surface (auth + site/key setup + watch + rule CRUD), removing the stale arcjet skills initialize reference.
  • CHANGELOG.md: entry under [Unreleased].

Background

The companion arcjet/skills repo consolidated its agent skills around two canonical names. This PR brings the plugin in line, while preserving backward compatibility via the alias mechanism that the canonical repo also uses (metadata.internal: true deprecation stubs).

Rename plugin skills to match the canonical names in arcjet/skills:

- New skills/add-request-protection/ — canonical HTTP route protection
  skill, replacing protect-route and the HTTP slice of add-ai-protection.
  Includes integrated CLI workflows for auth, site/key setup, decision
  verification (arcjet watch), and remote rule management.
- skills/add-guard-protection/ synced with the canonical version,
  including refreshed references/javascript.md and references/python.md.
- skills/protect-route/ and skills/add-ai-protection/ are now deprecation
  alias stubs (frontmatter metadata.internal: true). Invoking either tells
  the user the canonical replacement and then proceeds with the canonical
  skill, so existing prompts and saved transcripts continue to work.

Also updates README to list canonical skills, link arcjet/skills as the
source of truth, document the CLI install order (npx, brew, install
script, GitHub Releases), and drop the obsolete claim that arcjet skills
install writes ARCJET.md into the project. rules/arcjet-cli.mdc updated
similarly.

Prepares the plugin for the Arcjet CLI 1.0.0 release.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@arcjet-rei arcjet-rei requested a review from davidmytton April 30, 2026 00:40
…irectly

Skill installation is not a use case for the CLI — point users at
`npx skills add arcjet/skills` directly when they need skills outside
the plugin context.
@davidmytton davidmytton added this pull request to the merge queue Apr 30, 2026
Merged via the queue into main with commit 1bcebef Apr 30, 2026
4 checks passed
@davidmytton davidmytton deleted the arcjet-rei/skills-canonical-names branch April 30, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants