newrelic-cli-deployments

New Relic deployments sub-skill. Used to record, list, or automate deployment tagging in New Relic APM and to associate releases with performance changes. For setup and routing, use the parent skill newrelic-cli-skills.

Last repository push
GitHub Stars
212
Forks
664
Issues / PRs
21

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "newrelic-cli-deployments" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b81943b29d1bf50d09f9b9f3276e2a44711556fb1e34011cea28c40357e49f9a. Verify the upstream source and version against https://github.com/Kilo-Org/kilo-marketplace before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

New Relic deployments sub-skill. Used to record, list, or automate deployment tagging in New Relic APM and to associate releases with performance changes. For setup and routing, use the parent skill newrelic-cli-skills.

0 Downloads

Introduction source: third_party · Kilo-Org · 0.0.1 Reference

SkillPi interpretation

Tasks
This subskill should be used when recording, listing, or automating New Relic APM deployment markers and correlating releases with performance changes. Use the parent newrelic-cli-skills skill for setup and routing.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "newrelic-cli-deployments"
description: "This subskill should be used when recording, listing, or automating New Relic APM deployment markers and correlating releases with performance changes. Use the parent newrelic-cli-skills skill for setup and routing."
metadata:
  category: observability
  source:
    repository: "https://github.com/vince-winkintel/newrelic-cli-skills"
    path: "deployments"
    license_path: "LICENSE"

Deployment Markers

Record deployment events in New Relic so you can correlate releases with performance changes.


Record a Deployment

newrelic apm deployment create \
  --applicationId <APP_ID> \
  --revision "v1.2.3" \
  --description "Brief description of what changed" \
  --user "deploy-bot"

Required

  • --applicationId — numeric APM application ID
  • --revision — version string (e.g. git SHA, semver, MR number)

Optional

  • --description — what changed (show in NR UI on charts)
  • --user — who/what deployed
  • --changelog — detailed change notes

Get Application ID

newrelic entity search --name "my-app" --type APPLICATION --domain APM | \
  jq '.[] | {name, applicationId}'

List Recent Deployments

newrelic apm deployment list --applicationId <APP_ID>

GitLab/GitHub CI Integration

Add to your CI pipeline after a successful deploy:

#!/bin/bash
# deploy-marker.sh
APP_ID="${NEW_RELIC_APP_ID}"
REVISION="${CI_COMMIT_SHORT_SHA:-$(git rev-parse --short HEAD)}"
DESCRIPTION="${CI_COMMIT_TITLE:-Deployment}"
USER="${GITLAB_USER_LOGIN:-ci-bot}"

newrelic apm deployment create \
  --applicationId "$APP_ID" \
  --revision "$REVISION" \
  --description "$DESCRIPTION" \
  --user "$USER"

Why Deployment Markers Matter

After recording a deployment, the New Relic UI places a vertical line on all APM charts at that timestamp. This makes it immediately obvious if:

  • Response times increased after a deploy
  • Error rates spiked post-release
  • Throughput dropped unexpectedly

You can also query them via NRQL:

SELECT *
FROM Deployment
WHERE appId = <APP_ID>
SINCE 1 week ago

Automation: Mark on Every Merge

Script to call from a post-merge webhook or CI step:

#!/bin/bash
# Usage: ./deployment-marker.sh <app_id> <revision> <description>
set -euo pipefail

APP_ID="${1:?app_id required}"
REVISION="${2:?revision required}"
DESCRIPTION="${3:-Automated deployment}"

newrelic apm deployment create \
  --applicationId "$APP_ID" \
  --revision "$REVISION" \
  --description "$DESCRIPTION" \
  --user "ci-bot"

echo "Deployment marker recorded: $REVISION → app $APP_ID"

Version history

  1. skills-20261103210927-6c1b454 GitHub ↗
    Original release notes

    Automated skills release from commit 6c1b4543cac1d45a80bf5904e4b69ac315117323

  2. skills-20260928190452-ff51758 GitHub ↗
    Original release notes

    Automated skills release from commit ff51758b06b8249007116184096765d47bdb7505

  3. skills-20260924105536-d31110d GitHub ↗
    Original release notes

    Automated skills release from commit d31110d62dc0bd00c22f1d6f6a630d1e702a0049

  4. skills-20260923085113-cea285e GitHub ↗
    Original release notes

    Automated skills release from commit cea285ef0e4d6ec47cd2fd9fdbca03813a3363c7

  5. skills-20260922193956-97d7333 GitHub ↗
    Original release notes

    Automated skills release from commit 97d7333d8200e5ac556c659c8669f3a83ba10866

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 New Relic APM 部署标记的记录、查询和自动化能力,解决部署与性能关联的实际痛点
  • 适用于 DevOps、运维和开发者等广泛受众,具有明确的实用价值
Trigger Precision90/100

Highlights

  • 触发描述精准完整,明确说明用于记录、列出或自动化 New Relic APM 部署标记
  • 边界清晰,不易与其他 Skill 混淆
Structure and Standards90/100

Highlights

  • 文档结构清晰,分步骤说明各项功能,包含多个端到端示例
  • frontmatter 完整,单文件长度适中,易于理解
Execution Reliability85/100

Highlights

  • 所有命令基于官方 newrelic CLI,参数说明完整
  • 提供了错误处理良好的自动化脚本,覆盖主要使用场景
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.