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

avtc-pi-feature-flow

v1.0.5

Published

Predictable, deterministic feature development for pi — deep upfront design, configurable comprehensive review and verification rigor, and auto-agents draining a backlog

Readme

avtc-pi-feature-flow

Predictable, deterministic feature development for pi — deep upfront design, configurable comprehensive review and verification rigor, and auto-agents draining a backlog

Features

Feature-flow makes agentic development predictable and deterministic:

  • Deep upfront design — subagents research every nuance during design; all open questions are asked upfront and answers are stored in the design-doc for later stages to build on.
  • Configurable review and verification — set iteration counts per phase (design, plan, code review, verification) and per task; turn them down for simple features, up for complex ones.
  • Two review modes — one general-reviewer subagent, or multiple specialized subagents (guidelines, quality, security, performance, requirements, testing) dispatched in parallel.
  • Multi-model routing — assign different models per stage and per agent name (with glob patterns); optional round-robin rotation diversifies review findings.
  • Todo-driven checklists — reviews and verification run against checklist-driven todo items so nothing is skipped or deferred.
  • Automatic context compaction — configurable compaction triggers between tasks, phases, and review iterations keep long features viable without losing context.
  • Auto-agents — once designs are approved, an auto-agent (started in a separate terminal) works through them sequentially: plan, implement, review each.
  • Kanban board — browser UI tracking features across lanes with locks; auto-agents pull the next approved design off the board.
  • Per-feature git worktrees — each feature gets an isolated branch workspace so parallel agents never collide.

Requirements

Pi 0.80.4 or later must be installed.

Git must be installed separately — needed for per-feature worktrees, review diffs, and TDD guardrails.

Installing via pi install npm:avtc-pi-feature-flow bundles these extensions automatically:

Optional (recommended):

  • avtc-pi-portrait — builds a behavioral portrait from your session corrections, injected into the system prompt
  • avtc-pi-ask-user-question — a question tool for the agent with subagent forwarding and attention alerts
  • avtc-pi-user-decisions — captures decisions, re-injects into the system prompt after compaction and into subagents
  • avtc-pi-notification — bell and Telegram notifications, only fires when you're away

Installation

pi install npm:avtc-pi-feature-flow

Before you start

After installing, open /ff:settings and set:

  • Design doc storagelocal (.ff/, not committed) or committed (docs/ff/, tracked). Default local.
  • Branch policycurrent-branch (pair-program in your repo) or worktree (autonomous, isolated worktree per feature).

Other defaults work out of the box; tune review-loop counts, verification, and model routing as you go.

Usage

Start a feature from the design phase. In a pi session, type the slash command for the design phase:

/skill:ff-design

(pi autocompletes slash commands — typing /design surfaces it.) The agent asks what you want to build, then:

  1. Researches the codebase to ground the design in current state.
  2. Asks clarification questions for each design section.
  3. Runs the design review autonomously (the ff-design-review loop, driven by the extension).
  4. Pauses for your review of the design document before moving on (interactive mode).
  5. Once you approve, the rest runs autonomously: plan → plan review → implementation → verification → code review.
  6. The feature lands in UAT for you to verify before it finishes.

You stay in control at the design gate; everything after is hands-off until UAT.

Tune the pipeline with /ff:settings — a multi-tab modal overlay for implement mode, review-loop counts, per-task review mode, inter-task context compaction, branch policy, and model routing per phase.

The Workflow Pipeline

design → plan → implement → verify → review → (UAT-after-review) → finish → (UAT-after-finish)

Start workflow via /skill:ff-design invoke. Next phase transitions happens automatically, but can be also switched with /skill:.

| Phase | Driver skill | What happens | |-------|-------------|--------------| | design | /skill:ff-design | Explores intent + requirements, produces a design document ({design dir}/{slug}-design.md, per the design-doc storage setting) — interactive, you review before it advances | | plan | /skill:ff-plan | Breaks the design into an ff-implementer-ready task plan (.ff/task-plans/{slug}-task-plan.md) | | implement | /skill:ff-implement | Works through the task plan in an isolated worktree | | verify | /skill:ff-verify | Spawns the ff-feature-verifier subagent, then runs build / lint / tests | | review | /skill:ff-review | Dispatches parallel specialized reviewers (or a single generalist) over the code; loops per maxFeatureReviewRounds setting | | UAT | /ff:next | To transition to UAT phase in case no longer want to continue review-iterations, as UAT does not have skill to activate it via /skill: | | finish | /skill:ff-finish | Presents merge / PR / keep / discard options and cleans up |

The widget in the TUI status bar shows live progress — workflow phases, auto-agent state, and feature ID + name. Task progress is shown by the separate avtc-pi-todo widget.

widget

The implementation phase runs in one of three modes, set by the implementMode setting: current-session (the agent implements in the main session, checkpointed), subagent-driven (a fresh subagent implements each task), or subagent-driven-fork (a subagent forked from your session's context implements each task).

Design + plan review loops

The design and plan phases each self-review before advancing: the extension runs dedicated review passes (ff-design-review, ff-plan-review) and fixes the findings, repeating for the configured number of rounds. This catches gaps and inconsistencies before implementation begins, so the downstream phases start from a reviewed design and plan.

Kanban + Auto-Agents

The kanban board is optional. A single feature needs none of it — you run /skill:ff-design and the pipeline carries it to UAT. The kanban is for working on many features in parallel: you queue several designs, and auto-agents route them through the pipeline concurrently. An auto-designer runs design-reviews on queued designs (features land in the design-approval lane when ready), while each auto-worker takes one feature from the ready lane and drives it through task-plan, implementation, and code-review loops to UAT. Features live in lanes and move through them as work progresses.

kanban board

Status: worktree isolation is tested within a single repo; the auto-agent's switch to another feature when blocked by the user is not yet tested. Worktree mode targets one repo only — cross-repo changes (multiple repos, submodules, or sibling repos touched in one feature) are not supported. Single-session implementation remains the fully tested path.

| Command | What it does | |---------|--------------| | /ff:kanban | Open the kanban board in a browser (starts the HTTP server if needed) | | /ff:auto-agent | Start the autonomous loop — picks features from both design and ready lanes | | /ff:auto-worker | Autonomous loop, ready lane only | | /ff:auto-designer | Autonomous loop, design lane only | | /ff:auto-pause | Pause the auto-loop (keeps the current feature, heartbeat alive) | | /ff:auto-stop | Stop the auto-agent and resume interactive control (detaches the auto-agent, no re-dispatch) | | /ff:kanban-release | Release a feature lock so others can pick it up |

A queued backlog plus /ff:auto-agent lets the harness chew through features on its own, with verification and review gates still enforced.

Tools

| Tool | Description | |------|-------------| | phase_ready | Signal phase completion + trigger the next-phase handoff | | task_ready_advance | Start a task, advance to the next, or finish implementation (per-task gate dispatch) | | add_to_backlog | Add a new feature to the kanban backlog |

Commands

| Command | Description | |---------|------------| | /ff:next | Manual command to advance to next phase, expected to be used to advance from uat to finish, as other phases can be activated by invoking the skill related to phase | | /ff:reset | Turn-off the workflow | | /ff:resume | List active workflows and load the selected one into the current session | | /ff:settings | Open the settings UI | | /ff:archive-artifacts <days> | Archive old workflow artifacts (older than <days> days) out of your way; asks before moving anything | | /ff:archive-designs <days> | Archive old design docs (older than <days> days) from both .ff/designs and docs/ff/designs; asks before moving anything |

Skills

9 skills covering the pipeline phases, the design/plan review loops, and research:

  • Phase driversff-design, ff-plan, ff-implement, ff-verify, ff-review, ff-finish
  • Review-iteration driversff-design-review, ff-plan-review (single-iteration passes re-dispatched per the configured loop count)
  • Researchff-research (deep code analysis for investigation tasks)

Invoke any with /skill:<name>.

Named Subagents

14 specialized agent profiles dispatched automatically by the review and verify skills (you don't invoke them directly):

  • Reviewersff-general-reviewer, ff-design-reviewer, ff-plan-reviewer, ff-guidelines-reviewer, ff-quality-reviewer, ff-security-reviewer, ff-performance-reviewer, ff-requirements-reviewer, ff-testing-reviewer
  • Verifiersff-feature-verifier, ff-plan-verifier, ff-task-verifier
  • Utilitiesff-researcher, ff-implementer

Dispatched via avtc-pi-subagent.

Artifacts

  • Design docsdocs/ff/designs/ or .ff/designs/ per the designDocStorage setting.
  • Task plans, research, reviews — stored out-of-repo under a .ff/ junction (see below)

The .ff/ junction

Plans, research, and review artifacts are kept out of git (they're process artifacts, not source). Feature-flow creates a gitignored .ff/ link at project init that points to a stable, project-keyed external location (~/.pi/feature-flow/<project>/). All worktrees of the project share that one store, so artifacts survive worktree removal.

Configuration

The /ff:settings command opens a tabbed modal covering every setting — workflow behavior, review-loop counts, branch policy, feature review mode, inter-task compaction, model overrides, and more:

settings modal

settings dropdown

Workflow settings (workflow behavior, review-loop counts, branch policy, feature review mode, inter-task context compaction) live in avtc-pi-feature-flow-settings.json (~/.pi/agent/ global, <cwd>/.pi/ project overrides) and are edited via /ff:settings. Model routing per phase is configured separately in pi's shared ~/.pi/agent/settings.json under the "avtc-pi-feature-flow" key. See docs/CONFIGURATION.md for the full reference.

Full suite

Check out the full suite of related extensions, avtc-pi — deterministic feature development, subagent delegation, working-memory, behavioral learning, parallel-work guardrails, durable decisions, notifications, and more.

Developed with Z.ai — get 10% off your subscription via this referral link.

Attribution

Inspired by coctostan/pi-superpowers-plus and obra/superpowers (Jesse Vincent).

License

MIT