hana-developer-cli-tool-example changelog-json.instructions.md

Instructions for maintaining a project's CHANGELOG.json file. A changelog is a record of changes made in each released version.

In plain words
What is it for?
Use it when adding or editing release entries while preserving the required fields, ordering, capitalization, and concise change descriptions.
Why use it?
It prevents invalid JSON, inconsistent formatting, incorrect release ordering, and mismatches with the generated Markdown changelog.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/sap-samples/hana-developer-cli-tool-example/changelog-json
Clone the repo
git clone --depth 1 https://github.com/SAP-samples/hana-developer-cli-tool-example

Made for: GitHub Copilot.

Per session 621 This file is loaded in full into every session.
When invoked 621 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00621 $0.00621
Opus 5 $0.00311 $0.00311
Sonnet 5 $0.00124 $0.00124
Haiku 4.5 $0.00062 $0.00062

Measured 2d ago against content hash 9b84204f2f39, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hana-developer-cli-tool-example changelog-json.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/instructions/changelog-json.instructions.md · 99 lines

How it starts

The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CHANGELOG.json Update Guidelines

Use this guide whenever editing CHANGELOG.json.

Scope and Source of Truth

  • This file applies only to CHANGELOG.json.
  • The canonical history source is CHANGELOG.json.
  • CHANGELOG.md is generated from CHANGELOG.json by scripts/CHANGELOG.js.

Required JSON Structure

CHANGELOG.json must remain a valid JSON array of release objects.

Each release object must use this exact field set and order:

  1. date
  2. version
  3. Changed

Example shape:

{
  "date": "2026-02-16",
  "version": "4.202602.0",
  "Changed": [
    "Update dependency X",
    "Improve behavior Y"
  ]
}

Formatting Rules

  • Keep strict JSON (double quotes, no comments, no trailing commas).
  • Keep the existing indentation/pretty-print style used in the file.
  • Keep Changed key capitalization exactly as Changed.
  • Keep Changed as an array of strings.

Ordering Rules

  • Keep entries in reverse chronological order (newest release first).
  • Add new releases at the top of the array.
  • Do not reorder or rewrite historical entries unless explicitly requested.

Content Style Rules

  • Write concise, factual change statements.
  • Keep one distinct change per string entry.
  • Preserve existing tone: practical release-note language, not marketing copy.
  • Include links (issues, PRs, docs) only when relevant and known.
  • Avoid placeholders like "TBD" or unverifiable claims.

Field Conventions

date

  • Required format: YYYY-MM-DD.
  • Use the release date, not implementation start date.

version

  • Follow existing project version patterns already present in the file.
  • Keep exact string format used historically (for example 4.202602.0).

Changed

  • Use non-empty strings only.
  • Prefer complete statements that can stand alone in generated markdown.
  • Keep each item specific enough to be useful to end users.

Safety and Compatibility Checks

Before finalizing edits:

  • JSON parses successfully.
  • New entry is at top (if adding a release).
  • Field names and field order are correct.
  • Changed contains only strings.
  • Existing historical entries were not unintentionally modified.
  • Content is consistent with actual implemented changes.

Read the full file on GitHub · 99 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 99 lines · 621 tokens per session scan A 9b84204f2f39

Subscribe to this mod's changes

hana-developer-cli-tool-example changelog-json.instructions.md is an instructions file published in the GitHub repository SAP-samples/hana-developer-cli-tool-example (109 stars, last pushed 7d ago), licensed Apache-2.0. It adds 621 tokens to every session, about $0.0031 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories