shubhamtaywade82/node-agent-skills/node-api-content-negotiation

Claude Code and agent skill by shubhamtaywade82/node-agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when clients send Accept, Content-Type, language, encoding, or representation preferences.

Install

npx vskill@latest install shubhamtaywade82/node-agent-skills/node-api-content-negotiation

SKILL.md

The same SKILL.md was published earlier as shubhamtaywade82/node-agent-skills/node-api-content-negotiation.

API Content Negotiation

Purpose

designing HTTP APIs that negotiate representations without ambiguous behavior.

Activate when

  • clients send Accept, Content-Type, language, encoding, or representation preferences.
  • The change crosses a runtime, filesystem, HTTP, authorization, or observability boundary.

Repository inspection

  1. Detect Node.js/TypeScript version, framework, package manager, test/build/CI commands, and deployment model.
  2. Locate the authoritative implementation and neighboring tests/configuration.
  3. Identify trust boundaries, resource ownership, and operational telemetry.
  4. Confirm exact dependency/runtime versions before using version-specific mechanics.

Decision rules

server-supported formats are explicit; unsupported or ambiguous representations have deterministic responses; security policy is independent of negotiated format

  • Prefer explicit policies and bounded resources over framework defaults.
  • Preserve security, data integrity, and public contracts.
  • Separate runtime evidence from assumptions.

Implementation procedure

  1. Inventory supported media types.
  2. Define precedence.
  3. Emit Content-Type/Vary correctly.
  4. Reject unsupported bodies.
  5. Test Accept wildcards and quality weights.

Failure modes

Avoid:

  • returning a default representation that violates client constraints; forgetting Vary; parsing a body under the wrong media type.
  • Unbounded resource creation, logging, or network activity.
  • Security decisions based only on client-controlled metadata.

Verification

  1. Add a failing regression/contract test first.
  2. Exercise boundary, failure, security, and cleanup cases relevant to the change.
  3. Run focused tests and the full repository gates.
  4. Review the final diff, generated/configuration changes, and residual risk.
  5. Report exactly what was verified and what remains unverified.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shubhamtaywade82/node-agent-skills/node-api-content-negotiation/badge)](https://verified-skill.com/skills/shubhamtaywade82/node-agent-skills/node-api-content-negotiation)

Something wrong with this skill or its page? Tell us.