janpereira-dev/ngautopilot/angular-upgrades-security-angular-v22-service-worker-sensitive-header-gate
Claude Code and agent skill by janpereira-dev/ngautopilot
- community
Checking that the SKILL.md file is still in the repository.
Review service worker redirects, referrer policy, and sensitive headers across origins. For Angular 22 projects and 21-to-22 upgrade planning.
Install
npx vskill@latest install janpereira-dev/ngautopilot/angular-upgrades-security-angular-v22-service-worker-sensitive-header-gateSKILL.md
The same SKILL.md was published earlier as janpereira-dev/ngautopilot/angular-upgrades-security-angular-v22-service-worker-sensitive-header-gate.
Angular v22 Service Worker Sensitive Header Gate
Purpose
Review service worker redirects, referrer policy, and sensitive headers across origins.
Keep the work concern-first: this skill handles one risk area and does not replace the Angular 21 to 22 hop orchestrator.
When to Use
- The task is to review service worker redirects, referrer policy, and sensitive headers across origins.
- The project is on Angular 22 or planning the Angular 22 hop.
- A narrower concern-first skill is better than a generic v22 baseline skill.
Do Not Use When
- The project version is unknown and the compatibility router has not run.
- The task is unrelated to this risk area.
- The user only needs a general Angular explanation.
Why This Matters
Angular 22 changes security behavior enough that agents need a narrow checklist instead of a generic v22 bucket. The goal is to make the risk visible, testable, and reviewable.
Inputs Expected
- package.json
- lockfile
- Angular version evidence
- angular.json or workspace config
- tsconfig files
- available build/test/lint scripts
- dynamic bindings
- sanitizer usage
- iframe/script usage
- service worker config
Version Scope
Angular 22.x and later where this Angular 22 behavior is relevant.
Procedure
- Inspect the inputs and confirm the risk is present.
- Verify API claims against the detected Angular version, local type declarations, and bundled evidence. Record missing evidence as unverified. External citations are for reviewer follow-up.
- Make the smallest targeted change or produce a concrete audit result.
- Route adjacent concerns to their own satellite instead of expanding scope.
- Record validation commands and unresolved follow-ups.
Do
- Verify Angular version and feature status before changing code.
- Prefer the smallest reversible change that resolves this specific risk.
- Keep upgrade, modernization, testing, and education responsibilities separate.
- Capture commands, warnings, and unresolved risks in the final report.
Do Not
- Do not invent APIs, versions, commands, or dependency requirements.
- Do not treat roadmap or experimental APIs as stable unless official Angular sources say so.
- Do not hide failed validation or convert blockers into vague follow-ups.
- Do not broaden this satellite into a cross-domain refactor.
Validation Checklist
- Run only validation commands that exist in the target repository.
- Run TypeScript/template compilation or production build when the change affects Angular code.
- Run unit tests for affected behavior when a test script exists.
- Run lint if the repository exposes a lint script.
- Run SSR/prerender/smoke validation when the target app uses SSR or hydration.
Review Checklist
- [ ] Version evidence is recorded.
- [ ] Local or bundled evidence supports the claim, or the claim is marked unverified.
- [ ] The selected change is scoped to this skill.
- [ ] Adjacent risks are routed to separate skills.
- [ ] Validation outcome is PASS, FAIL, or SKIPPED with reason.
Exit Criteria
- The risk is resolved, explicitly not applicable, or blocked with evidence.
- The change is narrow enough for a focused review.
- Validation results are documented.
Risks and Failure Modes
- Using a v22 API without verifying project compatibility.
- Turning a targeted satellite into a broad refactor.
- Missing runtime-only behavior when compile checks pass.
Examples
- Use this skill to review
service workerin an Angular 22 migration. - Do not use it to perform the entire 21-to-22 dependency hop.
Expected Output
- A short summary of the inspected risk.
- Files or configuration areas reviewed.
- Changes made or a clear no-change decision.
- Validation commands and results.
- Remaining risks or follow-up skills, if any.
References
- Angular v22 announcement: https://blog.angular.dev/announcing-angular-v22-c52bb83a4664
- Angular roadmap: https://angular.dev/roadmap
- Angular changelog: https://github.com/angular/angular/blob/main/CHANGELOG.md
- NgAutoPilot versioning gates: skills/angular/versioning/angular-version-gates/SKILL.md
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/ngautopilot-angular/skills/angular--upgrades--security--angular-v22-service-worker-sensitive-header-gate/SKILL.md
Popularity
- Repository npm downloads, 7 days
- 114
- 7-day trend score
- 0
Downloads are for the repository's npm package. Refreshed 22 Nov 2026, 9 days ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/janpereira-dev/ngautopilot/angular-upgrades-security-angular-v22-service-worker-sensitive-header-gate)