This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
A Claude Code plugin marketplace (ivlad-plugins) containing plugins for observability and DevOps. Currently ships one plugin: newrelic-observability.
.claude-plugin/marketplace.json # Marketplace registry — lists all plugins with metadata
<plugin-name>/ # Each plugin is a self-contained directory
.claude-plugin/plugin.json # Plugin manifest (name, version, keywords)
commands/*.md # Slash commands (frontmatter + instructions)
skills/*/SKILL.md # Skills (auto-activated by keyword triggers)
agents/*.md # Subagent definitions
README.md # Plugin-specific docs
- Create a new directory at the repo root with the plugin name.
- Add
.claude-plugin/plugin.jsonwith name, description, version, author, category, and keywords. - Register it in the top-level
.claude-plugin/marketplace.jsonunder thepluginsarray. - Add commands, skills, and/or agents as
.mdfiles following the existing patterns. - Update the root
README.mdwith installation instructions.
- Commands (
commands/*.md): Frontmatter withdescription, body contains step-by-step instructions for Claude to follow when the slash command is invoked. - Skills (
skills/*/SKILL.md): Frontmatter withnameanddescription(including trigger keywords). Body contains full operational instructions, API patterns, and workflows. - Agents (
agents/*.md): Frontmatter withdescription. Body defines the agent's persona, protocol, and output format.
- All New Relic API calls use
curldirectly — no MCP server, no Python dependencies beyondpython3 -m json.toolfor formatting. - Requires
NEW_RELIC_API_KEYandNEW_RELIC_ACCOUNT_IDenvironment variables. - Uses two API surfaces: NerdGraph GraphQL (
api.newrelic.com/graphql) and REST v2 (api.newrelic.com/v2/). - EU region uses
api.eu.newrelic.com/graphql.