Changelog

From masharratt/claude-flow-novice · View interactive version

Changelog is an AI agent skill from the GitHub repository masharratt/claude-flow-novice. Systematically track implementation changes with sparse, structured entries appended to project changelog. Enables quick visibility into what changed, when, and why without verbose commit-style messag

How to use this skill

Skill file

CFN Changelog Management Skill

Purpose

Systematically track implementation changes with sparse, structured entries appended to project changelog. Enables quick visibility into what changed, when, and why without verbose commit-style messages.

Problem Solved

Traditional changelogs require manual curation and often become stale or inconsistent. Agents completing features, fixing bugs, or making architectural changes need a lightweight way to document impact without context-switching to git commits or detailed documentation.

When to Use

✅ REQUIRED Usage Scenarios

⚠️ OPTIONAL Usage Scenarios

❌ DO NOT USE For

Interface

Primary Script: `add-changelog-entry.sh`

Required Parameters:

Optional Parameters:

Usage:

$HOME/.claude/skills/cfn-project-management/lib/changelog/add-changelog-entry.sh \
  --type "feature" \
  --summary "Add backlog management skill for deferred work tracking" \
  --impact "Agents can now systematically capture deferred items with structured metadata instead of losing context in chat history" \
  --files ".claude/skills/cfn-project-management/lib/backlog/SKILL.md,readme/BACKLOG.md"

Output Location

All entries appended to: readme/CHANGELOG.md

Changelog File Structure

# Claude Flow Novice Changelog

## [Unreleased]

### Features
- Add backlog management skill (2025-10-31)
  - Impact: Systematic deferred work tracking with priority/tag organization
  - Files: `.claude/skills/cfn-backlog-management/`

### Bug Fixes

### Breaking Changes

### Dependencies

### Architecture

### Performance

### Security

---

## [2.11.0] - 2025-10-31

### Features
- Backlog management skill implementation
  - Impact: Centralized tracking of deferred work items
  - Files: `.claude/skills/cfn-backlog-management/add-backlog-item.sh`

...

Entry Types

Feature

New functionality, skills, commands, or capabilities.

--type "feature"
--summary "Implement Redis pub/sub coordination for zero-token waiting"
--impact "Agents block on BLPOP instead of polling, eliminating API calls during wait cycles"

Bug Fix

Defect resolution, error handling improvements.

--type "bugfix"
--summary "Fix race condition in Loop 3 confidence collection"
--impact "Orchestrator now uses synchronous temp file capture instead of polling Redis keys"
--issue "BUG-10"

Breaking Change

Incompatible changes requiring user/agent migration.

--type "breaking"
--summary "Rename skill cfn-old-name → cfn-new-name"
--impact "All agent spawn commands must update skill references"
--migration "Run: sed -i 's/cfn-old-name/cfn-new-name/g' .claude/agents/**/*.md"

Dependency

Package updates, version bumps, security patches.

--type "dependency"
--summary "Upgrade redis 5.0.0 → 5.8.3"
--impact "Fixes CVE-2024-1234, adds BLPOP timeout parameter support"

Architecture

Coordination pattern changes, skill refactors, system design updates.

--type "architecture"
--summary "Extract output processing into dedicated skill"
--impact "95% code reuse between Loop 3 and Loop 2 consensus collection"
--files ".claude/skills/cfn-agent-lifecycle/lib/output/README.md"

Performance

Optimizations with measurable impact.

--type "performance"
--summary "Parallel agent spawning with background processes"
--impact "3x speedup for 3-agent coordination (sequential: 15s → parallel: 5s max latency)"

Security

Hardening, vulnerability fixes, audit improvements.

--type "security"
--summary "Add pre-edit backup hook for safe file revert"
--impact "Prevents git conflicts in parallel sessions, 24h backup retention"

Validation Rules

  1. Type validation: Must be one of 7 defined types
  2. Summary length: 10-100 characters (enforces brevity)
  3. Impact required: Cannot be empty (enforces "why it matters")
  4. File limit: Max 5 files (prevents noise)
  5. Version format: Semantic versioning (X.Y.Z)

Sparse Language Guidelines

✅ Good Examples

Summary: "Add Redis coordination skill"
Impact: "Zero-token agent waiting via BLPOP"

Summary: "Fix confidence parsing edge case"
Impact: "Handles percentage format (85%) in addition to decimal (0.85)"

Summary: "Upgrade better-sqlite3 to v12.4.1"
Impact: "Node 22 compatibility, fixes installation errors on WSL2"

❌ Bad Examples (Too Verbose)

Summary: "We have implemented a comprehensive Redis-based coordination system..."
Impact: "This change allows agents to coordinate more efficiently by using a blocking..."

Summary: "Fixed a bug"
Impact: "There was an issue that has been resolved"

Sparse Pattern Rules

Integration Examples

Loop 3 Agent (After Feature Implementation)

# Agent completes feature work
Edit: file_path="src/new-feature.ts" ...

# Document change
$HOME/.claude/skills/cfn-project-management/lib/changelog/add-changelog-entry.sh \
  --type "feature" \
  --summary "JWT authentication middleware" \
  --impact "Stateless auth reduces session storage by 80%" \
  --files "src/middleware/auth.ts,src/types/jwt.ts"

Loop 2 Validator (After Identifying Bug Fix)

# Validator reviews fix
$HOME/.claude/skills/cfn-project-management/lib/changelog/add-changelog-entry.sh \
  --type "bugfix" \
  --summary "Prevent null pointer in Redis connection retry" \
  --impact "Eliminates crashes during Redis unavailability" \
  --issue "BUG-42" \
  --files "src/redis/client.ts"

Product Owner (After Architectural Decision)

# Product Owner approves design change
$HOME/.claude/skills/cfn-project-management/lib/changelog/add-changelog-entry.sh \
  --type "architecture" \
  --summary "Split orchestrator into modular helper scripts" \
  --impact "78% code reduction, improved testability" \
  --files ".claude/skills/cfn-loop-orchestration-v2/lib/orchestrator/src/helpers/"

Versioning Strategy

Auto-Increment (Default)

Script reads current version from package.json, increments patch:

Manual Version (Override)

--version "3.0.0"  # Specify major/minor bump explicitly

Release Workflow

  1. Agents add entries to [Unreleased] section
  2. On release trigger (manual or automated):

Query Interface

Filter by type:

sed -n '/### Features/,/### Bug Fixes/p' readme/CHANGELOG.md

Recent entries (last 10):

grep -A 2 "^- " readme/CHANGELOG.md | head -30

Search by keyword:

grep -i "redis" readme/CHANGELOG.md

Entries for specific version:

sed -n '/## \[2.11.0\]/,/## \[2.10.0\]/p' readme/CHANGELOG.md

Best Practices

  1. Immediate logging: Add entry immediately after completing work, not batched
  2. User perspective: Describe impact from user/agent consumer viewpoint
  3. File references: Include key files for context (not exhaustive list)
  4. Link issues: Reference bug numbers or GitHub issues when applicable
  5. Migration notes: Always include for breaking changes

Anti-Patterns

❌ Verbose commit messages: "This commit implements a new feature that..."

❌ Generic summaries: "Fixed bugs", "Updated code", "Improvements"

❌ Missing impact: "Added function X" (Why does it matter?)

❌ Duplicate entries: Check existing changelog before adding

❌ Version conflicts: Don't manually edit version, use --version flag

Example Entry Lifecycle

Step 1: Agent completes feature

add-changelog-entry.sh \
  --type "feature" \
  --summary "Multi-pattern confidence parsing" \
  --impact "100% extraction success, supports explicit/percentage/qualitative formats"

Result in CHANGELOG.md:

## [Unreleased]

### Features
- Multi-pattern confidence parsing (2025-10-31)
  - Impact: 100% extraction success, supports explicit/percentage/qualitative formats
  - Files: `.claude/skills/cfn-agent-output-processing/parse-confidence.sh`

Step 2: Release triggered

# Manual or automated
npm version minor  # 2.11.0 → 2.12.0

Result:

## [2.12.0] - 2025-11-01

### Features
- Multi-pattern confidence parsing (2025-10-31)
  - Impact: 100% extraction success, supports explicit/percentage/qualitative formats
  - Files: `.claude/skills/cfn-agent-output-processing/parse-confidence.sh`

---

## [Unreleased]

### Features

### Bug Fixes
...

Success Metrics

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.