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-negotiationSKILL.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
- Detect Node.js/TypeScript version, framework, package manager, test/build/CI commands, and deployment model.
- Locate the authoritative implementation and neighboring tests/configuration.
- Identify trust boundaries, resource ownership, and operational telemetry.
- 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
- Inventory supported media types.
- Define precedence.
- Emit Content-Type/Vary correctly.
- Reject unsupported bodies.
- 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
- Add a failing regression/contract test first.
- Exercise boundary, failure, security, and cleanup cases relevant to the change.
- Run focused tests and the full repository gates.
- Review the final diff, generated/configuration changes, and residual risk.
- 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
- SKILL.md in the repositoryCheckingskills/node-api-content-negotiation/SKILL.md
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
[](https://verified-skill.com/skills/shubhamtaywade82/node-agent-skills/node-api-content-negotiation)