npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@logickernel/agileflow

v0.14.1

Published

Automatic semantic versioning and changelog generation based on conventional commits

Readme

AgileFlow icon

AgileFlow

In today's fast-paced software development landscape, maintaining clarity, consistency, and efficiency in the release process is essential. AgileFlow is a streamlined yet powerful versioning system designed for software teams of all sizes and projects of any scale.

AgileFlow enforces Semantic Versioning and integrates seamlessly with your CI/CD pipeline to ensure a structured, efficient, and predictable development lifecycle. All versions are calculated from the main branch's commit history using Conventional Commits, ensuring consistent versioning and release notes. Whether for small projects or large-scale deployments, AgileFlow simplifies versioning and release management.

AgileFlow workflow example diagram

AgileFlow works with your CI/CD engine to automatically create a new version tag every time there's a merge into the main branch. Your existing build and deploy pipelines then trigger on tag creation, creating a clean separation between versioning and release processes. This decoupled architecture means AgileFlow focuses solely on versioning, while your build and deploy workflows remain independent.


Quick Start

Install the tool

npm install -g @logickernel/agileflow

Preview Your Next Version

agileflow

Create a Version Tag

Push to Remote Git Repository:

agileflow push

CD/CI

GitHub Actions:

agileflow github

GitLab CI:

agileflow gitlab

Learn More: Getting Started GuideCLI Reference


CI/CD Integration

AgileFlow uses a two-step decoupled approach:

Step 1: Version Creation (AgileFlow)

Create a workflow that runs AgileFlow when code is merged to main:

GitHub Actions (.github/workflows/version.yml):

name: Version
on:
  push:
    branches: [main]

jobs:
  version:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - uses: actions/setup-node@v4
        with:
          node-version: '20'

      - name: Create version tag
        env:
          AGILEFLOW_TOKEN: ${{ secrets.AGILEFLOW_TOKEN }}
        run: npx @logickernel/agileflow github

GitLab CI (.gitlab-ci.yml):

For a job tagged with agileflow for a GitLab Runner:

include:
  - remote: https://code.logickernel.com/tools/agileflow/-/raw/main/.gitlab-ci.yml

Or manually:

agileflow:
  image: node:20
  script:
    - npm install -g @logickernel/agileflow
    - agileflow gitlab
  rules:
    - if: '$CI_COMMIT_BRANCH == "main"'

Step 2: Build & Deploy (Your Pipelines)

Configure your existing build and deploy pipelines to trigger on tag creation. When AgileFlow creates a version tag (e.g., v1.2.3), your CI/CD platform triggers your release workflow. Use the tag name as the version identifier for your builds and deployments.

Learn More: Installation Guide for detailed setup instructions and examples.

Benefits of Decoupled Architecture

  • Separation of concerns — Versioning is independent from build/deploy
  • Flexibility — Hook any process to tag creation
  • Reusability — Same build pipeline works for any version
  • Simplicity — Each pipeline has a single responsibility

Learn More: Installation GuideConfiguration


Conventional Commits

AgileFlow uses Conventional Commits to automatically determine version bumps and generate release notes. Commit messages follow a structured format that encodes the intent of each change:

type(scope): description

The commit type (feat, fix, perf, etc.) indicates what kind of change was made, while the optional scope identifies the area affected. Breaking changes are marked with ! or a BREAKING CHANGE: footer.

Learn More: Conventional Commits Guide


Release Management

Automatic Versioning

Each merge to main triggers automatic version generation based on commit types. See the Version Calculation table below for details on how versions are bumped in 0.x.x vs 1.0.0+.

New projects start at v0.0.0 and automatically increment based on commits. AgileFlow will keep automatically generating versions as you develop (0.0.1, 0.0.2, 0.1.0, etc.). When your product has reached maturity and you have a stable API ready for production, create version 1.0.0 manually.

Version 1.0.0 — First Stable Release

Version 1.0.0 represents your first stable API and marks the transition from initial development to a stable, production-ready release. This version must be created manually when your team decides the API is stable and ready for production use.

Create it when ready:

git tag -a v1.0.0 -m "First stable release"
git push origin v1.0.0

After 1.0.0, AgileFlow continues automatic versioning with standard semantic versioning rules: features bump minor, fixes bump patch, and breaking changes bump major.

Learn More: Release Management Guide


Version Calculation

AgileFlow analyzes commits since the last version tag to determine the appropriate version bump:

| Commit Type | Example | Changelog | 0.x.x | 1.0.0+ | |-------------|---------|-----------|-------|--------| | Breaking change | feat!: redesign API | Add entry | Minor (0.1.0 → 0.2.0) | Major (1.0.0 → 2.0.0) | | Feature | feat: add login | Add entry | Minor | Minor | | Fix | fix: resolve crash | Add entry | Patch | Patch | | Chore | chore: update dependencies | No entry | No bump | No bump | | Everything else | docs: update README | Add entry | No bump | No bump |


Core Principles

Main Branch Strategy

The main branch is the single source of truth for all releases:

  • Single Version Sequence — All versions created from the same branch
  • Simplified Workflow — No release branches needed
  • Consistent History — All releases share the same commit history
  • Easy Rollbacks — Deploy any previous version tag

Version-Centric Deployments

Every environment runs the same immutable version:

Tag v1.2.3 ──▶ Build ──▶ Staging
                    ──▶ Production
                    ──▶ Any environment

Learn More: Branching StrategyVersion-Centric CI/CD


Documentation

| Guide | Description | |-------|-------------| | Getting Started | Quick start for new users | | Installation | Setup for GitHub Actions and GitLab CI | | CLI Reference | Command-line options and usage | | Configuration | Environment variables and options | | Conventional Commits | Commit message formatting | | Branching Strategy | Development workflow | | Version-Centric CI/CD | Pipeline methodology | | Release Management | Managing releases effectively | | Migration Guide | Transitioning from other approaches | | Best Practices | Recommended patterns | | Troubleshooting | Common issues and solutions |